/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | tn_ipopt.c | 560 remlen = IPH_HDR_LENGTH(ipha) - IP_SIMPLE_HDR_LENGTH; in tsol_remove_secopt() 658 remlen = IPH_HDR_LENGTH(ipha) - IP_SIMPLE_HDR_LENGTH; in tsol_prepend_option() 775 remlen = IPH_HDR_LENGTH(ipha); in tsol_prepend_option() 864 hlen = IPH_HDR_LENGTH(ipha) - IP_SIMPLE_HDR_LENGTH; in tsol_check_label_v4() 888 hlen = IPH_HDR_LENGTH(ipha) + opt_storage[IPOPT_OLEN]; in tsol_check_label_v4() 892 hlen -= IPH_HDR_LENGTH(ipha); in tsol_check_label_v4()
|
H A D | ip_mroute.c | 2101 IPH_HDR_LENGTH(mp_copy->b_rptr); in ip_mdq() 2316 mp_dup->b_rptr += IPH_HDR_LENGTH(ip); in pim_validate_cksum() 2360 iphlen = IPH_HDR_LENGTH(ip); in pim_input() 2617 int hlen = IPH_HDR_LENGTH(ipha); in ip_mroute_decap() 2639 hlen_encap = IPH_HDR_LENGTH(ipha_encap); in ip_mroute_decap() 2893 size_t hdr_length = IPH_HDR_LENGTH(ipha) + in tbf_control() 3132 ixas.ixa_ip_hdr_length = IPH_HDR_LENGTH(ipha); in tbf_send_packet() 3159 iras.ira_ip_hdr_length = IPH_HDR_LENGTH(ipha); in tbf_send_packet() 3271 (struct udphdr *)((char *)ipha + IPH_HDR_LENGTH(ipha)); in priority()
|
H A D | spd.c | 2305 iph_hdr_length = IPH_HDR_LENGTH(ipha); in ipsec_inbound_accept_clear() 2762 hdr_len = IPH_HDR_LENGTH(ipha); in ipsec_init_inbound_sel() 2867 hdr_len = IPH_HDR_LENGTH(ipha); in ipsec_init_outbound_ports() 5298 IPH_HDR_LENGTH(oiph) : 0); in ipsec_tun_outbound() 5697 inner_hdr += IPH_HDR_LENGTH( in ipsec_tun_inbound() 6399 IPH_HDR_LENGTH(iph); in ipsec_fragcache_add() 6511 IPH_HDR_LENGTH(oiph) : 0); in ipsec_fragcache_add() 6534 IPH_HDR_LENGTH(niph); in ipsec_fragcache_add() 6571 data = (char *)iph + IPH_HDR_LENGTH(iph) + in ipsec_fragcache_add() 6573 ndata = (char *)niph + IPH_HDR_LENGTH(niph); in ipsec_fragcache_add() [all …]
|
H A D | ipsecesp.c | 683 IPH_HDR_LENGTH(ipha)); in esp_fix_natt_checksums() 692 udpha = (udpha_t *)(data_mp->b_rptr + IPH_HDR_LENGTH(ipha)); in esp_fix_natt_checksums() 743 IPH_HDR_LENGTH(ipha)); in esp_strip_header() 744 divpoint = IPH_HDR_LENGTH(ipha); in esp_strip_header() 2023 uint_t hlen = IPH_HDR_LENGTH(ipha); in esp_prepare_udp() 2452 divpoint = IPH_HDR_LENGTH(ipha); in esp_outbound() 2644 IPH_HDR_LENGTH(ipha)); in esp_outbound()
|
H A D | ip_input.c | 718 (uint8_t *)ipha + IPH_HDR_LENGTH(ipha), &lb_dst); in ill_input_short_v4() 1095 ira->ira_ip_hdr_length = IPH_HDR_LENGTH(ipha); in ire_recv_forward_v4() 2957 if (IPH_HDR_LENGTH(inner_ipha) < sizeof (ipha_t)) { in ip_fanout_v4() 2977 ip_hdr_length = IPH_HDR_LENGTH(ipha); in ip_fanout_v4()
|
H A D | ip.c | 1760 hdr_length = IPH_HDR_LENGTH(ipha); in icmp_inbound_verify_v4() 1888 hdr_length = IPH_HDR_LENGTH(ipha); in icmp_inbound_too_big_v4() 2088 hdr_length = IPH_HDR_LENGTH(ipha); in icmp_inbound_error_fanout_v4() 2210 hdr_length = IPH_HDR_LENGTH(ipha); in icmp_inbound_error_fanout_v4() 2237 if (IPH_HDR_LENGTH(in_ipha) < sizeof (ipha_t)) { in icmp_inbound_error_fanout_v4() 2269 hdr_length = IPH_HDR_LENGTH(ipha); in icmp_inbound_error_fanout_v4() 2851 len_needed = IPH_HDR_LENGTH(ipha); in icmp_pkt() 2883 IPH_HDR_LENGTH(((uchar_t *)inner_ip6h)); in icmp_pkt() 3031 len_needed = IPH_HDR_LENGTH(ipha) + ICMPH_SIZE; in icmp_pkt_err_ok() 3041 (&((char *)ipha)[IPH_HDR_LENGTH(ipha)]); in icmp_pkt_err_ok() [all …]
|
H A D | ip_sadb.c | 859 preamble = IPH_HDR_LENGTH(ipha); in ipsec_inbound_esp_sa()
|
H A D | icmp.c | 1172 ASSERT(IPH_HDR_LENGTH(ipha) == ira->ira_ip_hdr_length); in icmp_icmp_input() 1177 iph_hdr_length = IPH_HDR_LENGTH(ipha); in icmp_icmp_input() 2612 ASSERT(ira->ira_ip_hdr_length == IPH_HDR_LENGTH(rptr)); in icmp_input() 3255 ip_hdr_length = IPH_HDR_LENGTH(ipha); in icmp_output_hdrincl()
|
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | ipv4_impl.h | 67 #define IPH_HDR_LENGTH(iph) (((struct ip *)(iph))->ip_hl << 2) macro
|
H A D | udp.c | 121 IPH_HDR_LENGTH(mp->b_rptr)); in udp_input()
|
/illumos-gate/usr/src/stand/lib/tcp/ |
H A D | tcp_inet.h | 94 (n) = IPH_HDR_LENGTH((mp)->b_rptr), \
|
/illumos-gate/usr/src/common/inet/ |
H A D | inet_hash.c | 234 skip_len += IPH_HDR_LENGTH(iphp); in inet_pkt_hash()
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | tcp.h | 122 (n) = IPH_HDR_LENGTH((mp)->b_rptr), \
|
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/ |
H A D | vmxnet3_tx.c | 116 ipLen = IPH_HDR_LENGTH((ipha_t *)ip); in vmxnet3_tx_prepare_offload()
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_tx.c | 534 IPH_HDR_LENGTH((ipha_t *)ip_start); in e1000g_retrieve_context() 541 + IPH_HDR_LENGTH((ipha_t *)ip_start) in e1000g_retrieve_context()
|
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_nat.c | 585 icmph->icmph_checksum = IP_CSUM(mp, IPH_HDR_LENGTH(out_iph), 0); in ilb_nat_icmpv4()
|
H A D | ilb_conn.c | 921 if ((uint8_t *)in_iph4 + IPH_HDR_LENGTH(in_iph4) + in ilb_check_icmp_conn() 936 IPH_HDR_LENGTH(in_iph4)); in ilb_check_icmp_conn()
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_error.c | 222 ip_hdr_len = IPH_HDR_LENGTH(inmp->b_rptr); in sctp_send_abort()
|
H A D | sctp.c | 1103 iph_hdr_length = IPH_HDR_LENGTH(ipha); in sctp_icmp_error() 1107 iph_hdr_length = IPH_HDR_LENGTH(ipha); in sctp_icmp_error()
|
/illumos-gate/usr/src/uts/intel/io/viona/ |
H A D | viona_tx.c | 475 IPH_TCPH_CHECKSUMP(ipha, IPH_HDR_LENGTH(ipha)); in viona_tx_offloads()
|
/illumos-gate/usr/src/uts/common/io/qede/ |
H A D | qede_fp.c | 877 pktinfo->ip_hlen = IPH_HDR_LENGTH(ip_hdr); in qede_pkt_parse_lso_headers() 1781 ip_hdr_len = IPH_HDR_LENGTH(iphdr); in qede_hash_get_txq()
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_util.c | 805 oiphlen = IPH_HDR_LENGTH(oiph); in mac_sw_lso() 1982 skip_len += IPH_HDR_LENGTH(iphp); in mac_pkt_hash()
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_fusion.c | 559 IPH_HDR_LENGTH((ipha_t *)mp1->b_rptr) : in tcp_fuse_output()
|
/illumos-gate/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 2273 hlen = IPH_HDR_LENGTH(ipha); in is_icmp_error() 2322 outer_hlen = IPH_HDR_LENGTH(ipha); in iptun_find_headers() 2967 ixa->ixa_ip_hdr_length = IPH_HDR_LENGTH(outer4); in iptun_out_process_ipv4()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ether.c | 1749 return (msgsize < sizeof (ipha_t) ? 0 : IPH_HDR_LENGTH((ipha_t *)hdr)); in ipv4_header_len()
|