Protocol Kernel Services

Protocol kernel services provide a means of finding a particular address family as well as a raw protocol handler. The raw protocol handler basically passes raw packets up through sockets so that a protocol can be implemented in user space.

The Protocol kernel services are:

Item Description
pfctlinput Starts the ctlinput function for each configured protocol.
pffindproto Returns the address of a protocol switch table entry.
raw_input Builds a raw_header structure for a packet and sends both to the raw protocol handler.
raw_usrreq Implements user requests for raw protocols.