1. A network switch for network communications, the network switch comprises: a first data bus, the first data bus supporting receiving first data; a second data bus, the second data bus supporting transmitting second data; a data flow analyzer, the data flow analyzer coupled between the first data bus and the second data bus and including at least: a first table configured to detect selectable data packet fields within a data flow; a second table including a programmable state machine, the second table coupled to an output of the first table and configured to retain selectable states of one or more instances of the detected selectable data packet fields; programmable switch logic configured to output one or more potential actions to be taken based on a selectable computation of the detected selectable data packet fields; a third table coupled to the programmable switch logic and including encoding for a current state of the selectable states and next state transitions; and wherein the data flow analyzer communicates with the first data bus to receive and analyze the selectable data packet fields, compute a programmable state and potential actions, and communicate the one or more potential actions to the second data bus.