/titanic_50/usr/src/uts/common/io/mac/plugins/ |
H A D | mac_ipv6.c | 181 uint8_t nexthdr; in mac_ipv6_header_info() local 195 nexthdr = ip6hp->ip6_nxt; in mac_ipv6_header_info() 198 while (nexthdr != IPPROTO_ENCAP && nexthdr != IPPROTO_IPV6) { in mac_ipv6_header_info() 204 nexthdr = exthdrptr->ip6d_nxt; in mac_ipv6_header_info() 215 hdr_info->mhi_bindsap = hdr_info->mhi_origsap = nexthdr; in mac_ipv6_header_info() 232 uint8_t nexthdr; in mac_ipv6_pdata_verify() local 253 nexthdr = ip6hp->ip6_nxt; in mac_ipv6_pdata_verify() 254 if (nexthdr == IPPROTO_NONE) in mac_ipv6_pdata_verify() 259 while (nexthdr != IPPROTO_NONE && whereptr < endptr) { in mac_ipv6_pdata_verify() 265 nexthdr = hdrptr->ip6d_nxt; in mac_ipv6_pdata_verify() [all …]
|
/titanic_50/usr/src/uts/common/inet/ip/ |
H A D | ip6.c | 543 uint8_t nexthdr; in icmp_inbound_verify_v6() local 574 nexthdr = *nexthdrp; in icmp_inbound_verify_v6() 577 switch (nexthdr) { in icmp_inbound_verify_v6() 634 if ((uint8_t *)in_ip6h + (nexthdr == IPPROTO_ENCAP ? in icmp_inbound_verify_v6() 773 uint8_t nexthdr; in icmp_inbound_error_fanout_v6() local 787 nexthdr = *nexthdrp; in icmp_inbound_error_fanout_v6() 788 ira->ira_protocol = nexthdr; in icmp_inbound_error_fanout_v6() 797 rip6h.ip6_nxt = nexthdr; in icmp_inbound_error_fanout_v6() 800 switch (nexthdr) { in icmp_inbound_error_fanout_v6() 878 if (nexthdr == IPPROTO_ESP) in icmp_inbound_error_fanout_v6() [all …]
|
H A D | ipsecah.c | 2148 uint8_t nexthdr; in ah_icmp_error_v4() local 2179 nexthdr = ah->ah_nexthdr; in ah_icmp_error_v4() 2287 ipha->ipha_protocol = nexthdr; in ah_icmp_error_v4() 2397 uint8_t nexthdr; in ah_fix_phdr_v6() local 2435 nexthdr = oip6h->ip6_nxt; in ah_fix_phdr_v6() 2437 ASSERT(nexthdr != IPPROTO_FRAGMENT); in ah_fix_phdr_v6() 2441 switch (nexthdr) { in ah_fix_phdr_v6() 2444 nexthdr = hbhhdr->ip6h_nxt; in ah_fix_phdr_v6() 2459 nexthdr = rthdr->ip6r0_nxt; in ah_fix_phdr_v6() 2513 nexthdr = dsthdr->ip6d_nxt; in ah_fix_phdr_v6() [all …]
|
H A D | spd.c | 2697 uint8_t nexthdr; in ipsec_init_inbound_sel() local 2710 nexthdr = ip6h->ip6_nxt; in ipsec_init_inbound_sel() 2718 switch (nexthdr) { in ipsec_init_inbound_sel() 2740 nexthdr = *nexthdrp; in ipsec_init_inbound_sel() 2760 nexthdr = ipha->ipha_protocol; in ipsec_init_inbound_sel() 2772 sel->ips_protocol = nexthdr; in ipsec_init_inbound_sel() 2774 if ((nexthdr != IPPROTO_TCP && nexthdr != IPPROTO_UDP && in ipsec_init_inbound_sel() 2775 nexthdr != IPPROTO_SCTP && nexthdr != icmp_proto) || in ipsec_init_inbound_sel() 2797 if (nexthdr == icmp_proto) { in ipsec_init_inbound_sel() 2825 uint8_t nexthdr; in ipsec_init_outbound_ports() local [all …]
|
H A D | ipsecesp.c | 797 uint8_t nexthdr, padlen; in esp_strip_header() local 833 nexthdr = *lastbyte--; in esp_strip_header() 838 ipha->ipha_protocol = nexthdr; in esp_strip_header() 871 ip6h->ip6_nxt = nexthdr; in esp_strip_header() 879 ipp.ipp_dstopts->ip6d_nxt = nexthdr; in esp_strip_header() 881 ipp.ipp_rthdr->ip6r_nxt = nexthdr; in esp_strip_header() 883 ipp.ipp_hopopts->ip6h_nxt = nexthdr; in esp_strip_header() 889 ip6h->ip6_nxt = nexthdr; in esp_strip_header()
|
H A D | icmp.c | 2720 uint8_t nexthdr; in icmp_input() local 2723 (void) ip_find_hdr_v6(mp, ip6h, B_TRUE, &ipps, &nexthdr); in icmp_input()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipseckey.c | 1644 uint64_t *buffer, *nexthdr; in doaddup() local 2714 nexthdr = buffer; in doaddup() 2715 bcopy(&msg, nexthdr, sizeof (msg)); in doaddup() 2716 nexthdr += SADB_8TO64(sizeof (msg)); in doaddup() 2768 bcopy(assoc, nexthdr, SADB_64TO8(assoc->sadb_sa_len)); in doaddup() 2769 nexthdr += assoc->sadb_sa_len; in doaddup() 2787 bcopy(sadb_pair, nexthdr, in doaddup() 2789 nexthdr += sadb_pair->sadb_x_pair_len; in doaddup() 2794 bcopy(hard, nexthdr, SADB_64TO8(hard->sadb_lifetime_len)); in doaddup() 2795 nexthdr += hard->sadb_lifetime_len; in doaddup() [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute_aux6.c | 542 uint8_t nexthdr; in IPv6_hdrlen() local 555 nexthdr = ip6h->ip6_nxt; in IPv6_hdrlen() 562 *last_hdr_rtrn = nexthdr; in IPv6_hdrlen() 563 switch (nexthdr) { in IPv6_hdrlen() 569 nexthdr = hbhhdr->ip6h_nxt; in IPv6_hdrlen() 578 nexthdr = desthdr->ip6d_nxt; in IPv6_hdrlen() 587 nexthdr = rthdr->ip6r_nxt; in IPv6_hdrlen() 596 nexthdr = fraghdr->ip6f_nxt; in IPv6_hdrlen() 606 *last_hdr_rtrn = nexthdr; in IPv6_hdrlen()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux6.c | 947 uint8_t nexthdr; in IPv6_hdrlen() local 960 nexthdr = ip6h->ip6_nxt; in IPv6_hdrlen() 967 *last_hdr_rtrn = nexthdr; in IPv6_hdrlen() 968 switch (nexthdr) { in IPv6_hdrlen() 974 nexthdr = hbhhdr->ip6h_nxt; in IPv6_hdrlen() 983 nexthdr = desthdr->ip6d_nxt; in IPv6_hdrlen() 992 nexthdr = rthdr->ip6r_nxt; in IPv6_hdrlen() 1001 nexthdr = fraghdr->ip6f_nxt; in IPv6_hdrlen() 1011 *last_hdr_rtrn = nexthdr; in IPv6_hdrlen()
|
/titanic_50/usr/src/lib/libctf/common/ |
H A D | ctf_dwarf.c | 2704 Dwarf_Unsigned nexthdr; in ctf_dwarf_count_dies() local 2707 &nexthdr, derr)) != DW_DLV_NO_ENTRY) { in ctf_dwarf_count_dies() 2738 Dwarf_Unsigned hdrlen, abboff, nexthdr; in ctf_dwarf_init_die() local 2744 &abboff, &addrsz, &nexthdr, &derr)) != DW_DLV_NO_ENTRY) { in ctf_dwarf_init_die() 2752 offset = nexthdr; in ctf_dwarf_init_die() 2763 cup->cu_maxoff = nexthdr - 1; in ctf_dwarf_init_die()
|
/titanic_50/usr/src/uts/common/io/mac/ |
H A D | mac_sched.c | 1713 uint8_t nexthdr; in mac_rx_srs_long_fanout() local 1784 nexthdr = ip6h->ip6_nxt; in mac_rx_srs_long_fanout() 1793 if (!mac_ip_hdr_length_v6(ip6h, mp->b_wptr, &hdr_len, &nexthdr, in mac_rx_srs_long_fanout() 1800 nexthdr = ipha->ipha_protocol; in mac_rx_srs_long_fanout() 1817 switch (nexthdr) { in mac_rx_srs_long_fanout() 1834 switch (nexthdr) { in mac_rx_srs_long_fanout()
|
H A D | mac_flow.c | 1971 uint8_t nexthdr; in flow_ip_accept() local 1974 &nexthdr, &frag)) { in flow_ip_accept() 1978 l3info->l3_protocol = nexthdr; in flow_ip_accept()
|