Home
last modified time | relevance | path

Searched refs:eth_addr (Results 1 – 4 of 4) sorted by relevance

/external/tcpdump/win32/src/
Dether_ntohost.c41 ether_address eth_addr; /* MAC address */ member
178 memcpy(&e->eth_addr, &eth, ETHER_ADDR_LEN); in init_ethers()
213 if (!memcmp(&e->octet, &cache->eth_addr, ETHER_ADDR_LEN)) { in ether_ntohost()
/external/libpcap/
Dpcap-dpdk.c193 ETHER_ADDR_TYPE eth_addr; member
849 rte_eth_macaddr_get(portid, &(pd->eth_addr)); in pcap_dpdk_activate()
850 eth_addr_str(&(pd->eth_addr), pd->mac_addr, DPDK_MAC_ADDR_SIZE-1); in pcap_dpdk_activate()
989 ETHER_ADDR_TYPE eth_addr; in pcap_dpdk_findalldevs() local
1023 rte_eth_macaddr_get(i, &eth_addr); in pcap_dpdk_findalldevs()
1024 eth_addr_str(&eth_addr,mac_addr,DPDK_MAC_ADDR_SIZE); in pcap_dpdk_findalldevs()
/external/ppp/pppd/
Dsys-solaris.c473 struct ether_addr *eth_addr = (struct ether_addr *)&s_eth_addr.sa_data; in get_if_hwaddr() local
486 memcpy(addr, eth_addr->ether_addr_octet, 6); in get_if_hwaddr()
537 struct ether_addr *eth_addr = (struct ether_addr *)&s_eth_addr.sa_data; in ether_to_eui64() local
556 p_eui64->e8[0] = (eth_addr->ether_addr_octet[0] & 0xFF) | 0x02; in ether_to_eui64()
557 p_eui64->e8[1] = (eth_addr->ether_addr_octet[1] & 0xFF); in ether_to_eui64()
558 p_eui64->e8[2] = (eth_addr->ether_addr_octet[2] & 0xFF); in ether_to_eui64()
561 p_eui64->e8[5] = (eth_addr->ether_addr_octet[3] & 0xFF); in ether_to_eui64()
562 p_eui64->e8[6] = (eth_addr->ether_addr_octet[4] & 0xFF); in ether_to_eui64()
563 p_eui64->e8[7] = (eth_addr->ether_addr_octet[5] & 0xFF); in ether_to_eui64()
/external/bcc/tests/python/
Dtest_brb.c20 typedef struct eth_addr { struct