Lines Matching refs:rhp
507 register const union routehdr *rhp; in decnet_print() local
530 rhp = (const union routehdr *)&(ap[sizeof(short)]); in decnet_print()
531 ND_TCHECK(rhp->rh_short.sh_flags); in decnet_print()
532 mflags = EXTRACT_LE_8BITS(rhp->rh_short.sh_flags); in decnet_print()
547 rhp = (const union routehdr *)&(ap[sizeof(short)]); in decnet_print()
548 mflags = EXTRACT_LE_8BITS(rhp->rh_short.sh_flags); in decnet_print()
559 if (!print_decnet_ctlmsg(ndo, rhp, length, caplen)) in decnet_print()
570 ND_TCHECK(rhp->rh_long); in decnet_print()
572 EXTRACT_LE_16BITS(rhp->rh_long.lg_dst.dne_remote.dne_nodeaddr); in decnet_print()
574 EXTRACT_LE_16BITS(rhp->rh_long.lg_src.dne_remote.dne_nodeaddr); in decnet_print()
575 hops = EXTRACT_LE_8BITS(rhp->rh_long.lg_visits); in decnet_print()
580 ND_TCHECK(rhp->rh_short); in decnet_print()
581 dst = EXTRACT_LE_16BITS(rhp->rh_short.sh_dst); in decnet_print()
582 src = EXTRACT_LE_16BITS(rhp->rh_short.sh_src); in decnet_print()
583 hops = (EXTRACT_LE_8BITS(rhp->rh_short.sh_visits) & VIS_MASK)+1; in decnet_print()
616 register const union routehdr *rhp, u_int length, in print_decnet_ctlmsg() argument
619 int mflags = EXTRACT_LE_8BITS(rhp->rh_short.sh_flags); in print_decnet_ctlmsg()
620 register union controlmsg *cmp = (union controlmsg *)rhp; in print_decnet_ctlmsg()
624 char *rhpx = (char *)rhp; in print_decnet_ctlmsg()
739 ND_DEFAULTPRINT((u_char *)rhp, min(length, caplen)); in print_decnet_ctlmsg()