Home
last modified time | relevance | path

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

/illumos-gate/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()
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_input.c5728 int iph_hdr_length; in tcp_icmp_input() local
5757 iph_hdr_length = ira->ira_ip_hdr_length; in tcp_icmp_input()
5758 icmph = (icmph_t *)&mp->b_rptr[iph_hdr_length]; in tcp_icmp_input()
5764 if (iph_hdr_length < sizeof (ipha_t) || in tcp_icmp_input()
5773 iph_hdr_length = IPH_HDR_LENGTH(ipha); in tcp_icmp_input()
5774 tcpha = (tcpha_t *)((char *)ipha + iph_hdr_length); in tcp_icmp_input()
5780 if (iph_hdr_length < sizeof (ipha_t) || in tcp_icmp_input()
5878 uint16_t iph_hdr_length = ira->ira_ip_hdr_length; in tcp_icmp_error_ipv6() local
5888 icmp6 = (icmp6_t *)&mp->b_rptr[iph_hdr_length]; in tcp_icmp_error_ipv6()
5899 if (!ip_hdr_length_nexthdr_v6(mp, ip6h, &iph_hdr_length, &nexthdrp)) in tcp_icmp_error_ipv6()
[all …]
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp.c978 int iph_hdr_length; in udp_icmp_input() local
999 iph_hdr_length = ira->ira_ip_hdr_length; in udp_icmp_input()
1000 icmph = (icmph_t *)&mp->b_rptr[iph_hdr_length]; in udp_icmp_input()
1004 iph_hdr_length = IPH_HDR_LENGTH(ipha); in udp_icmp_input()
1005 udpha = (udpha_t *)((char *)ipha + iph_hdr_length); in udp_icmp_input()
1145 uint16_t iph_hdr_length; in udp_icmp_error_ipv6() local
1157 iph_hdr_length = ip_hdr_length_v6(mp, outer_ip6h); in udp_icmp_error_ipv6()
1159 iph_hdr_length = IPV6_HDR_LEN; in udp_icmp_error_ipv6()
1160 ASSERT(iph_hdr_length == ira->ira_ip_hdr_length); in udp_icmp_error_ipv6()
1163 iph_hdr_length = ira->ira_ip_hdr_length; in udp_icmp_error_ipv6()
[all …]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dicmp.c1155 int iph_hdr_length; in icmp_icmp_input() local
1173 iph_hdr_length = ira->ira_ip_hdr_length; in icmp_icmp_input()
1174 icmph = (icmph_t *)&mp->b_rptr[iph_hdr_length]; in icmp_icmp_input()
1177 iph_hdr_length = IPH_HDR_LENGTH(ipha); in icmp_icmp_input()
1283 uint16_t iph_hdr_length; in icmp_icmp_error_ipv6() local
1293 iph_hdr_length = ip_hdr_length_v6(mp, outer_ip6h); in icmp_icmp_error_ipv6()
1295 iph_hdr_length = IPV6_HDR_LEN; in icmp_icmp_error_ipv6()
1296 ASSERT(iph_hdr_length == ira->ira_ip_hdr_length); in icmp_icmp_error_ipv6()
1299 iph_hdr_length = ira->ira_ip_hdr_length; in icmp_icmp_error_ipv6()
1300 icmp6 = (icmp6_t *)&mp->b_rptr[iph_hdr_length]; in icmp_icmp_error_ipv6()
[all …]
H A Dipsecah.c1983 int iph_hdr_length; in ah_icmp_error_v4() local
1997 iph_hdr_length = IPH_HDR_LENGTH(ipha); in ah_icmp_error_v4()
1998 icmph = (icmph_t *)&mp->b_rptr[iph_hdr_length]; in ah_icmp_error_v4()
2019 icmph = (icmph_t *)&mp->b_rptr[iph_hdr_length]; in ah_icmp_error_v4()
2088 icmph = (icmph_t *)&mp->b_rptr[iph_hdr_length]; in ah_icmp_error_v4()
2104 alloc_size = iph_hdr_length + sizeof (icmph_t) + hdr_length; in ah_icmp_error_v4()
2131 ipha = (ipha_t *)(mp1->b_rptr + iph_hdr_length + sizeof (icmph_t)); in ah_icmp_error_v4()
H A Dspd.c2247 ushort_t iph_hdr_length; in ipsec_inbound_accept_clear() local
2256 iph_hdr_length = ip_hdr_length_v6(mp, ip6h); in ipsec_inbound_accept_clear()
2257 if (!ip_hdr_length_nexthdr_v6(mp, ip6h, &iph_hdr_length, in ipsec_inbound_accept_clear()
2263 icmp6 = (icmp6_t *)(&mp->b_rptr[iph_hdr_length]); in ipsec_inbound_accept_clear()
2305 iph_hdr_length = IPH_HDR_LENGTH(ipha); in ipsec_inbound_accept_clear()
2306 icmph = (icmph_t *)&mp->b_rptr[iph_hdr_length]; in ipsec_inbound_accept_clear()