Searched refs:arp_op (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_aarp.c65 switch (ntohs(ap->arp_op)) {
111 ntohs(ap->arp_op),
112 aarp_opname[ntohs(ap->arp_op)]);
124 (ntohs(ap->arp_op) == AARP_REQ ||
125 ntohs(ap->arp_op) == AARP_PROBE) ? "?" :
129 ntohs(ap->arp_op) == REVARP_REQUEST ? "?" :
/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/lib/libstand/
H A Darp.c116 ah->arp_op = htons(ARPOP_REQUEST);
217 if (ah->arp_op == htons(ARPOP_REQUEST)) {
226 if (ah->arp_op != htons(ARPOP_REPLY)) {
277 if (arp->arp_op != htons(ARPOP_REQUEST)) {
295 arp->arp_op = htons(ARPOP_REPLY);
H A Drarp.c102 ap->arp_op = htons(ARPOP_REVREQUEST);
202 if (ap->arp_op != htons(ARPOP_REVREPLY)) {
205 printf("bad op=0x%x\n", ntohs(ap->arp_op));
/illumos-gate/usr/src/lib/libbc/inc/include/netinet/
H A Dif_ether.h74 #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/stand/lib/inet/
H A Dethernet.c121 if (out->arp_ea.arp_op == ARPOP_REQUEST) {
147 if (out->arp_ea.arp_op == ntohs(ARPOP_REQUEST)) {
151 if (in->arp_ea.arp_op != ntohs(ARPOP_REPLY))
174 if (in->arp_ea.arp_op != ntohs(REVARP_REPLY))
222 out.arp_ea.arp_op = htons(ARPOP_REQUEST);
254 out.arp_ea.arp_op = htons(REVARP_REQUEST);
436 if (ea->arp_op == ntohs(ARPOP_REQUEST) &&
440 ea->arp_op = htons(ARPOP_REPLY);
H A Dibd.c161 * we know that out->arp_ea.arp_op == ARPOP_REQUEST.
185 * we know that out->arp_ea.arp_op == ARPOP_REQUEST.
190 if (in->arp_ea.arp_op != ntohs(ARPOP_REPLY))
237 out.arp_ea.arp_op = htons(ARPOP_REQUEST);
434 if (ea->arp_op == ntohs(ARPOP_REQUEST) &&
438 ea->arp_op = htons(ARPOP_REPLY);
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_dlinet.c1673 ea->arp_op = htons(REVARP_REQUEST);
1758 if ((ushort_t)ntohs(ea->arp_op) != REVARP_REPLY) {
1762 (ushort_t)ntohs(ea->arp_op));

Completed in 69 milliseconds