| CPC H04L 45/56 (2013.01) [H04L 49/90 (2013.01); H04L 69/22 (2013.01)] | 17 Claims |

|
1. A network device, comprising:
a network interface to receive first packets from a network and send second packets over the network;
a processing unit to execute software handlers;
an input-output buffer to store data used by the processing unit; and
packet processing hardware to:
parse a header of a packet and maintain metadata of the packet;
determine an action to be performed for the packet including calling a given software handler;
transfer at least one region of the metadata to the input-output buffer based on a handler configuration of the given software handler; and
call the given software handler to perform processing associated with the packet, wherein the processing unit is to execute the given software handler, which is to perform processing based on the transferred at least one region of the metadata.
|