Home
last modified time | relevance | path

Searched refs:IPH_HDR_LENGTH (Results 1 – 25 of 43) sorted by relevance

12

/titanic_41/usr/src/stand/lib/inet/
H A Dipv4_impl.h67 #define IPH_HDR_LENGTH(iph) (((struct ip *)(iph))->ip_hl << 2) macro
H A Dudp.c121 IPH_HDR_LENGTH(mp->b_rptr)); in udp_input()
/titanic_41/usr/src/uts/common/inet/ip/
H A Dtn_ipopt.c560 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 Dip_mroute.c2096 IPH_HDR_LENGTH(mp_copy->b_rptr); in ip_mdq()
2309 mp_dup->b_rptr += IPH_HDR_LENGTH(ip); in pim_validate_cksum()
2353 iphlen = IPH_HDR_LENGTH(ip); in pim_input()
2610 int hlen = IPH_HDR_LENGTH(ipha); in ip_mroute_decap()
2632 hlen_encap = IPH_HDR_LENGTH(ipha_encap); in ip_mroute_decap()
2886 size_t hdr_length = IPH_HDR_LENGTH(ipha) + in tbf_control()
3125 ixas.ixa_ip_hdr_length = IPH_HDR_LENGTH(ipha); in tbf_send_packet()
3152 iras.ira_ip_hdr_length = IPH_HDR_LENGTH(ipha); in tbf_send_packet()
3264 (struct udphdr *)((char *)ipha + IPH_HDR_LENGTH(ipha)); in priority()
H A Dspd.c2304 iph_hdr_length = IPH_HDR_LENGTH(ipha); in ipsec_inbound_accept_clear()
2761 hdr_len = IPH_HDR_LENGTH(ipha); in ipsec_init_inbound_sel()
2866 hdr_len = IPH_HDR_LENGTH(ipha); in ipsec_init_outbound_ports()
5291 IPH_HDR_LENGTH(oiph) : 0); in ipsec_tun_outbound()
5690 inner_hdr += IPH_HDR_LENGTH( in ipsec_tun_inbound()
6389 IPH_HDR_LENGTH(iph); in ipsec_fragcache_add()
6501 IPH_HDR_LENGTH(oiph) : 0); in ipsec_fragcache_add()
6524 IPH_HDR_LENGTH(niph); in ipsec_fragcache_add()
6561 data = (char *)iph + IPH_HDR_LENGTH(iph) + in ipsec_fragcache_add()
6563 ndata = (char *)niph + IPH_HDR_LENGTH(niph); in ipsec_fragcache_add()
[all …]
H A Dipsecesp.c752 IPH_HDR_LENGTH(ipha)); in esp_fix_natt_checksums()
761 udpha = (udpha_t *)(data_mp->b_rptr + IPH_HDR_LENGTH(ipha)); in esp_fix_natt_checksums()
812 IPH_HDR_LENGTH(ipha)); in esp_strip_header()
813 divpoint = IPH_HDR_LENGTH(ipha); in esp_strip_header()
2266 uint_t hlen = IPH_HDR_LENGTH(ipha); in esp_prepare_udp()
2693 divpoint = IPH_HDR_LENGTH(ipha); in esp_outbound()
2886 IPH_HDR_LENGTH(ipha)); in esp_outbound()
H A Dip_input.c715 (uint8_t *)ipha + IPH_HDR_LENGTH(ipha), &lb_dst); in ill_input_short_v4()
1092 ira->ira_ip_hdr_length = IPH_HDR_LENGTH(ipha); in ire_recv_forward_v4()
2955 if (IPH_HDR_LENGTH(inner_ipha) < sizeof (ipha_t)) { in ip_fanout_v4()
2975 ip_hdr_length = IPH_HDR_LENGTH(ipha); in ip_fanout_v4()
H A Dip_sadb.c859 preamble = IPH_HDR_LENGTH(ipha); in ipsec_inbound_esp_sa()
H A Dip.c1762 hdr_length = IPH_HDR_LENGTH(ipha); in icmp_inbound_verify_v4()
1890 hdr_length = IPH_HDR_LENGTH(ipha); in icmp_inbound_too_big_v4()
2090 hdr_length = IPH_HDR_LENGTH(ipha); in icmp_inbound_error_fanout_v4()
2207 hdr_length = IPH_HDR_LENGTH(ipha); in icmp_inbound_error_fanout_v4()
2234 if (IPH_HDR_LENGTH(in_ipha) < sizeof (ipha_t)) { in icmp_inbound_error_fanout_v4()
2266 hdr_length = IPH_HDR_LENGTH(ipha); in icmp_inbound_error_fanout_v4()
2847 len_needed = IPH_HDR_LENGTH(ipha); in icmp_pkt()
2859 len_needed += IPH_HDR_LENGTH(((uchar_t *)ipha + in icmp_pkt()
3006 len_needed = IPH_HDR_LENGTH(ipha) + ICMPH_SIZE; in icmp_pkt_err_ok()
3016 (&((char *)ipha)[IPH_HDR_LENGTH(ipha)]); in icmp_pkt_err_ok()
[all …]
H A Dicmp.c1164 ASSERT(IPH_HDR_LENGTH(ipha) == ira->ira_ip_hdr_length); in icmp_icmp_input()
1169 iph_hdr_length = IPH_HDR_LENGTH(ipha); in icmp_icmp_input()
2604 ASSERT(ira->ira_ip_hdr_length == IPH_HDR_LENGTH(rptr)); in icmp_input()
3247 ip_hdr_length = IPH_HDR_LENGTH(ipha); in icmp_output_hdrincl()
/titanic_41/usr/src/stand/lib/tcp/
H A Dtcp_inet.h94 (n) = IPH_HDR_LENGTH((mp)->b_rptr), \
/titanic_41/usr/src/uts/common/inet/
H A Dtcp.h119 (n) = IPH_HDR_LENGTH((mp)->b_rptr), \
/titanic_41/usr/src/uts/common/inet/ilb/
H A Dilb_nat.c585 icmph->icmph_checksum = IP_CSUM(mp, IPH_HDR_LENGTH(out_iph), 0); in ilb_nat_icmpv4()
H A Dilb_conn.c912 if ((uint8_t *)in_iph4 + IPH_HDR_LENGTH(in_iph4) + in ilb_check_icmp_conn()
927 IPH_HDR_LENGTH(in_iph4)); in ilb_check_icmp_conn()
/titanic_41/usr/src/uts/common/io/e1000g/
H A De1000g_tx.c534 IPH_HDR_LENGTH((ipha_t *)ip_start); in e1000g_retrieve_context()
541 + IPH_HDR_LENGTH((ipha_t *)ip_start) in e1000g_retrieve_context()
/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_error.c222 ip_hdr_len = IPH_HDR_LENGTH(inmp->b_rptr); in sctp_send_abort()
H A Dsctp.c1103 iph_hdr_length = IPH_HDR_LENGTH(ipha); in sctp_icmp_error()
1107 iph_hdr_length = IPH_HDR_LENGTH(ipha); in sctp_icmp_error()
/titanic_41/usr/src/uts/common/inet/tcp/
H A Dtcp_fusion.c537 IPH_HDR_LENGTH((ipha_t *)mp1->b_rptr) : in tcp_fuse_output()
/titanic_41/usr/src/uts/common/inet/iptun/
H A Diptun.c2271 hlen = IPH_HDR_LENGTH(ipha); in is_icmp_error()
2320 outer_hlen = IPH_HDR_LENGTH(ipha); in iptun_find_headers()
2965 ixa->ixa_ip_hdr_length = IPH_HDR_LENGTH(outer4); in iptun_out_process_ipv4()
/titanic_41/usr/src/uts/common/io/mac/
H A Dmac_util.c981 skip_len += IPH_HDR_LENGTH(iphp); in mac_pkt_hash()
H A Dmac_sched.c1798 hdr_len = IPH_HDR_LENGTH(ipha); in mac_rx_srs_long_fanout()
2076 ipha_len = IPH_HDR_LENGTH(ipha); in mac_rx_srs_fanout()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ether.c1747 return (msgsize < sizeof (ipha_t) ? 0 : IPH_HDR_LENGTH((ipha_t *)hdr)); in ipv4_header_len()
/titanic_41/usr/src/uts/common/io/ntxn/
H A Dunm_nic_main.c729 pktinfo->ip_hlen = IPH_HDR_LENGTH((uintptr_t)ip_off); in unm_get_pkt_info()
758 pktinfo->ip_hlen = IPH_HDR_LENGTH((uintptr_t)ipp); in unm_update_pkt_info()
/titanic_41/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_data.c809 ip_hdr_len = IPH_HDR_LENGTH((ipha_t *)ip_start); in eib_data_setup_lso()
/titanic_41/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd_cm.c211 len_needed = IPH_HDR_LENGTH(old_ipha); in ibd_async_rc_process_too_big()
213 len_needed += IPH_HDR_LENGTH(((uchar_t *)old_ipha + in ibd_async_rc_process_too_big()

12