Nut/OS  4.10.3
API Reference
ethdemux.c File Reference

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>
Include dependency graph for ethdemux.c:

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.

Detailed Description

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.