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