Builds a raw_header structure for a packet and sends both to the raw protocol handler.
Item | Description |
---|---|
m0 | Specifies the address of an mbuf structure containing input data. |
proto | Specifies the protocol definition of data. |
src | Identifies the sockaddr structure indicating where data is from. |
dst | Identifies the sockaddr structure indicating the destination of the data. |
The raw_input kernel service accepts an input packet, builds a raw_header structure (as defined in the /usr/include/net/raw_cb.h file), and passes both on to the raw protocol input handler.
The raw_input kernel service can be called from either the process or interrupt environment.
The raw_input service has no return values.