Home | History | Annotate | Download | only in slirp-android

Lines Matching defs:hlen

79 	int hlen;
99 hlen = ip->ip_hl << 2;
100 if (hlen<sizeof(struct ip ) || hlen>m->m_len) {/* min header length */
106 * ip->ip_sum = cksum(m, hlen);
109 if(cksum(m,hlen)) {
118 if (ip->ip_len < hlen) {
173 /* if (hlen > sizeof (struct ip) && ip_dooptions(m))
208 ip->ip_len -= hlen;
233 ip->ip_len -= hlen;
241 tcp_input(m, hlen, (struct socket *)NULL);
244 udp_input(m, hlen);
247 icmp_input(m, hlen);
272 int hlen = ip->ip_hl << 2;
285 m->m_data += hlen;
286 m->m_len -= hlen;