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