Mistake on this page?
Report an issue in GitHub or email us
Data Structures | Macros
lwip/prot/ethernet.h File Reference

Ethernet protocol definitions. More...

#include "lwip/arch.h"
#include "lwip/prot/ieee.h"

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...
 

Detailed Description

Ethernet protocol definitions.

Definition in file lwip/prot/ethernet.h.

Macro Definition Documentation

#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.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.