Lines Matching refs:rhp
70 register const union routehdr *rhp; in decnet_print() local
93 rhp = (const union routehdr *)&(ap[sizeof(short)]); in decnet_print()
94 TCHECK(rhp->rh_short.sh_flags); in decnet_print()
95 mflags = EXTRACT_LE_8BITS(rhp->rh_short.sh_flags); in decnet_print()
110 rhp = (const union routehdr *)&(ap[sizeof(short)]); in decnet_print()
111 mflags = EXTRACT_LE_8BITS(rhp->rh_short.sh_flags); in decnet_print()
122 if (!print_decnet_ctlmsg(rhp, length, caplen)) in decnet_print()
133 TCHECK(rhp->rh_long); in decnet_print()
135 EXTRACT_LE_16BITS(rhp->rh_long.lg_dst.dne_remote.dne_nodeaddr); in decnet_print()
137 EXTRACT_LE_16BITS(rhp->rh_long.lg_src.dne_remote.dne_nodeaddr); in decnet_print()
138 hops = EXTRACT_LE_8BITS(rhp->rh_long.lg_visits); in decnet_print()
143 TCHECK(rhp->rh_short); in decnet_print()
144 dst = EXTRACT_LE_16BITS(rhp->rh_short.sh_dst); in decnet_print()
145 src = EXTRACT_LE_16BITS(rhp->rh_short.sh_src); in decnet_print()
146 hops = (EXTRACT_LE_8BITS(rhp->rh_short.sh_visits) & VIS_MASK)+1; in decnet_print()
178 print_decnet_ctlmsg(register const union routehdr *rhp, u_int length, in print_decnet_ctlmsg() argument
181 int mflags = EXTRACT_LE_8BITS(rhp->rh_short.sh_flags); in print_decnet_ctlmsg()
182 register union controlmsg *cmp = (union controlmsg *)rhp; in print_decnet_ctlmsg()
186 char *rhpx = (char *)rhp; in print_decnet_ctlmsg()
301 default_print((u_char *)rhp, min(length, caplen)); in print_decnet_ctlmsg()