Searched defs:arh (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/modules/arp/
H A Darp.c60 print_arp(char field_id, const uchar_t *buf, const arh_t *arh, uint16_t ptype) argument
65 if (arh->arh_hlen == 0)
68 mdb_mac_addr(buf, arh->arh_hlen, macstr, sizeof (macstr));
70 if (arh->arh_plen == 0) {
74 } else if (arh->arh_plen == sizeof (in_addr_t)) {
75 (void) memcpy(&inaddr, buf + arh->arh_hlen, sizeof (inaddr));
90 arh_t arh; member in struct:__anon908
102 if (mdb_vread(&arp.arh, sizeof (arp.arh), addr) == -1) {
106 mdb_nhconvert(&htype, arp.arh
[all...]
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dinput.c134 Elf_Arhdr *arh; local
140 if ((arh = elf_getarhdr(melf)) == NULL) {
146 if (*arh->ar_name != '/') {
148 strlen(arh->ar_name) + 1 + 1;
151 snprintf(memname, memlen, "%s(%s)", file, arh->ar_name);
254 Elf_Arhdr *arh; local
258 if ((arh = elf_getarhdr(melf)) == NULL) {
264 if (*arh->ar_name != '/')
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvsw_phys.c1202 struct arphdr *arh; local
1220 arh = (struct arphdr *)(mp->b_rptr + sizeof (struct ether_header));
1221 cp = (uint8_t *)arh;
1223 arh->ar_hrd = htons(ARPHRD_ETHER); /* Hardware type: ethernet */
1224 arh->ar_pro = htons(ETHERTYPE_IP); /* Protocol type: IP */
1225 arh->ar_hln = ETHERADDRL; /* Length of hardware address: 6 */
1226 arh->ar_pln = plen; /* Length of protocol address: 4 */
1227 arh->ar_op = htons(REVARP_REQUEST); /* Opcode: REVARP Request */
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_arp.c815 arh_t *arh; local
875 arh = (arh_t *)mp1->b_rptr;
876 hlen = arh->arh_hlen;
877 plen = arh->arh_plen;
898 DTRACE_PROBE3(arp__physical__in__start, ill_t *, ill, arh_t *, arh,
906 ill->ill_phyint->phyint_ifindex, arh, mp, mp1, ipst);
910 arhp = (uchar_t *)arh + ARH_FIXED_LEN;
920 op = BE16_TO_U16(arh->arh_operation);
974 arh);
1031 arh_t *, arh, ncec_
1447 arh_t *arh = (arh_t *)mp->b_rptr; local
1552 arh_t *arh; local
2013 arh_t *arh; local
[all...]
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_protect.c1962 arh_t *arh = (arh_t *)start; local
1971 hlen = arh->arh_hlen;
1972 plen = arh->arh_plen;

Completed in 87 milliseconds