Searched refs:ip_off (Results 1 - 16 of 16) sorted by relevance

/external/qemu/slirp/
H A Dip_output.c78 ip->ip_off &= IP_DF;
99 ip->ip_off = htons((u_int16_t)ip->ip_off);
111 if (ip->ip_off & IP_DF) {
152 mhip->ip_off = ((off - hlen) >> 3) + (ip->ip_off & ~IP_MF);
153 if (ip->ip_off & IP_MF)
154 mhip->ip_off |= IP_MF;
158 mhip->ip_off |= IP_MF;
166 mhip->ip_off
[all...]
H A Dip_input.c123 NTOHS(ip->ip_off);
185 if (ip->ip_off &~ IP_DF) {
209 if (ip->ip_off & IP_MF)
214 ip->ip_off <<= 3;
221 if (ip->ip_tos & 1 || ip->ip_off) {
311 if (q->ipf_off > ip->ip_off)
321 i = pq->ipf_off + pq->ipf_len - ip->ip_off;
326 ip->ip_off += i;
336 ip->ip_off + ip->ip_len > q->ipf_off) {
337 i = (ip->ip_off
[all...]
H A Dip.h86 u_int16_t ip_off; /* fragment offset field */ member in struct:ip
234 #define ipf_off ipf_ip.ip_off
H A Dip_icmp.c228 if(ip->ip_off & IP_OFFMASK) goto end_error; /* Only reply to fragment 0 */
276 HTONS(icp->icmp_ip.ip_off);
/external/qemu/slirp-android/
H A Dip_output.c78 ip->ip_off &= IP_DF;
99 ip->ip_off = htons((u_int16_t)ip->ip_off);
111 if (ip->ip_off & IP_DF) {
152 mhip->ip_off = ((off - hlen) >> 3) + (ip->ip_off & ~IP_MF);
153 if (ip->ip_off & IP_MF)
154 mhip->ip_off |= IP_MF;
158 mhip->ip_off |= IP_MF;
166 mhip->ip_off
[all...]
H A Dip_input.c123 NTOHS(ip->ip_off);
185 if (ip->ip_off &~ IP_DF) {
209 if (ip->ip_off & IP_MF)
214 ip->ip_off <<= 3;
221 if (ip->ip_tos & 1 || ip->ip_off) {
311 if (q->ipf_off > ip->ip_off)
321 i = pq->ipf_off + pq->ipf_len - ip->ip_off;
326 ip->ip_off += i;
336 ip->ip_off + ip->ip_len > q->ipf_off) {
337 i = (ip->ip_off
[all...]
H A Dip.h88 u_int16_t ip_off; /* fragment offset field */ member in struct:ip
236 #define ipf_off ipf_ip.ip_off
H A Dip_icmp.c230 if(ip->ip_off & IP_OFFMASK) goto end_error; /* Only reply to fragment 0 */
278 HTONS(icp->icmp_ip.ip_off);
/external/tcpdump/
H A Dip.h46 * We declare ip_len and ip_off to be short, rather than u_short
57 u_int16_t ip_off; /* fragment offset field */ member in struct:ip
H A Dprint-esp.c625 if (EXTRACT_16BITS(&ip->ip_off) & IP_MF)
H A Dprint-ip.c581 ipds->off = EXTRACT_16BITS(&ipds->ip->ip_off);
/external/dnsmasq/src/
H A Dbpf.c210 ip.ip_off = htons(0x4000); /* don't fragment */
/external/dhcpcd/
H A Dnet.c800 packet.ip.ip_off = 0;
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
H A Dsctp_os_userspace.h369 u_short ip_off; member in struct:ip
H A Dsctp_output.c4237 ip->ip_off = htons(IP_DF);
4239 ip->ip_off = IP_DF;
4242 ip->ip_off = IP_DF;
4244 ip->ip_off = htons(IP_DF);
4248 ip->ip_off = htons(0);
4250 ip->ip_off = 0;
11588 ip->ip_off = 0;
/external/chromium_org/third_party/usrsctp/usrsctplib/
H A Duser_socket.c2827 ip->ip_off = 0;

Completed in 520 milliseconds