Ethernet protocol definitions. More...
Go to the source code of this file.
Data Structures | |
struct | eth_addr |
An Ethernet MAC address. More... | |
struct | eth_hdr |
Ethernet header. More... | |
struct | eth_vlan_hdr |
VLAN header inserted between ethernet header and payload if 'type' in ethernet header is ETHTYPE_VLAN. More... | |
Macros | |
#define | ETH_ADDR(b0, b1, b2, b3, b4, b5) {{b0, b1, b2, b3, b4, b5}} |
Initialize a struct eth_addr with its 6 bytes (takes care of correct braces) More... | |
#define | LL_IP4_MULTICAST_ADDR_0 0x01 |
The 24-bit IANA IPv4-multicast OUI is 01-00-5e: More... | |
#define | LL_IP6_MULTICAST_ADDR_0 0x33 |
IPv6 multicast uses this prefix. More... | |
Ethernet protocol definitions.
Definition in file lwip/prot/ethernet.h.
#define ETH_ADDR | ( | b0, | |
b1, | |||
b2, | |||
b3, | |||
b4, | |||
b5 | |||
) | {{b0, b1, b2, b3, b4, b5}} |
Initialize a struct eth_addr with its 6 bytes (takes care of correct braces)
Definition at line 69 of file lwip/prot/ethernet.h.
#define LL_IP4_MULTICAST_ADDR_0 0x01 |
The 24-bit IANA IPv4-multicast OUI is 01-00-5e:
Definition at line 111 of file lwip/prot/ethernet.h.
#define LL_IP6_MULTICAST_ADDR_0 0x33 |
IPv6 multicast uses this prefix.
Definition at line 116 of file lwip/prot/ethernet.h.