Home
last modified time | relevance | path

Searched refs:ETH_HWADDR_LEN (Results 1 – 8 of 8) sorted by relevance

/third_party/lwip/src/include/lwip/prot/
Dethernet.h47 #ifndef ETH_HWADDR_LEN
49 #define ETH_HWADDR_LEN ETHARP_HWADDR_LEN /* compatibility mode */ macro
51 #define ETH_HWADDR_LEN 6
61 PACK_STRUCT_FLD_8(u8_t addr[ETH_HWADDR_LEN]);
119 #define eth_addr_cmp(addr1, addr2) (memcmp((addr1)->addr, (addr2)->addr, ETH_HWADDR_LEN) == 0)
Detharp.h48 #define ETHARP_HWADDR_LEN ETH_HWADDR_LEN
/third_party/lwip/doc/
DNO_SYS_SampleCode.c59 SMEMCPY(netif->hwaddr, your_mac_address_goes_here, ETH_HWADDR_LEN); in netif_init()
60 netif->hwaddr_len = ETH_HWADDR_LEN; in netif_init()
/third_party/lwip/src/netif/
Dethernet.c303 SMEMCPY(&ethhdr->dest, dst, ETH_HWADDR_LEN);
304 SMEMCPY(&ethhdr->src, src, ETH_HWADDR_LEN);
307 (netif->hwaddr_len == ETH_HWADDR_LEN));
Dbridgeif.c491 netif->hwaddr_len = ETH_HWADDR_LEN; in bridgeif_init()
494 memcpy(netif->hwaddr, &br->ethaddr, ETH_HWADDR_LEN); in bridgeif_init()
/third_party/lwip/src/core/ipv4/
Detharp.c425 LWIP_ASSERT("netif->hwaddr_len == ETH_HWADDR_LEN", netif->hwaddr_len == ETH_HWADDR_LEN);
465 SMEMCPY(&arp_table[i].ethaddr, ethaddr, ETH_HWADDR_LEN);
656 (hdr->hwlen != ETH_HWADDR_LEN) ||
1138 (netif->hwaddr_len == ETH_HWADDR_LEN));
1141 SMEMCPY(&hdr->shwaddr, hwsrc_addr, ETH_HWADDR_LEN);
1142 SMEMCPY(&hdr->dhwaddr, hwdst_addr, ETH_HWADDR_LEN);
1151 hdr->hwlen = ETH_HWADDR_LEN;
Dautoip.c466 SMEMCPY(netifaddr.addr, netif->hwaddr, ETH_HWADDR_LEN); in autoip_arp_reply()
/third_party/lwip/test/unit/ip6/
Dtest_ip6.c36 netif->hwaddr_len = ETH_HWADDR_LEN; in default_netif_init()