HomeSort by relevance Sort by last modified time
    Searched refs:ip_len (Results 1 - 25 of 53) sorted by null

1 2 3

  /external/qemu/slirp/
ip_output.c 97 if ((u_int16_t)ip->ip_len <= IF_MTU) {
98 ip->ip_len = htons((u_int16_t)ip->ip_len);
133 for (off = hlen + len; off < (u_int16_t)ip->ip_len; off += len) {
155 if (off + len >= (u_int16_t)ip->ip_len)
156 len = (u_int16_t)ip->ip_len - off;
159 mhip->ip_len = htons((u_int16_t)(len + mhlen));
178 m_adj(m, hlen + firstlen - (u_int16_t)ip->ip_len);
179 ip->ip_len = htons((u_int16_t)m->m_len);
ip_icmp.c 75 int icmplen=ip->ip_len;
112 ip->ip_len += hlen; /* since ip_input subtracts this */
231 s_ip_len=ip->ip_len;
274 HTONS(icp->icmp_ip.ip_len);
298 ip->ip_len = m->m_len;
336 icp->icmp_cksum = cksum(m, ip->ip_len - hlen);
351 ip->ip_len -= optlen;
ip_input.c 117 NTOHS(ip->ip_len);
118 if (ip->ip_len < hlen) {
131 if (m->m_len < ip->ip_len) {
157 if (m->m_len > ip->ip_len)
158 m_adj(m, ip->ip_len - m->m_len);
204 * Adjust ip_len to not reflect header,
208 ip->ip_len -= hlen;
233 ip->ip_len -= hlen;
323 if (i >= ip->ip_len)
327 ip->ip_len -= i
    [all...]
ip.h 84 u_int16_t ip_len; /* total length */ member in struct:ip
236 #define ipf_len ipf_ip.ip_len
udp.c 72 * ip->ip_len length data (IPDU)
113 if (ip->ip_len != len) {
114 if (len > ip->ip_len) {
118 m_adj(m, len - ip->ip_len);
119 ip->ip_len = len;
127 save_ip.ip_len+= iphlen; /* tcp_input subtracts this */
298 ((struct ip *)ui)->ip_len = m->m_len;
  /external/qemu/slirp-android/
ip_output.c 97 if ((u_int16_t)ip->ip_len <= IF_MTU) {
98 ip->ip_len = htons((u_int16_t)ip->ip_len);
133 for (off = hlen + len; off < (u_int16_t)ip->ip_len; off += len) {
155 if (off + len >= (u_int16_t)ip->ip_len)
156 len = (u_int16_t)ip->ip_len - off;
159 mhip->ip_len = htons((u_int16_t)(len + mhlen));
178 m_adj(m, hlen + firstlen - (u_int16_t)ip->ip_len);
179 ip->ip_len = htons((u_int16_t)m->m_len);
ip_icmp.c 76 int icmplen=ip->ip_len;
113 ip->ip_len += hlen; /* since ip_input subtracts this */
233 s_ip_len=ip->ip_len;
276 HTONS(icp->icmp_ip.ip_len);
300 ip->ip_len = m->m_len;
338 icp->icmp_cksum = cksum(m, ip->ip_len - hlen);
353 ip->ip_len -= optlen;
ip_input.c 117 NTOHS(ip->ip_len);
118 if (ip->ip_len < hlen) {
131 if (m->m_len < ip->ip_len) {
157 if (m->m_len > ip->ip_len)
158 m_adj(m, ip->ip_len - m->m_len);
204 * Adjust ip_len to not reflect header,
208 ip->ip_len -= hlen;
233 ip->ip_len -= hlen;
323 if (i >= ip->ip_len)
327 ip->ip_len -= i
    [all...]
udp.c 79 * ip->ip_len length data (IPDU)
120 if (ip->ip_len != len) {
121 if (len > ip->ip_len) {
125 m_adj(m, len - ip->ip_len);
126 ip->ip_len = len;
165 save_ip.ip_len+= iphlen; /* tcp_input subtracts this */
353 ((struct ip *)ui)->ip_len = m->m_len;
ip.h 86 u_int16_t ip_len; /* total length */ member in struct:ip
238 #define ipf_len ipf_ip.ip_len
  /external/tcpdump/
ip.h 46 * We declare ip_len and ip_off to be short, rather than u_short
55 u_int16_t ip_len; /* total length */ member in struct:ip
  /external/wpa_supplicant_8/src/tls/
x509v3.h 44 size_t ip_len; /* IPv4: 4, IPv6: 16 */ member in struct:x509_name
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/netinet/
ip.h 119 u_short ip_len; /* total length */ member in struct:ip
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/netinet/
ip.h 119 u_short ip_len; /* total length */ member in struct:ip
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/netinet/
ip.h 119 u_short ip_len; /* total length */ member in struct:ip
  /external/dhcpcd/
net.c 684 * ip structure and an invalid ip_len (basically udp length).
703 ip->ip_len = udp->uh_ulen;
710 ip->ip_len = htons(sizeof(*ip) + sizeof(*udp) + length);
724 return ntohs(packet.ip.ip_len) -
753 bytes = ntohs(packet.ip.ip_len);
763 packet.ip.ip_len = packet.udp.uh_ulen;
  /bionic/libc/include/netinet/
ip.h 65 u_int16_t ip_len; /* total length */ member in struct:ip
  /development/ndk/platforms/android-3/include/netinet/
ip.h 65 u_int16_t ip_len; /* total length */ member in struct:ip
  /prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/netinet/
ip.h 65 u_int16_t ip_len; /* total length */ member in struct:ip
  /prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/netinet/
ip.h 65 u_int16_t ip_len; /* total length */ member in struct:ip
  /prebuilts/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/netinet/
ip.h 65 u_int16_t ip_len; /* total length */ member in struct:ip
  /prebuilts/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/netinet/
ip.h 65 u_int16_t ip_len; /* total length */ member in struct:ip
  /prebuilts/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/netinet/
ip.h 65 u_int16_t ip_len; /* total length */ member in struct:ip
  /prebuilts/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/netinet/
ip.h 65 u_int16_t ip_len; /* total length */ member in struct:ip
  /prebuilts/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/netinet/
ip.h 65 u_int16_t ip_len; /* total length */ member in struct:ip

Completed in 424 milliseconds

1 2 3