Home | History | Annotate | Download | only in netinet

Lines Matching refs:ip_hl

261 	.ip_hl = sizeof(struct ip) >> 2,
310 .ip_hl = sizeof(struct ip) >> 2,
1319 if (ip->ip_hl < (IP_HDR_LEN + TUNNEL_LEN) >> 2 ||
1364 const int hlen = ip->ip_hl << 2;
1591 const int plen = ntohs(ip->ip_len) - (ip->ip_hl << 2);
1645 const int hlen = ip->ip_hl << 2;
1724 const int hlen = ip->ip_hl << 2;
1799 ip->ip_sum = in_cksum(mb_copy, ip->ip_hl << 2);
2116 struct udphdr *udp = (struct udphdr *)(((char *)ip) + (ip->ip_hl << 2));
2783 mb_copy = m_pullup(mb_copy, ip->ip_hl << 2);
2797 ip->ip_sum = in_cksum(mb_copy, ip->ip_hl << 2);
3096 if (encap_ip->ip_hl != (sizeof(struct ip) >> 2)) {
3131 encap_ip->ip_sum = in_cksum(m, encap_ip->ip_hl << 2);