Home | History | Annotate | Download | only in slirp

Lines Matching defs:ip

235   	struct ip save_ip, *ip;
275 * Get IP and TCP header together in first mbuf.
276 * Note: IP leaves IP header in first mbuf.
279 if (iphlen > sizeof(struct ip )) {
281 iphlen=sizeof(struct ip );
287 * Save a copy of the IP header in case we want restore it
290 ip=mtod(m, struct ip *);
291 save_ip = *ip;
297 tlen = ((struct ip *)ti)->ip_len;
302 len = sizeof(struct ip ) + tlen;
356 * Drop TCP, IP headers and TCP options.
422 so->so_iptos = ((struct ip *)ti)->ip_tos;
687 *ip=save_ip;
1684 * interface without forcing IP to fragment; if bigger than
1688 * size (usually 512 or the default IP max size, but no more than the mtu