Home
last modified time | relevance | path

Searched refs:ETH_ALEN (Results 1 – 6 of 6) sorted by relevance

/busybox-1.35.0/networking/
Dzcip.c150 memcpy(p.eth.ether_shost, source_eth, ETH_ALEN); in send_arp_request()
151 memset(p.eth.ether_dhost, 0xff, ETH_ALEN); in send_arp_request()
156 p.arp.arp_hln = ETH_ALEN; in send_arp_request()
159 memcpy(&p.arp.arp_sha, source_eth, ETH_ALEN); in send_arp_request()
161 memcpy(&p.arp.arp_tha, target_eth, ETH_ALEN); in send_arp_request()
319 memcpy(&G.our_ethaddr, &ifr.ifr_hwaddr.sa_data, ETH_ALEN); in zcip_main()
496 if (memcmp(&p.arp.arp_sha, &G.our_ethaddr, ETH_ALEN) != 0) { in zcip_main()
Dnameif.c88 #define ETH_ALEN 6 macro
177 lmac = xmalloc(ETH_ALEN); in nameif_parse_selector()
294 if (ch->mac && memcmp(ch->mac, ifr.ifr_hwaddr.sa_data, ETH_ALEN) != 0) in nameif_main()
Dether-wake.c281 whereto.sll_halen = ETH_ALEN; in ether_wake_main()
282 memcpy(whereto.sll_addr, outpack, ETH_ALEN); in ether_wake_main()
Difplugd.c70 #ifndef ETH_ALEN
71 # define ETH_ALEN 6 macro
271 uint8_t mac[ETH_ALEN]; in detect_link_wlan()
280 memcpy(mac, &iwrequest.u.ap_addr.sa_data, ETH_ALEN); in detect_link_wlan()
283 for (i = 1; i < ETH_ALEN; ++i) { in detect_link_wlan()
Dinterface.c702 .alen = ETH_ALEN,
/busybox-1.35.0/libbb/
Din_ether.c26 i = ETH_ALEN; in in_ether()