Searched refs:rthdr (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/libsocket/inet/
H A Dinet6_rthdr.c64 * Initializes rthdr structure. Verifies the segments against the length of
72 struct ip6_rthdr0 *rthdr; local
82 rthdr = (struct ip6_rthdr0 *)bp;
83 rthdr->ip6r0_nxt = 0;
84 rthdr->ip6r0_len = (segments * 2);
85 rthdr->ip6r0_type = type;
86 rthdr->ip6r0_segleft = 0; /* Incremented by rthdr_add */
87 *(uint32_t *)&rthdr->ip6r0_reserved = 0;
98 struct ip6_rthdr0 *rthdr; local
101 rthdr
150 struct ip6_rthdr0 *rthdr; local
171 struct ip6_rthdr0 *rthdr; local
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6.c2684 * Assume it is a post-rthdr destination header
2685 * and adjust when we find an rthdr.
2699 /* return only 1st rthdr */
2707 * pre-rthdr destination header.
2762 ip6_rthdr_t *rthdr; local
2787 rthdr = (ip6_rthdr_t *)whereptr;
2788 ehdrlen = 8 * (rthdr->ip6r_len + 1);
2789 if ((uchar_t *)rthdr + ehdrlen > endptr)
2791 nexthdrp = &rthdr->ip6r_nxt;
3148 ip6_rthdr_t *rthdr; local
3408 ip6_rthdr_t *rthdr; local
4019 ip6_rthdr0_t *rthdr; local
4171 ip6_rthdr_t *rthdr; local
4365 ip6_rthdr_t *rthdr; local
4775 ip6_rthdr0_t *rthdr = (ip6_rthdr0_t *)rth; local
4947 ip6_rthdr_t *rthdr; local
[all...]
H A Dipsecah.c2401 ip6_rthdr0_t *rthdr; local
2458 rthdr = (ip6_rthdr0_t *)oi_opt;
2459 nexthdr = rthdr->ip6r0_nxt;
2460 ehdrlen = 8 * (rthdr->ip6r0_len + 1);
2466 left = rthdr->ip6r0_segleft;
2469 ap = (in6_addr_t *)(rthdr + 1);
2491 rthdr = (ip6_rthdr0_t *)pi_opt;
2492 prev_nexthdr = (uint8_t *)&rthdr->ip6r0_nxt;
3760 ip6_rthdr0_t *rthdr; local
3805 rthdr
[all...]
H A Dip6_input.c2587 ip6_rthdr_t *rthdr; local
2610 rthdr = (ip6_rthdr_t *)(rptr + ip_hdr_length);
2611 protocol = ira->ira_protocol = rthdr->ip6r_nxt;
2612 ehdrlen = 8 * (rthdr->ip6r_len + 1);
2620 rthdr = (ip6_rthdr_t *)(rptr + ip_hdr_length);
2622 if (rthdr->ip6r_segleft != 0) {
2633 ip_process_rthdr(mp, ip6h, rthdr, ira);
H A Dip.c15082 ip6_rthdr0_t *rthdr; local
15087 rthdr = (ip6_rthdr0_t *)ipp->ipp_rthdr;
15088 if (rthdr->ip6r0_segleft == 0)
15091 nexthop = (in6_addr_t *)((char *)rthdr + sizeof (*rthdr));
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux6.c176 * Fill ancillary data. First hoplimit, then rthdr and pktinfo.
191 /* set rthdr ancillary data if needed */
200 * Initialize rthdr structure
951 ip6_rthdr_t *rthdr; local
988 rthdr = (ip6_rthdr_t *)whereptr;
989 exthdrlength = 8 * (rthdr->ip6r_len + 1);
990 if ((uchar_t *)rthdr + exthdrlength > endptr)
992 nexthdr = rthdr->ip6r_nxt;
1063 ip6_rthdr_t *rthdr; local
1068 rthdr
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux6.c194 * Fill ancillary data. First hoplimit, then rthdr and pktinfo if
207 /* set rthdr ancillary data if needed */
216 * Initialize rthdr structure
546 ip6_rthdr_t *rthdr; local
583 rthdr = (ip6_rthdr_t *)whereptr;
584 exthdrlength = 8 * (rthdr->ip6r_len + 1);
585 if ((uchar_t *)rthdr + exthdrlength > endptr)
587 nexthdr = rthdr->ip6r_nxt;
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dclassifier.c511 ip6_rthdr_t *rthdr; local
534 rthdr = (ip6_rthdr_t *)whereptr;
535 ehdrlen = 8 * (rthdr->ip6r_len + 1);
536 if ((uchar_t *)rthdr + ehdrlen > endptr)
538 nexthdrp = &rthdr->ip6r_nxt;
/illumos-gate/usr/src/uts/common/ipp/flowacct/
H A Dflowacct.c133 ip6_rthdr_t *rthdr; local
156 rthdr = (ip6_rthdr_t *)whereptr;
157 ehdrlen = 8 * (rthdr->ip6r_len + 1);
158 if ((uchar_t *)rthdr + ehdrlen > endptr)
160 nexthdrp = &rthdr->ip6r_nxt;
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c489 ip6_rthdr_t *rthdr; local
518 rthdr = (ip6_rthdr_t *)whereptr;
519 ehdrlen = 8 * (rthdr->ip6r_len + 1);
520 if ((uchar_t *)rthdr + ehdrlen > endptr)
522 nexthdrp = &rthdr->ip6r_nxt;

Completed in 257 milliseconds