Flow-Based and Packet-Based Processing