Lines Matching defs:rhp
504 register const union routehdr *rhp;
527 rhp = (const union routehdr *)&(ap[sizeof(short)]);
528 ND_TCHECK(rhp->rh_short.sh_flags);
529 mflags = EXTRACT_LE_8BITS(rhp->rh_short.sh_flags);
544 rhp = (const union routehdr *)&(ap[sizeof(short)]);
545 mflags = EXTRACT_LE_8BITS(rhp->rh_short.sh_flags);
556 if (!print_decnet_ctlmsg(ndo, rhp, length, caplen))
567 ND_TCHECK(rhp->rh_long);
569 EXTRACT_LE_16BITS(rhp->rh_long.lg_dst.dne_remote.dne_nodeaddr);
571 EXTRACT_LE_16BITS(rhp->rh_long.lg_src.dne_remote.dne_nodeaddr);
572 hops = EXTRACT_LE_8BITS(rhp->rh_long.lg_visits);
577 ND_TCHECK(rhp->rh_short);
578 dst = EXTRACT_LE_16BITS(rhp->rh_short.sh_dst);
579 src = EXTRACT_LE_16BITS(rhp->rh_short.sh_src);
580 hops = (EXTRACT_LE_8BITS(rhp->rh_short.sh_visits) & VIS_MASK)+1;
613 register const union routehdr *rhp, u_int length,
616 int mflags = EXTRACT_LE_8BITS(rhp->rh_short.sh_flags);
617 register const union controlmsg *cmp = (const union controlmsg *)rhp;
621 const char *rhpx = (const char *)rhp;
736 ND_DEFAULTPRINT((const u_char *)rhp, min(length, caplen));