Reader interface for message processing in NHDP. More...
Reader interface for message processing in NHDP.
Definition in file nhdp_reader.h.
|Set up the NHDP reader. More...|
|Clean up the NHDP reader. |
|int||nhdp_reader_handle_packet (kernel_pid_t rcvg_if_pid, void *buffer, size_t length)|
|Handle a packet received from a registered interface. More...|
Handle a packet received from a registered interface.
|[in]||rcvg_if_pid||PID of the interface the packet was received on|
|[in]||buffer||Pointer to start of packet data|
|[in]||length||Length in bytes of the packet data|
Set up the NHDP reader.
Initializes the reader and registers HELLO messages as a message type consumed by this reader.