Searched defs:whereptr (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/io/mac/plugins/
H A Dmac_ipv6.c180 uint8_t *whereptr, *endptr; local
196 whereptr = (uint8_t *)(ip6hp + 1);
199 ip6_dest_t *exthdrptr = (ip6_dest_t *)whereptr;
201 if (whereptr + sizeof (ip6_dest_t) >= endptr)
205 whereptr += 8 * (exthdrptr->ip6d_len + 1);
207 if (whereptr > endptr)
211 hdr_info->mhi_hdrsize = whereptr - mp->b_rptr;
231 uint8_t *whereptr, *endptr; local
256 whereptr = (uint8_t *)(ip6hp + 1);
259 while (nexthdr != IPPROTO_NONE && whereptr < endpt
[all...]
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dclassifier.c509 uint8_t *nexthdrp, *whereptr, *endptr; local
514 whereptr = ((uint8_t *)&ip6h[1]);
517 while (whereptr < endptr) {
520 hbhhdr = (ip6_hbh_t *)whereptr;
527 desthdr = (ip6_dest_t *)whereptr;
534 rthdr = (ip6_rthdr_t *)whereptr;
572 whereptr += ehdrlen;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux6.c948 uint8_t *whereptr; local
957 whereptr = ((uint8_t *)&ip6h[1]); /* point to next hdr */
963 if (whereptr >= endptr)
966 while (whereptr < endptr) {
970 hbhhdr = (ip6_hbh_t *)whereptr;
979 desthdr = (ip6_dest_t *)whereptr;
988 rthdr = (ip6_rthdr_t *)whereptr;
998 fraghdr = (ip6_frag_t *)whereptr;
1009 whereptr = (uint8_t *)ip6h + length;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux6.c543 uint8_t *whereptr; local
552 whereptr = ((uint8_t *)&ip6h[1]); /* point to next hdr */
558 if (whereptr >= endptr)
561 while (whereptr < endptr) {
565 hbhhdr = (ip6_hbh_t *)whereptr;
574 desthdr = (ip6_dest_t *)whereptr;
583 rthdr = (ip6_rthdr_t *)whereptr;
593 fraghdr = (ip6_frag_t *)whereptr;
604 whereptr = (uint8_t *)ip6h + length;
/illumos-gate/usr/src/uts/common/ipp/flowacct/
H A Dflowacct.c131 uint8_t *nexthdrp, *whereptr, *endptr; local
136 whereptr = ((uint8_t *)&ip6h[1]);
139 while (whereptr < endptr) {
142 hbhhdr = (ip6_hbh_t *)whereptr;
149 desthdr = (ip6_dest_t *)whereptr;
156 rthdr = (ip6_rthdr_t *)whereptr;
194 whereptr += ehdrlen;
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c486 uint8_t *whereptr; local
496 whereptr = ((uint8_t *)&ip6h[1]); /* point to next hdr */
502 while (whereptr < endptr) {
504 if (whereptr + MIN_EHDR_LEN > endptr)
511 desthdr = (ip6_dest_t *)whereptr;
518 rthdr = (ip6_rthdr_t *)whereptr;
525 fraghdr = (ip6_frag_t *)whereptr;
541 whereptr += ehdrlen;
H A Dmac_sched.c1710 uint8_t *whereptr; local
1814 whereptr = (uint8_t *)ip6h + hdr_len;
1827 if (mp->b_cont == NULL || whereptr + PORTS_SIZE <= mp->b_wptr)
1836 hash = HASH_ADDR(src_val, dst_val, *(uint32_t *)whereptr);
1845 *(uint32_t *)whereptr);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6.c2611 uint8_t *whereptr, *endptr; local
2623 whereptr = ((uint8_t *)&ip6h[1]); /* point to next hdr */
2627 while (whereptr < endptr) {
2629 if (whereptr + MIN_EHDR_LEN > endptr)
2639 tmphopopts = (ip6_hbh_t *)whereptr;
2647 after_secopt = whereptr;
2654 (void) tsol_find_secopt_v6(whereptr, ehdrlen,
2657 if (secopt != NULL && after_secopt - whereptr > 0) {
2660 ipp->ipp_label_len_v6 = after_secopt - whereptr;
2663 after_secopt = whereptr;
2759 uint8_t *whereptr; local
3144 uint8_t *whereptr; local
3892 pluck_out_dst(const mblk_t *mp, uint8_t *whereptr, in6_addr_t oldrv) argument
3942 uint8_t *whereptr; local
4944 uint8_t *whereptr; local
[all...]
H A Dipsecah.c3755 uchar_t *whereptr; local
3786 whereptr = (uchar_t *)ip6h;
3790 whereptr += hdrlen;
3795 hbhhdr = (ip6_hbh_t *)whereptr;
3800 dsthdr = (ip6_dest_t *)whereptr;
3805 rthdr = (ip6_rthdr0_t *)whereptr;

Completed in 78 milliseconds