NetBurner 3.5.0
PDF Version |
|
Callback functions to add custom Ethenet handlers and pass Ethernet frames in the bottom of the TCP/IP stack. More...
Typedefs | |
typedef int(* | netDoRXFunc) (PoolPtr, uint16_t, int) |
Typedef interface for all network rx processing functions. | |
Functions | |
netDoRXFunc | SetCustomNetDoRX (netDoRXFunc customFunc) |
Registers a new custom ethernet handler to run prior to the primary handler. | |
netDoRXFunc | ClearCustomNetDoRX () |
Clears the custom ethernet handler, resetting the handler to NULL. | |
int | NetDoRX (PoolPtr pp, uint16_t ocount, int if_num) |
Entry function for Ethernet frames into the system TCP/IP stack. | |
Callback functions to add custom Ethenet handlers and pass Ethernet frames in the bottom of the TCP/IP stack.
#include< netrx.h >
typedef int(* netDoRXFunc) (PoolPtr, uint16_t, int) |
#include <netrx.h>
Typedef interface for all network rx processing functions.
Parameter Types: PoolPtr The buffer structure containing the received network data uint16_t The total number of receive bytes of network data int The network interface number of the interface that the frame was received from
|
inline |
#include <netrx.h>
Clears the custom ethernet handler, resetting the handler to NULL.
int NetDoRX | ( | PoolPtr | pp, |
uint16_t | ocount, | ||
int | if_num ) |
#include <netrx.h>
Entry function for Ethernet frames into the system TCP/IP stack.
pp | PoolPtr to PoolBuffer containing the ethernet frame |
ocount | A count of the number of octets (bytes) of ethernet payload |
if_num | The interface number that the frame came in on. |
|
inline |
#include <netrx.h>
Registers a new custom ethernet handler to run prior to the primary handler.
customFunc | The netDoRXFunc to call when processing an ethernet frame |