Searched refs:whereptr (Results 1 – 9 of 9) sorted by relevance
/titanic_50/usr/src/uts/common/io/mac/plugins/ |
H A D | mac_ipv6.c | 180 uint8_t *whereptr, *endptr; in mac_ipv6_header_info() local 196 whereptr = (uint8_t *)(ip6hp + 1); in mac_ipv6_header_info() 199 ip6_dest_t *exthdrptr = (ip6_dest_t *)whereptr; in mac_ipv6_header_info() 201 if (whereptr + sizeof (ip6_dest_t) >= endptr) in mac_ipv6_header_info() 205 whereptr += 8 * (exthdrptr->ip6d_len + 1); in mac_ipv6_header_info() 207 if (whereptr > endptr) in mac_ipv6_header_info() 211 hdr_info->mhi_hdrsize = whereptr - mp->b_rptr; in mac_ipv6_header_info() 231 uint8_t *whereptr, *endptr; in mac_ipv6_pdata_verify() local 256 whereptr = (uint8_t *)(ip6hp + 1); in mac_ipv6_pdata_verify() 259 while (nexthdr != IPPROTO_NONE && whereptr < endptr) { in mac_ipv6_pdata_verify() [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute_aux6.c | 543 uint8_t *whereptr; in IPv6_hdrlen() local 552 whereptr = ((uint8_t *)&ip6h[1]); /* point to next hdr */ in IPv6_hdrlen() 558 if (whereptr >= endptr) in IPv6_hdrlen() 561 while (whereptr < endptr) { in IPv6_hdrlen() 565 hbhhdr = (ip6_hbh_t *)whereptr; in IPv6_hdrlen() 574 desthdr = (ip6_dest_t *)whereptr; in IPv6_hdrlen() 583 rthdr = (ip6_rthdr_t *)whereptr; in IPv6_hdrlen() 593 fraghdr = (ip6_frag_t *)whereptr; in IPv6_hdrlen() 604 whereptr = (uint8_t *)ip6h + length; in IPv6_hdrlen()
|
/titanic_50/usr/src/uts/common/inet/ip/ |
H A D | ip6.c | 2611 uint8_t *whereptr, *endptr; in ip_find_hdr_v6() local 2623 whereptr = ((uint8_t *)&ip6h[1]); /* point to next hdr */ in ip_find_hdr_v6() 2627 while (whereptr < endptr) { in ip_find_hdr_v6() 2629 if (whereptr + MIN_EHDR_LEN > endptr) in ip_find_hdr_v6() 2639 tmphopopts = (ip6_hbh_t *)whereptr; in ip_find_hdr_v6() 2647 after_secopt = whereptr; in ip_find_hdr_v6() 2654 (void) tsol_find_secopt_v6(whereptr, ehdrlen, in ip_find_hdr_v6() 2657 if (secopt != NULL && after_secopt - whereptr > 0) { in ip_find_hdr_v6() 2660 ipp->ipp_label_len_v6 = after_secopt - whereptr; in ip_find_hdr_v6() 2663 after_secopt = whereptr; in ip_find_hdr_v6() [all …]
|
H A D | ipsecah.c | 3755 uchar_t *whereptr; in ah_auth_in_done() local 3786 whereptr = (uchar_t *)ip6h; in ah_auth_in_done() 3790 whereptr += hdrlen; in ah_auth_in_done() 3795 hbhhdr = (ip6_hbh_t *)whereptr; in ah_auth_in_done() 3800 dsthdr = (ip6_dest_t *)whereptr; in ah_auth_in_done() 3805 rthdr = (ip6_rthdr0_t *)whereptr; in ah_auth_in_done()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux6.c | 948 uint8_t *whereptr; in IPv6_hdrlen() local 957 whereptr = ((uint8_t *)&ip6h[1]); /* point to next hdr */ in IPv6_hdrlen() 963 if (whereptr >= endptr) in IPv6_hdrlen() 966 while (whereptr < endptr) { in IPv6_hdrlen() 970 hbhhdr = (ip6_hbh_t *)whereptr; in IPv6_hdrlen() 979 desthdr = (ip6_dest_t *)whereptr; in IPv6_hdrlen() 988 rthdr = (ip6_rthdr_t *)whereptr; in IPv6_hdrlen() 998 fraghdr = (ip6_frag_t *)whereptr; in IPv6_hdrlen() 1009 whereptr = (uint8_t *)ip6h + length; in IPv6_hdrlen()
|
/titanic_50/usr/src/uts/common/ipp/ipgpc/ |
H A D | classifier.c | 509 uint8_t *nexthdrp, *whereptr, *endptr; in get_port_info() local 514 whereptr = ((uint8_t *)&ip6h[1]); in get_port_info() 517 while (whereptr < endptr) { in get_port_info() 520 hbhhdr = (ip6_hbh_t *)whereptr; in get_port_info() 527 desthdr = (ip6_dest_t *)whereptr; in get_port_info() 534 rthdr = (ip6_rthdr_t *)whereptr; in get_port_info() 572 whereptr += ehdrlen; in get_port_info()
|
/titanic_50/usr/src/uts/common/io/mac/ |
H A D | mac_util.c | 486 uint8_t *whereptr; in mac_ip_hdr_length_v6() local 496 whereptr = ((uint8_t *)&ip6h[1]); /* point to next hdr */ in mac_ip_hdr_length_v6() 502 while (whereptr < endptr) { in mac_ip_hdr_length_v6() 504 if (whereptr + MIN_EHDR_LEN > endptr) in mac_ip_hdr_length_v6() 511 desthdr = (ip6_dest_t *)whereptr; in mac_ip_hdr_length_v6() 518 rthdr = (ip6_rthdr_t *)whereptr; in mac_ip_hdr_length_v6() 525 fraghdr = (ip6_frag_t *)whereptr; in mac_ip_hdr_length_v6() 541 whereptr += ehdrlen; in mac_ip_hdr_length_v6()
|
H A D | mac_sched.c | 1710 uint8_t *whereptr; in mac_rx_srs_long_fanout() local 1814 whereptr = (uint8_t *)ip6h + hdr_len; in mac_rx_srs_long_fanout() 1827 if (mp->b_cont == NULL || whereptr + PORTS_SIZE <= mp->b_wptr) in mac_rx_srs_long_fanout() 1836 hash = HASH_ADDR(src_val, dst_val, *(uint32_t *)whereptr); in mac_rx_srs_long_fanout() 1845 *(uint32_t *)whereptr); in mac_rx_srs_long_fanout()
|
/titanic_50/usr/src/uts/common/ipp/flowacct/ |
H A D | flowacct.c | 131 uint8_t *nexthdrp, *whereptr, *endptr; in flowacct_port_info() local 136 whereptr = ((uint8_t *)&ip6h[1]); in flowacct_port_info() 139 while (whereptr < endptr) { in flowacct_port_info() 142 hbhhdr = (ip6_hbh_t *)whereptr; in flowacct_port_info() 149 desthdr = (ip6_dest_t *)whereptr; in flowacct_port_info() 156 rthdr = (ip6_rthdr_t *)whereptr; in flowacct_port_info() 194 whereptr += ehdrlen; in flowacct_port_info()
|