Home
last modified time | relevance | path

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

/busybox-1.35.0/networking/udhcp/
Darpping.c49 struct arpMsg arp; in arpping() local
67 memset(&arp, 0, sizeof(arp)); in arpping()
68 memset(arp.h_dest, 0xff, 6); /* MAC DA */ in arpping()
69 memcpy(arp.h_source, from_mac, 6); /* MAC SA */ in arpping()
70 arp.h_proto = htons(ETH_P_ARP); /* protocol type (Ethernet) */ in arpping()
71 arp.htype = htons(ARPHRD_ETHER); /* hardware type */ in arpping()
72 arp.ptype = htons(ETH_P_IP); /* protocol type (ARP message) */ in arpping()
73 arp.hlen = 6; /* hardware address length */ in arpping()
74 arp.plen = 4; /* protocol address length */ in arpping()
75 arp.operation = htons(ARPOP_REQUEST); /* ARP op code */ in arpping()
[all …]
/busybox-1.35.0/networking/
Dzcip.c70 struct ether_arp arp; member
154 p.arp.arp_hrd = htons(ARPHRD_ETHER); in send_arp_request()
155 p.arp.arp_pro = htons(ETHERTYPE_IP); in send_arp_request()
156 p.arp.arp_hln = ETH_ALEN; in send_arp_request()
157 p.arp.arp_pln = 4; in send_arp_request()
158 p.arp.arp_op = htons(op); in send_arp_request()
159 memcpy(&p.arp.arp_sha, source_eth, ETH_ALEN); in send_arp_request()
160 memcpy(&p.arp.arp_spa, &source_nip, 4); in send_arp_request()
161 memcpy(&p.arp.arp_tha, target_eth, ETH_ALEN); in send_arp_request()
162 memcpy(&p.arp.arp_tpa, &target_nip, 4); in send_arp_request()
[all …]
/busybox-1.35.0/networking/libiproute/
Dll_proto.c27 __PF(ARP,arp)
95 __PF(ARP,arp)
/busybox-1.35.0/
DNOFORK_NOEXEC.lst60 arp - talks to network: arp -n queries DNS