eth_hdr is only used within LwIP.
 
Symbols
loading...
Files
loading...

eth_hdr struct

Ethernet header

Syntax

struct eth_hdr { #if ETH_PAD_SIZE   PACK_STRUCT_FLD_8(u8_t padding[ETH_PAD_SIZE]); #endif   PACK_STRUCT_FLD_S(struct eth_addr dest);   PACK_STRUCT_FLD_S(struct eth_addr src);   PACK_STRUCT_FIELD(u16_t type); };

Fields

dest

No summary provided. Read more...

src

No summary provided. Read more...

type

No summary provided. Read more...

References

LocationReferrerScopeText
ethernet.h:76
struct eth_hdr {
ethernet.c:83ethernet_input()
struct eth_hdr *ethhdr;
ethernet.c:104ethernet_input()
ethhdr = (struct eth_hdr *)p->payload;
ethernet.c:273ethernet_output()
struct eth_hdr *ethhdr;
ethernet.c:301ethernet_output()
ethhdr = (struct eth_hdr *)p->payload;

Type Use

Variables of eth_hdr type
ethernet_input()::ethhdr
ethernet_output()::ethhdr
all items filtered out
eth_hdr