Home
last modified time | relevance | path

Searched refs:arp_op (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_aarp.c65 switch (ntohs(ap->arp_op)) { in interpret_aarp()
111 ntohs(ap->arp_op), in interpret_aarp()
112 aarp_opname[ntohs(ap->arp_op)]); in interpret_aarp()
124 (ntohs(ap->arp_op) == AARP_REQ || in interpret_aarp()
125 ntohs(ap->arp_op) == AARP_PROBE) ? "?" : in interpret_aarp()
129 ntohs(ap->arp_op) == REVARP_REQUEST ? "?" : in interpret_aarp()
/illumos-gate/usr/src/boot/lib/libstand/
H A Darp.c107 ah->arp_op = htons(ARPOP_REQUEST); in arpwhohas()
206 if (ah->arp_op == htons(ARPOP_REQUEST)) { in arprecv()
216 if (ah->arp_op != htons(ARPOP_REPLY)) { in arprecv()
266 if (arp->arp_op != htons(ARPOP_REQUEST)) { in arp_reply()
284 arp->arp_op = htons(ARPOP_REPLY); in arp_reply()
H A Drarp.c94 ap->arp_op = htons(ARPOP_REVREQUEST); in rarp_getipaddress()
191 if (ap->arp_op != htons(ARPOP_REVREPLY)) { in rarprecv()
194 printf("bad op=0x%x\n", ntohs(ap->arp_op)); in rarprecv()
/illumos-gate/usr/src/stand/lib/inet/
H A Dethernet.c121 if (out->arp_ea.arp_op == ARPOP_REQUEST) { in ether_comarp()
147 if (out->arp_ea.arp_op == ntohs(ARPOP_REQUEST)) { in ether_comarp()
151 if (in->arp_ea.arp_op != ntohs(ARPOP_REPLY)) in ether_comarp()
174 if (in->arp_ea.arp_op != ntohs(REVARP_REPLY)) in ether_comarp()
222 out.arp_ea.arp_op = htons(ARPOP_REQUEST); in ether_arp()
254 out.arp_ea.arp_op = htons(REVARP_REQUEST); in ether_revarp()
436 if (ea->arp_op == ntohs(ARPOP_REQUEST) && in ether_input()
440 ea->arp_op = htons(ARPOP_REPLY); in ether_input()
H A Dibd.c190 if (in->arp_ea.arp_op != ntohs(ARPOP_REPLY)) in ibd_comarp()
237 out.arp_ea.arp_op = htons(ARPOP_REQUEST); in ibd_arp()
434 if (ea->arp_op == ntohs(ARPOP_REQUEST) && in ibd_input()
438 ea->arp_op = htons(ARPOP_REPLY); in ibd_input()
/illumos-gate/usr/src/uts/common/netinet/
H A Darp.h42 #define arp_op ea_hdr.ar_op macro
H A Dif_ether.h54 #define arp_op ea_hdr.ar_op macro
/illumos-gate/usr/src/boot/include/netinet/
H A Dif_ether.h90 #define arp_op ea_hdr.ar_op macro
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_dlinet.c1736 ea->arp_op = htons(REVARP_REQUEST); in revarp_start()
1821 if ((ushort_t)ntohs(ea->arp_op) != REVARP_REPLY) { in revarpinput()
1825 (ushort_t)ntohs(ea->arp_op)); in revarpinput()