Lines Matching refs:packet
52 @discussion protocol_input_handler is called to input a packet. If
55 @pararm protocol The protocol this packet is intended for.
56 @param packet The packet that should be input.
58 typedef void (*proto_input_handler)(protocol_family_t protocol, mbuf_t packet);
73 packet for a protocol is received.
76 @param input The function called when a packet is input.
77 @param chains Input function supports packet chains.
94 @param input The function called when a packet is input.
95 @param inject The function to called when a packet is injected (not
104 @discussion Inputs a packet on the specified protocol from the input
106 @param protocol The protocol of the packet.
107 @param packet The first packet in a chain of packets to be input.
111 extern errno_t proto_input(protocol_family_t protocol, mbuf_t packet);
115 @discussion Injects a packet on the specified protocol from
117 packet to be handled later.
118 @param protocol The protocol of the packet.
119 @param packet The first packet in a chain of packets to be injected.
123 extern errno_t proto_inject(protocol_family_t protocol, mbuf_t packet);