Searched refs:ETHER_ADDR_LEN (Results 1 – 13 of 13) sorted by relevance
/external/tcpdump/ |
D | ether.h | 41 #define ETHER_ADDR_LEN 6 macro 47 uint8_t ether_dhost[ETHER_ADDR_LEN]; 48 uint8_t ether_shost[ETHER_ADDR_LEN];
|
D | print-aoe.c | 294 ND_TCHECK2(*cp, ETHER_ADDR_LEN); in aoev1_mac_print() 296 cp += ETHER_ADDR_LEN; in aoev1_mac_print() 315 if (len < AOEV1_RESERVE_ARG_LEN || (len - AOEV1_RESERVE_ARG_LEN) % ETHER_ADDR_LEN) in aoev1_reserve_print() 326 if (AOEV1_RESERVE_ARG_LEN + nmacs * ETHER_ADDR_LEN != len) in aoev1_reserve_print() 331 cp += ETHER_ADDR_LEN; in aoev1_reserve_print()
|
D | print-lane.c | 36 uint8_t h_dest[ETHER_ADDR_LEN]; 37 uint8_t h_source[ETHER_ADDR_LEN];
|
D | print-loopback.c | 87 ND_TCHECK2(*cp, ETHER_ADDR_LEN); in loopback_message_print() 89 cp += ETHER_ADDR_LEN; in loopback_message_print()
|
D | print-openflow-1.0.c | 1156 ND_TCHECK2(*cp, ETHER_ADDR_LEN); in of10_phy_ports_print() 1158 cp += ETHER_ADDR_LEN; in of10_phy_ports_print() 1362 ND_TCHECK2(*cp, ETHER_ADDR_LEN); in of10_match_print() 1365 cp += ETHER_ADDR_LEN; in of10_match_print() 1367 ND_TCHECK2(*cp, ETHER_ADDR_LEN); in of10_match_print() 1370 cp += ETHER_ADDR_LEN; in of10_match_print() 1540 ND_TCHECK2(*cp, ETHER_ADDR_LEN); in of10_actions_print() 1542 cp += ETHER_ADDR_LEN; in of10_actions_print() 1716 ND_TCHECK2(*cp, ETHER_ADDR_LEN); in of10_port_mod_print() 1718 cp += ETHER_ADDR_LEN; in of10_port_mod_print()
|
D | print-cfm.c | 125 uint8_t original_mac[ETHER_ADDR_LEN]; 126 uint8_t target_mac[ETHER_ADDR_LEN];
|
D | print-slow.c | 209 uint8_t sys[ETHER_ADDR_LEN]; 236 uint8_t req_sys[ETHER_ADDR_LEN];
|
D | addrtoname.c | 68 #ifndef ETHER_ADDR_LEN 69 #define ETHER_ADDR_LEN 6 macro 554 if (type == LINKADDR_ETHER && len == ETHER_ADDR_LEN) in linkaddr_string()
|
D | print-isoclns.c | 49 #define SYSTEM_ID_LEN ETHER_ADDR_LEN 2475 while (tmp >= ETHER_ADDR_LEN) { in isis_print() 2476 if (!ND_TTEST2(*tptr, ETHER_ADDR_LEN)) in isis_print() 2478 ND_PRINT((ndo, "\n\t SNPA: %s", isis_print_id(tptr, ETHER_ADDR_LEN))); in isis_print() 2479 tmp -= ETHER_ADDR_LEN; in isis_print() 2480 tptr += ETHER_ADDR_LEN; in isis_print()
|
/external/dnsmasq/src/ |
D | bpf.c | 176 if (mess->htype != ARPHRD_ETHER || mess->hlen != ETHER_ADDR_LEN) in send_via_bpf() 187 memcpy(ether.ether_shost, LLADDR((struct sockaddr_dl *)&ifr->ifr_addr), ETHER_ADDR_LEN); in send_via_bpf() 192 memset(ether.ether_dhost, 255, ETHER_ADDR_LEN); in send_via_bpf() 197 memcpy(ether.ether_dhost, mess->chaddr, ETHER_ADDR_LEN); in send_via_bpf()
|
D | dhcp.c | 319 …else if ((ntohs(mess->flags) & 0x8000) || mess->hlen != ETHER_ADDR_LEN || mess->htype != ARPHRD_ET… in dhcp_packet() 725 unsigned char hwaddr[ETHER_ADDR_LEN]; in dhcp_read_ethers() 770 if (!*ip || parse_hex(buff, hwaddr, ETHER_ADDR_LEN, NULL, NULL) != ETHER_ADDR_LEN) in dhcp_read_ethers() 827 conf_addr->hwaddr_len == ETHER_ADDR_LEN && in dhcp_read_ethers() 829 memcmp(conf_addr->hwaddr, hwaddr, ETHER_ADDR_LEN) == 0) in dhcp_read_ethers() 861 memcpy(config->hwaddr->hwaddr, hwaddr, ETHER_ADDR_LEN); in dhcp_read_ethers() 862 config->hwaddr->hwaddr_len = ETHER_ADDR_LEN; in dhcp_read_ethers()
|
D | config.h | 266 #define ETHER_ADDR_LEN 6 macro
|
/external/dhcpcd-6.8.2/ |
D | if-bsd.c | 388 memcpy(&hw.ether_dhost, dest_hw_addr, ETHER_ADDR_LEN); in if_sendrawpacket() 390 memset(&hw.ether_dhost, 0xff, ETHER_ADDR_LEN); in if_sendrawpacket()
|