Home
last modified time | relevance | path

Searched refs:iphlen (Results 1 – 2 of 2) sorted by relevance

/external/qemu/slirp2/
Dudp.c76 udp_input(m, iphlen) in udp_input() argument
78 int iphlen;
89 DEBUG_ARG("iphlen = %d", iphlen);
99 if(iphlen > sizeof(struct ip)) {
101 iphlen = sizeof(struct ip);
108 uh = (struct udphdr *)((caddr_t)ip + iphlen);
130 save_ip.ip_len+= iphlen; /* tcp_input subtracts this */
222 iphlen += sizeof(struct udphdr);
223 m->m_len -= iphlen;
224 m->m_data += iphlen;
[all …]
Dtcp_input.c236 tcp_input(m, iphlen, inso) in tcp_input() argument
238 int iphlen;
258 (long )m, iphlen, (long )inso ));
284 if (iphlen > sizeof(struct ip )) {
286 iphlen=sizeof(struct ip );
297 save_ip.ip_len+= iphlen;