mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-19 14:46:58 +08:00
Work on bug #48824: ethernet.c extensions: Implement hook for unknown ethernet protocols
This commit is contained in:
@@ -2529,6 +2529,15 @@
|
||||
#ifdef __DOXYGEN__
|
||||
#define LWIP_HOOK_MEMP_AVAILABLE(memp_t_type)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* LWIP_HOOK_UNKNOWN_ETH_PROTOCOL(pbuf, netif):
|
||||
* Called from ethernet_input() when an unknown eth type is encountered.
|
||||
* Return ERR_OK if packet is accepted, any error code otherwise.
|
||||
*/
|
||||
#ifdef __DOXYGEN__
|
||||
#define LWIP_HOOK_UNKNOWN_ETH_PROTOCOL(pbuf, netif)
|
||||
#endif
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user