lwIP 2.0.0
lwIP 2.0.0
LightweightIPstack
|
Data Structures | |
struct | eth_hdr |
Macros | |
#define | LL_IP4_MULTICAST_ADDR_0 0x01 |
#define | LL_IP6_MULTICAST_ADDR_0 0x33 |
#define | ETHADDR32_COPY(dst, src) SMEMCPY(dst, src, ETH_HWADDR_LEN) |
#define | ETHADDR16_COPY(dst, src) SMEMCPY(dst, src, ETH_HWADDR_LEN) |
#define | LWIP_ARP_FILTER_NETIF 0 |
Functions | |
err_t | ethernet_input (struct pbuf *p, struct netif *netif) |
Ethernet input function - handles INCOMING ethernet level traffic To be used in most low-level netif implementations
#define ETHADDR16_COPY | ( | dst, | |
src | |||
) | SMEMCPY(dst, src, ETH_HWADDR_LEN) |
MEMCPY-like macro to copy to/from struct eth_addr's that are no local variables and known to be 16-bit aligned within the protocol header.
#define ETHADDR32_COPY | ( | dst, | |
src | |||
) | SMEMCPY(dst, src, ETH_HWADDR_LEN) |
MEMCPY-like macro to copy to/from struct eth_addr's that are local variables or known to be 32-bit aligned within the protocol header.
#define LL_IP4_MULTICAST_ADDR_0 0x01 |
The 24-bit IANA IPv4-multicast OUI is 01-00-5e:
#define LL_IP6_MULTICAST_ADDR_0 0x33 |
IPv6 multicast uses this prefix
#define LWIP_ARP_FILTER_NETIF 0 |
Define this to 1 and define LWIP_ARP_FILTER_NETIF_FN(pbuf, netif, type) to a filter function that returns the correct netif when using multiple netifs on one hardware interface where the netif's low-level receive routine cannot decide for the correct netif (e.g. when mapping multiple IP addresses to one hardware interface).