Lines Matching refs:packet
51 @discussion protocol_input_handler is called to input a packet. If
54 @pararm protocol The protocol this packet is intended for.
55 @param packet The packet that should be input.
57 typedef void (*proto_input_handler)(protocol_family_t protocol, mbuf_t packet);
72 packet for a protocol is received.
75 @param input The function called when a packet is input.
76 @param chains Input function supports packet chains.
93 @param input The function called when a packet is input.
94 @param inject The function to called when a packet is injected (not
103 @discussion Inputs a packet on the specified protocol from the input
105 @param protocol The protocol of the packet.
106 @param packet The first packet in a chain of packets to be input.
110 extern errno_t proto_input(protocol_family_t protocol, mbuf_t packet);
114 @discussion Injects a packet on the specified protocol from
116 packet to be handled later.
117 @param protocol The protocol of the packet.
118 @param packet The first packet in a chain of packets to be injected.
122 extern errno_t proto_inject(protocol_family_t protocol, mbuf_t packet);