Searched defs:iphlen (Results 1 - 4 of 4) sorted by relevance

/external/qemu/slirp/
H A Dtcp_input.c233 tcp_input(struct mbuf *m, int iphlen, struct socket *inso) argument
252 DEBUG_ARGS((dfd," m = %8lx iphlen = %2d inso = %lx\n",
253 (long )m, iphlen, (long )inso ));
279 if (iphlen > sizeof(struct ip )) {
281 iphlen=sizeof(struct ip );
292 save_ip.ip_len+= iphlen;
H A Dudp.c75 udp_input(register struct mbuf *m, int iphlen) argument
86 DEBUG_ARG("iphlen = %d", iphlen);
96 if(iphlen > sizeof(struct ip)) {
98 iphlen = sizeof(struct ip);
105 uh = (struct udphdr *)((caddr_t)ip + iphlen);
127 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...]
/external/qemu/slirp-android/
H A Dtcp_input.c233 tcp_input(struct mbuf *m, int iphlen, struct socket *inso) argument
252 DEBUG_ARGS((dfd," m = %8lx iphlen = %2d inso = %lx\n",
253 (long )m, iphlen, (long )inso ));
279 if (iphlen > sizeof(struct ip )) {
281 iphlen=sizeof(struct ip );
292 save_ip.ip_len+= iphlen;
H A Dudp.c82 udp_input(register struct mbuf *m, int iphlen) argument
93 DEBUG_ARG("iphlen = %d", iphlen);
103 if(iphlen > sizeof(struct ip)) {
105 iphlen = sizeof(struct ip);
112 uh = (struct udphdr *)((caddr_t)ip + iphlen);
165 save_ip.ip_len+= iphlen; /* tcp_input subtracts this */
272 iphlen += sizeof(struct udphdr);
273 m->m_len -= iphlen;
274 m->m_data += iphlen;
[all...]

Completed in 83 milliseconds