Home
last modified time | relevance | path

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

12

/illumos-gate/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()
/illumos-gate/usr/src/uts/common/netinet/
H A Dip_var.h63 uchar_t ip_hl:4, member
67 ip_hl:4;
H A Dip.h41 uchar_t ip_hl:4, /* header length */ member
45 ip_hl:4; /* header length */
H A Dip_icmp.h123 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8)
/illumos-gate/usr/src/boot/libsa/
H A Dip.c112 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 Dip.h51 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 Dtraceroute_aux.c118 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 Dping_aux.c281 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 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()
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_tcp.c126 iphs = iphp->ip_hl * 4; in sfxge_pkthdr_parse()
H A Dsfxge_tx.c1636 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 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()
/illumos-gate/usr/src/test/os-tests/tests/mac/
H A Dmac_parsing.c129 .ip_hl = 5, in append_ip4()
209 .ip_hl = 5, in build_frag_v4()
/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_arp.c550 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 Dmyri10ge_lro.c152 if ((ip->ip_hl << 2) != sizeof (*ip)) in myri10ge_lro_rx()
H A Dmyri10ge.c1728 (((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 Dsnoop_icmp.c129 ICMP_MINLEN + icmp->icmp_ip.ip_hl * 4); in interpret_icmp()
H A Dsnoop_ip.c103 hdrlen = ip->ip_hl * 4; in interpret_ip()
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_fil_solaris.c1380 ip->ip_hl = sizeof(*ip) >> 2;
1600 ip->ip_hl = sizeof(*ip) >> 2;
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_compat.h1784 # 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 Drdisc.c1294 hlen = buf.pkt.ip.ip_hl << 2; in read_d()
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_send.c1277 iphlen = oiph->ip_hl * 4; in nxge_do_softlso()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c770 hlen = ip->ip_hl << 2; in pr_pack()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_probe.c426 iphlen = ip->ip_hl << 2; in in_data()

12