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>
Go to the source code of this file.
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 2463 2009-02-13 14:52:05Z haraldkipp $ *
Definition in file ethdemux.c.