Finite-State Transition Models For Path Planning, Packet Screening And Control Of Networked Industrial Control Systems