Supports Ethernet protocol handlers, registered at runtime. More...
#include <sys/types.h>#include <sys/heap.h>#include <netinet/if_ether.h>#include <net/ether.h>#include <stdlib.h>#include <memdebug.h>Data Structures | |
| struct | _ETH_PROTOCOLS |
Typedefs | |
| typedef struct _ETH_PROTOCOLS | ETH_PROTOCOLS |
| Linked list of registered Ethernet protocols. | |
Functions | |
| int | NutRegisterEthHandler (uint16_t type, uint16_t mask, int(*hdlr)(NUTDEVICE *, NETBUF *)) |
| Register an additional Ethernet protocol handler. | |
Supports Ethernet protocol handlers, registered at runtime.
This module is added to the application code only if NutRegisterEthHandler() is called.
* $Id: ethdemux.c 3686 2011-12-04 14:20:38Z haraldkipp $ *