Home
last modified time | relevance | path

Searched refs:iph_hdr_length (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp.c1086 int iph_hdr_length; in sctp_icmp_error() local
1103 iph_hdr_length = IPH_HDR_LENGTH(ipha); in sctp_icmp_error()
1104 icmph = (icmph_t *)&mp->b_rptr[iph_hdr_length]; in sctp_icmp_error()
1107 iph_hdr_length = IPH_HDR_LENGTH(ipha); in sctp_icmp_error()
1108 sctph = (sctp_hdr_t *)((char *)ipha + iph_hdr_length); in sctp_icmp_error()
1199 uint16_t iph_hdr_length; in sctp_icmp_error_ipv6() local
1206 iph_hdr_length = (ip6h->ip6_nxt != IPPROTO_SCTP) ? in sctp_icmp_error_ipv6()
1209 icmp6 = (icmp6_t *)&mp->b_rptr[iph_hdr_length]; in sctp_icmp_error_ipv6()
1211 if (!ip_hdr_length_nexthdr_v6(mp, ip6h, &iph_hdr_length, &nexthdrp)) { in sctp_icmp_error_ipv6()
1218 sctpha = (sctp_hdr_t *)((char *)ip6h + iph_hdr_length); in sctp_icmp_error_ipv6()
/titanic_41/usr/src/uts/common/inet/tcp/
H A Dtcp_input.c5522 int iph_hdr_length; in tcp_icmp_input() local
5551 iph_hdr_length = ira->ira_ip_hdr_length; in tcp_icmp_input()
5552 icmph = (icmph_t *)&mp->b_rptr[iph_hdr_length]; in tcp_icmp_input()
5558 if (iph_hdr_length < sizeof (ipha_t) || in tcp_icmp_input()
5567 iph_hdr_length = IPH_HDR_LENGTH(ipha); in tcp_icmp_input()
5568 tcpha = (tcpha_t *)((char *)ipha + iph_hdr_length); in tcp_icmp_input()
5574 if (iph_hdr_length < sizeof (ipha_t) || in tcp_icmp_input()
5668 uint16_t iph_hdr_length = ira->ira_ip_hdr_length; in tcp_icmp_error_ipv6() local
5678 icmp6 = (icmp6_t *)&mp->b_rptr[iph_hdr_length]; in tcp_icmp_error_ipv6()
5689 if (!ip_hdr_length_nexthdr_v6(mp, ip6h, &iph_hdr_length, &nexthdrp)) in tcp_icmp_error_ipv6()
[all …]
/titanic_41/usr/src/uts/common/inet/udp/
H A Dudp.c894 int iph_hdr_length; in udp_icmp_input() local
915 iph_hdr_length = ira->ira_ip_hdr_length; in udp_icmp_input()
916 icmph = (icmph_t *)&mp->b_rptr[iph_hdr_length]; in udp_icmp_input()
920 iph_hdr_length = IPH_HDR_LENGTH(ipha); in udp_icmp_input()
921 udpha = (udpha_t *)((char *)ipha + iph_hdr_length); in udp_icmp_input()
1061 uint16_t iph_hdr_length; in udp_icmp_error_ipv6() local
1073 iph_hdr_length = ip_hdr_length_v6(mp, outer_ip6h); in udp_icmp_error_ipv6()
1075 iph_hdr_length = IPV6_HDR_LEN; in udp_icmp_error_ipv6()
1076 ASSERT(iph_hdr_length == ira->ira_ip_hdr_length); in udp_icmp_error_ipv6()
1079 iph_hdr_length = ira->ira_ip_hdr_length; in udp_icmp_error_ipv6()
[all …]
/titanic_41/usr/src/uts/common/inet/ip/
H A Dicmp.c1147 int iph_hdr_length; in icmp_icmp_input() local
1165 iph_hdr_length = ira->ira_ip_hdr_length; in icmp_icmp_input()
1166 icmph = (icmph_t *)&mp->b_rptr[iph_hdr_length]; in icmp_icmp_input()
1169 iph_hdr_length = IPH_HDR_LENGTH(ipha); in icmp_icmp_input()
1275 uint16_t iph_hdr_length; in icmp_icmp_error_ipv6() local
1285 iph_hdr_length = ip_hdr_length_v6(mp, outer_ip6h); in icmp_icmp_error_ipv6()
1287 iph_hdr_length = IPV6_HDR_LEN; in icmp_icmp_error_ipv6()
1288 ASSERT(iph_hdr_length == ira->ira_ip_hdr_length); in icmp_icmp_error_ipv6()
1291 iph_hdr_length = ira->ira_ip_hdr_length; in icmp_icmp_error_ipv6()
1292 icmp6 = (icmp6_t *)&mp->b_rptr[iph_hdr_length]; in icmp_icmp_error_ipv6()
[all …]
H A Dipsecah.c2138 int iph_hdr_length; in ah_icmp_error_v4() local
2152 iph_hdr_length = IPH_HDR_LENGTH(ipha); in ah_icmp_error_v4()
2153 icmph = (icmph_t *)&mp->b_rptr[iph_hdr_length]; in ah_icmp_error_v4()
2174 icmph = (icmph_t *)&mp->b_rptr[iph_hdr_length]; in ah_icmp_error_v4()
2243 icmph = (icmph_t *)&mp->b_rptr[iph_hdr_length]; in ah_icmp_error_v4()
2259 alloc_size = iph_hdr_length + sizeof (icmph_t) + hdr_length; in ah_icmp_error_v4()
2286 ipha = (ipha_t *)(mp1->b_rptr + iph_hdr_length + sizeof (icmph_t)); in ah_icmp_error_v4()
H A Dspd.c2246 ushort_t iph_hdr_length; in ipsec_inbound_accept_clear() local
2255 iph_hdr_length = ip_hdr_length_v6(mp, ip6h); in ipsec_inbound_accept_clear()
2256 if (!ip_hdr_length_nexthdr_v6(mp, ip6h, &iph_hdr_length, in ipsec_inbound_accept_clear()
2262 icmp6 = (icmp6_t *)(&mp->b_rptr[iph_hdr_length]); in ipsec_inbound_accept_clear()
2304 iph_hdr_length = IPH_HDR_LENGTH(ipha); in ipsec_inbound_accept_clear()
2305 icmph = (icmph_t *)&mp->b_rptr[iph_hdr_length]; in ipsec_inbound_accept_clear()