19 #ifdef ALLOW_CUSTOM_NET_DO_RX 37 typedef int (*netDoRXFunc)(PoolPtr, uint16_t, int);
39 extern netDoRXFunc CustomNetDoRX;
50 inline netDoRXFunc SetCustomNetDoRX(netDoRXFunc customFunc)
52 netDoRXFunc ret = CustomNetDoRX;
53 CustomNetDoRX = customFunc;
63 inline netDoRXFunc ClearCustomNetDoRX()
65 return SetCustomNetDoRX(
NULL);
81 int NetDoRX(PoolPtr pp, uint16_t ocount,
int if_num);
#define NULL
Definition: nm_bsp.h:76