/illumos-gate/usr/src/common/inet/ |
H A D | inet_hash.c | 63 uint8_t *nexthdrp; in inet_pkthash_ip_hdr_length_v6() local 77 nexthdrp = &ip6h->ip6_nxt; in inet_pkthash_ip_hdr_length_v6() 83 switch (*nexthdrp) { in inet_pkthash_ip_hdr_length_v6() 91 nexthdrp = &desthdr->ip6d_nxt; in inet_pkthash_ip_hdr_length_v6() 98 nexthdrp = &rthdr->ip6r_nxt; in inet_pkthash_ip_hdr_length_v6() 105 nexthdrp = &fraghdr->ip6f_nxt; in inet_pkthash_ip_hdr_length_v6() 113 *next_hdr = *nexthdrp; in inet_pkthash_ip_hdr_length_v6() 119 *next_hdr = *nexthdrp; in inet_pkthash_ip_hdr_length_v6() 121 switch (*nexthdrp) { in inet_pkthash_ip_hdr_length_v6() 139 *next_hdr = *nexthdrp; in inet_pkthash_ip_hdr_length_v6()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ip_cksum.c | 450 uint8_t *nexthdrp; in ip_hdr_length_nexthdr_v6() local 463 nexthdrp = &ip6h->ip6_nxt; in ip_hdr_length_nexthdr_v6() 469 switch (*nexthdrp) { in ip_hdr_length_nexthdr_v6() 477 nexthdrp = &desthdr->ip6d_nxt; in ip_hdr_length_nexthdr_v6() 484 nexthdrp = &rthdr->ip6r_nxt; in ip_hdr_length_nexthdr_v6() 491 nexthdrp = &fraghdr->ip6f_nxt; in ip_hdr_length_nexthdr_v6() 499 *nexthdrpp = nexthdrp; in ip_hdr_length_nexthdr_v6() 508 *nexthdrpp = nexthdrp; in ip_hdr_length_nexthdr_v6() 510 switch (*nexthdrp) { in ip_hdr_length_nexthdr_v6() 530 *nexthdrpp = nexthdrp; in ip_hdr_length_nexthdr_v6()
|
/illumos-gate/usr/src/uts/common/ipp/ipgpc/ |
H A D | classifier.c | 509 uint8_t *nexthdrp, *whereptr, *endptr; in get_port_info() local 516 nexthdrp = &ip6h->ip6_nxt; in get_port_info() 518 switch (*nexthdrp) { in get_port_info() 524 nexthdrp = &hbhhdr->ip6h_nxt; in get_port_info() 531 nexthdrp = &desthdr->ip6d_nxt; in get_port_info() 538 nexthdrp = &rthdr->ip6r_nxt; in get_port_info() 555 packet->proto = *nexthdrp; in get_port_info() 565 packet->proto = *nexthdrp; in get_port_info()
|
/illumos-gate/usr/src/uts/common/ipp/flowacct/ |
H A D | flowacct.c | 131 uint8_t *nexthdrp, *whereptr, *endptr; in flowacct_port_info() local 138 nexthdrp = &ip6h->ip6_nxt; in flowacct_port_info() 140 switch (*nexthdrp) { in flowacct_port_info() 146 nexthdrp = &hbhhdr->ip6h_nxt; in flowacct_port_info() 153 nexthdrp = &desthdr->ip6d_nxt; in flowacct_port_info() 160 nexthdrp = &rthdr->ip6r_nxt; in flowacct_port_info() 177 header->proto = *nexthdrp; in flowacct_port_info() 187 header->proto = *nexthdrp; in flowacct_port_info()
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_util.c | 1594 uint8_t *nexthdrp; in mac_ip_hdr_length_v6() local 1608 nexthdrp = &ip6h->ip6_nxt; in mac_ip_hdr_length_v6() 1614 switch (*nexthdrp) { in mac_ip_hdr_length_v6() 1622 nexthdrp = &desthdr->ip6d_nxt; in mac_ip_hdr_length_v6() 1629 nexthdrp = &rthdr->ip6r_nxt; in mac_ip_hdr_length_v6() 1636 nexthdrp = &fraghdr->ip6f_nxt; in mac_ip_hdr_length_v6() 1644 *next_hdr = *nexthdrp; in mac_ip_hdr_length_v6() 1650 *next_hdr = *nexthdrp; in mac_ip_hdr_length_v6() 1652 switch (*nexthdrp) { in mac_ip_hdr_length_v6() 1670 *next_hdr = *nexthdrp; in mac_ip_hdr_length_v6()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip6.c | 544 uint8_t *nexthdrp; in icmp_inbound_verify_v6() local 574 if (!ip_hdr_length_nexthdr_v6(mp, ip6h, &hdr_length, &nexthdrp)) in icmp_inbound_verify_v6() 576 nexthdr = *nexthdrp; in icmp_inbound_verify_v6() 762 uint8_t *nexthdrp; in icmp_inbound_error_fanout_v6() local 775 if (!ip_hdr_length_nexthdr_v6(mp, ip6h, &hdr_length, &nexthdrp)) in icmp_inbound_error_fanout_v6() 777 nexthdr = *nexthdrp; in icmp_inbound_error_fanout_v6() 926 &unused_len, &nexthdrp) || in icmp_inbound_error_fanout_v6() 927 *nexthdrp == IPPROTO_IPV6) { in icmp_inbound_error_fanout_v6() 1814 uint8_t *nexthdrp; in icmp_param_problem_nexthdr_v6() local 1819 if (!ip_hdr_length_nexthdr_v6(mp, ip6h, &hdr_length, &nexthdrp)) { in icmp_param_problem_nexthdr_v6() [all …]
|
H A D | ip6_output.c | 120 uint8_t *nexthdrp; in ip_output_simple_v6() local 134 &nexthdrp)) { in ip_output_simple_v6() 142 ixa->ixa_protocol = *nexthdrp; in ip_output_simple_v6()
|
H A D | tnet.c | 1501 uint8_t *nexthdrp; in tsol_ip_forward() local 1505 &nexthdrp)) { in tsol_ip_forward() 1509 proto = *nexthdrp; in tsol_ip_forward()
|
H A D | spd.c | 2250 uint8_t *nexthdrp; in ipsec_inbound_accept_clear() local 2258 &nexthdrp)) { in ipsec_inbound_accept_clear() 2261 if (*nexthdrp != IPPROTO_ICMPV6) in ipsec_inbound_accept_clear() 2697 uint8_t *nexthdrp, *transportp; in ipsec_init_inbound_sel() local 2732 &hdr_len, &nexthdrp)) { in ipsec_init_inbound_sel() 2741 nexthdr = *nexthdrp; in ipsec_init_inbound_sel() 2825 uint8_t *nexthdrp; in ipsec_init_outbound_ports() local 2849 &hdr_len, &nexthdrp)) { in ipsec_init_outbound_ports() 2857 nexthdr = *nexthdrp; in ipsec_init_outbound_ports()
|
H A D | ipsecah.c | 1881 uint8_t *nexthdrp; in ah_icmp_error_v6() local 1895 &nexthdrp) || in ah_icmp_error_v6() 1908 if (!ip_hdr_length_nexthdr_v6(mp, ip6h, &hdr_length, &nexthdrp)) { in ah_icmp_error_v6() 1964 *nexthdrp = ah->ah_nexthdr; in ah_icmp_error_v6()
|
H A D | icmp.c | 1284 uint8_t *nexthdrp; in icmp_icmp_error_ipv6() local 1303 if (!ip_hdr_length_nexthdr_v6(mp, ip6h, &iph_hdr_length, &nexthdrp)) { in icmp_icmp_error_ipv6() 1393 (uchar_t *)nexthdrp) { in icmp_icmp_error_ipv6()
|
H A D | ip.c | 12313 uint8_t *nexthdrp; in ip_input_post_ipsec() local 12318 &nexthdrp)) { in ip_input_post_ipsec() 12325 ira->ira_protocol = *nexthdrp; in ip_input_post_ipsec()
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp.c | 1201 uint8_t *nexthdrp; in sctp_icmp_error_ipv6() local 1211 if (!ip_hdr_length_nexthdr_v6(mp, ip6h, &iph_hdr_length, &nexthdrp)) { in sctp_icmp_error_ipv6() 1215 ASSERT(*nexthdrp == IPPROTO_SCTP); in sctp_icmp_error_ipv6() 1293 (uchar_t *)nexthdrp) { in sctp_icmp_error_ipv6()
|
H A D | sctp_input.c | 3669 uint8_t nexthdrp; in sctp_input_data() local 3679 &nexthdrp); in sctp_input_data() 3680 ASSERT(nexthdrp == IPPROTO_SCTP); in sctp_input_data()
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_input.c | 2537 uint8_t nexthdrp; in tcp_input_data() local 2547 &nexthdrp); in tcp_input_data() 2548 ASSERT(nexthdrp == IPPROTO_TCP); in tcp_input_data() 5880 uint8_t *nexthdrp; in tcp_icmp_error_ipv6() local 5899 if (!ip_hdr_length_nexthdr_v6(mp, ip6h, &iph_hdr_length, &nexthdrp)) in tcp_icmp_error_ipv6() 5907 if ((*nexthdrp != IPPROTO_TCP) || in tcp_icmp_error_ipv6() 5960 (uchar_t *)nexthdrp) { in tcp_icmp_error_ipv6()
|
/illumos-gate/usr/src/uts/common/inet/udp/ |
H A D | udp.c | 1146 uint8_t *nexthdrp; in udp_icmp_error_ipv6() local 1168 if (!ip_hdr_length_nexthdr_v6(mp, ip6h, &iph_hdr_length, &nexthdrp)) { in udp_icmp_error_ipv6() 1259 (uchar_t *)nexthdrp) { in udp_icmp_error_ipv6() 2407 uint8_t nexthdrp; in udp_input() local 2421 &nexthdrp); in udp_input() 2425 ASSERT(nexthdrp == IPPROTO_UDP); in udp_input()
|
/illumos-gate/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 2279 uint8_t *nexthdrp; in is_icmp_error() local 2282 if (!ip_hdr_length_nexthdr_v6(mp, ip6h, &hlen, &nexthdrp) || in is_icmp_error() 2283 *nexthdrp != IPPROTO_ICMPV6) { in is_icmp_error()
|