Lines Matching refs:rhp
504 register const union routehdr *rhp; in decnet_print() local
527 rhp = (const union routehdr *)&(ap[sizeof(short)]); in decnet_print()
528 ND_TCHECK(rhp->rh_short.sh_flags); in decnet_print()
529 mflags = EXTRACT_LE_8BITS(rhp->rh_short.sh_flags); in decnet_print()
544 rhp = (const union routehdr *)&(ap[sizeof(short)]); in decnet_print()
545 ND_TCHECK(rhp->rh_short.sh_flags); in decnet_print()
546 mflags = EXTRACT_LE_8BITS(rhp->rh_short.sh_flags); in decnet_print()
557 if (!print_decnet_ctlmsg(ndo, rhp, length, caplen)) in decnet_print()
568 ND_TCHECK(rhp->rh_long); in decnet_print()
570 EXTRACT_LE_16BITS(rhp->rh_long.lg_dst.dne_remote.dne_nodeaddr); in decnet_print()
572 EXTRACT_LE_16BITS(rhp->rh_long.lg_src.dne_remote.dne_nodeaddr); in decnet_print()
573 hops = EXTRACT_LE_8BITS(rhp->rh_long.lg_visits); in decnet_print()
578 ND_TCHECK(rhp->rh_short); in decnet_print()
579 dst = EXTRACT_LE_16BITS(rhp->rh_short.sh_dst); in decnet_print()
580 src = EXTRACT_LE_16BITS(rhp->rh_short.sh_src); in decnet_print()
581 hops = (EXTRACT_LE_8BITS(rhp->rh_short.sh_visits) & VIS_MASK)+1; in decnet_print()
614 register const union routehdr *rhp, u_int length, in print_decnet_ctlmsg() argument
618 int mflags = EXTRACT_LE_8BITS(rhp->rh_short.sh_flags); in print_decnet_ctlmsg()
619 register const union controlmsg *cmp = (const union controlmsg *)rhp; in print_decnet_ctlmsg()
623 const char *rhpx = (const char *)rhp; in print_decnet_ctlmsg()
738 ND_DEFAULTPRINT((const u_char *)rhp, min(length, caplen)); in print_decnet_ctlmsg()