/illumos-gate/usr/src/uts/common/io/mac/plugins/ |
H A D | mac_ipv4.c | 152 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()
|
/illumos-gate/usr/src/uts/common/netinet/ |
H A D | ip_var.h | 63 uchar_t ip_hl:4, member 67 ip_hl:4;
|
H A D | ip.h | 41 uchar_t ip_hl:4, /* header length */ member 45 ip_hl:4; /* header length */
|
H A D | ip_icmp.h | 123 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8)
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | ip.c | 112 ip->ip_hl = sizeof(*ip) >> 2; /* half-char */ in sendip() 242 hlen = ip->ip_hl << 2; in readipv4() 356 n += ntohs(ipq->ipq_hdr->ip_len) - (ipq->ipq_hdr->ip_hl << 2); in readipv4() 372 ipr->ip_hdr->ip_hl = sizeof (*ipr->ip_hdr) >> 2; in readipv4() 383 hlen = ipq->ipq_hdr->ip_hl << 2; in readipv4()
|
/illumos-gate/usr/src/boot/include/netinet/ |
H A D | ip.h | 51 u_char ip_hl:4, /* header length */ member 56 ip_hl:4; /* header length */ member
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute_aux.c | 118 outip->ip_hl = (outp - (uchar_t *)outip) >> 2; in set_buffers() 339 hlen = ip->ip_hl << 2; in check_reply() 366 hlen = hip->ip_hl << 2; in check_reply()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux.c | 281 hlen = ip->ip_hl << 2; in check_reply() 308 hlen1 = ip->ip_hl << 2; in check_reply() 697 hlen1 = ip->ip_hl << 2; in check_reply() 729 hlen1 = ip->ip_hl << 2; in check_reply() 788 hlen1 = ip->ip_hl << 2; in check_reply()
|
/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)
|
H A D | ipv4.c | 725 iphlen = iphp->ip_hl << 2; in ipv4_input() 1002 iphp->ip_hl = sizeof (struct ip) / 4; in ipv4_output()
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_tcp.c | 126 iphs = iphp->ip_hl * 4; in sfxge_pkthdr_parse()
|
H A D | sfxge_tx.c | 1636 if (size + (thp->th_off << 2) + (iphp->ip_hl << 2) != in sfxge_tx_qlso_fragment() 1654 iphp->ip_len = htons((iphp->ip_hl << 2) + (thp->th_off << 2) + mss); in sfxge_tx_qlso_fragment() 1677 iphp->ip_len = htons((iphp->ip_hl << 2) + in sfxge_tx_qlso_fragment()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ |
H A D | ilb_probe.c | 390 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()
|
/illumos-gate/usr/src/test/os-tests/tests/mac/ |
H A D | mac_parsing.c | 129 .ip_hl = 5, in append_ip4() 209 .ip_hl = 5, in build_frag_v4()
|
/illumos-gate/usr/src/lib/varpd/libvarpd/common/ |
H A D | libvarpd_arp.c | 550 if (otl->otl_hdrsize + ip->ip_hl * 4 + sizeof (struct udphdr) > in libvarpd_plugin_proxy_dhcp() 558 ip->ip_hl * 4); in libvarpd_plugin_proxy_dhcp()
|
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge_lro.c | 152 if ((ip->ip_hl << 2) != sizeof (*ip)) in myri10ge_lro_rx()
|
H A D | myri10ge.c | 1728 (((uint8_t *)ip) + (ip->ip_hl << 2)); in myri10ge_toeplitz_send_hash() 1752 hdr = (struct tcphdr *)(void *)(((uint8_t *)ip) + (ip->ip_hl << 2)); in myri10ge_simple_send_hash() 1802 ihl = ip->ip_hl << 2; in myri10ge_send_hash() 2343 start = ip->ip_hl << 2; in myri10ge_rx_csum() 3071 if (seglen < off + (ip->ip_hl << 2) + sizeof (*tcp)) { in myri10ge_lso_parse_header() 3073 (ip->ip_hl << 2) + sizeof (*tcp), buf); in myri10ge_lso_parse_header() 3076 tcp = (struct tcphdr *)(void *)((char *)ip + (ip->ip_hl << 2)); in myri10ge_lso_parse_header() 3107 return (off + ((ip->ip_hl + tcp->th_off) << 2)); in myri10ge_lso_parse_header()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_icmp.c | 129 ICMP_MINLEN + icmp->icmp_ip.ip_hl * 4); in interpret_icmp()
|
H A D | snoop_ip.c | 103 hdrlen = ip->ip_hl * 4; in interpret_ip()
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_fil_solaris.c | 1380 ip->ip_hl = sizeof(*ip) >> 2; 1600 ip->ip_hl = sizeof(*ip) >> 2;
|
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_compat.h | 1784 # define IP_HL(x) (x)->ip_hl 1787 # define IP_HL_A(x,y) (x)->ip_hl = ((y) & 0xf)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | rdisc.c | 1294 hlen = buf.pkt.ip.ip_hl << 2; in read_d()
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_send.c | 1277 iphlen = oiph->ip_hl * 4; in nxge_do_softlso()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/ |
H A D | in.rdisc.c | 770 hlen = ip->ip_hl << 2; in pr_pack()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_probe.c | 426 iphlen = ip->ip_hl << 2; in in_data()
|