Home
last modified time | relevance | path

Searched refs:ip_hl (Results 1 – 22 of 22) sorted by relevance

/titanic_41/usr/src/uts/common/io/mac/plugins/
H A Dmac_ipv4.c152 hdr_len = tmpl_iphp->ip_hl * sizeof (uint32_t); in mac_ipv4_header()
163 iphp->ip_hl = IP_SIMPLE_HDR_LENGTH_IN_WORDS; in mac_ipv4_header()
196 hdr_info->mhi_hdrsize = iphp->ip_hl * sizeof (uint32_t); in mac_ipv4_header_info()
218 return (pdata_size == iphp->ip_hl * sizeof (uint32_t)); in mac_ipv4_pdata_verify()
/titanic_41/usr/src/uts/common/netinet/
H A Dip_var.h64 uchar_t ip_hl:4, member
68 ip_hl:4;
H A Dip.h42 uchar_t ip_hl:4, /* header length */ member
46 ip_hl:4; /* header length */
H A Dip_icmp.h122 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8)
/titanic_41/usr/src/stand/lib/inet/
H A Dipv4_impl.h67 #define IPH_HDR_LENGTH(iph) (((struct ip *)(iph))->ip_hl << 2)
H A Dipv4.c725 iphlen = iphp->ip_hl << 2; in ipv4_input()
1002 iphp->ip_hl = sizeof (struct ip) / 4; in ipv4_output()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux.c120 outip->ip_hl = (outp - (uchar_t *)outip) >> 2; in set_buffers()
341 hlen = ip->ip_hl << 2; in check_reply()
368 hlen = hip->ip_hl << 2; in check_reply()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux.c289 hlen = ip->ip_hl << 2; in check_reply()
316 hlen1 = ip->ip_hl << 2; in check_reply()
714 hlen1 = ip->ip_hl << 2; in check_reply()
748 hlen1 = ip->ip_hl << 2; in check_reply()
809 hlen1 = ip->ip_hl << 2; in check_reply()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/
H A Dilb_probe.c390 udph = (struct udphdr *)((char *)iph + (iph->ip_hl << 2)); in check_icmp_unreach_v4()
443 icmph = (struct icmp *)((char *)iph + (iph->ip_hl << 2)); in check_icmp_v4()
/titanic_41/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge_lro.c157 if ((ip->ip_hl << 2) != sizeof (*ip)) in myri10ge_lro_rx()
H A Dmyri10ge.c1734 (((uint8_t *)ip) + (ip->ip_hl << 2)); in myri10ge_toeplitz_send_hash()
1758 hdr = (struct tcphdr *)(void *)(((uint8_t *)ip) + (ip->ip_hl << 2)); in myri10ge_simple_send_hash()
1808 ihl = ip->ip_hl << 2; in myri10ge_send_hash()
2349 start = ip->ip_hl << 2; in myri10ge_rx_csum()
3077 if (seglen < off + (ip->ip_hl << 2) + sizeof (*tcp)) { in myri10ge_lso_parse_header()
3079 (ip->ip_hl << 2) + sizeof (*tcp), buf); in myri10ge_lso_parse_header()
3082 tcp = (struct tcphdr *)(void *)((char *)ip + (ip->ip_hl << 2)); in myri10ge_lso_parse_header()
3113 return (off + ((ip->ip_hl + tcp->th_off) << 2)); in myri10ge_lso_parse_header()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_icmp.c125 ICMP_MINLEN + icmp->icmp_ip.ip_hl * 4); in interpret_icmp()
H A Dsnoop_ip.c103 hdrlen = ip->ip_hl * 4; in interpret_ip()
/titanic_41/usr/src/uts/common/inet/ipf/
H A Dip_fil_solaris.c1166 ip->ip_hl = sizeof(*ip) >> 2;
1386 ip->ip_hl = sizeof(*ip) >> 2;
/titanic_41/usr/src/uts/common/inet/ipf/netinet/
H A Dip_compat.h1777 # define IP_HL(x) (x)->ip_hl
1780 # define IP_HL_A(x,y) (x)->ip_hl = ((y) & 0xf)
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Drdisc.c1296 hlen = buf.pkt.ip.ip_hl << 2; in read_d()
/titanic_41/usr/src/uts/common/io/nxge/
H A Dnxge_send.c1299 iphlen = oiph->ip_hl * 4; in nxge_do_softlso()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c772 hlen = ip->ip_hl << 2; in pr_pack()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_probe.c426 iphlen = ip->ip_hl << 2; in in_data()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd.c3083 ip->ip_hl = sizeof (struct ip) >> 2; in vrrpd_send_adv_v4()
3467 (vrrp_pkt_t *)((char *)ip + ip->ip_hl * 4), ntohs(ip->ip_len), in vrrpd_process_adv_v4()
/titanic_41/usr/src/uts/common/io/xge/drv/
H A Dxgell.c637 start = ip->ip_hl * 4; in xgell_rx_hcksum_assoc()
/titanic_41/usr/src/stand/lib/tcp/
H A Dtcp.c5497 tcp->tcp_ipha->ip_hl = IP_SIMPLE_HDR_LENGTH_IN_WORDS; in tcp_header_init_ipv4()