/external/chromium_org/net/quic/crypto/ |
source_address_token.cc | 38 size_t ip_len = plaintext[0]; local 39 if (plaintext_length <= 1 + ip_len) { 42 size_t time_len = plaintext[1 + ip_len]; 43 if (plaintext_length != 1 + ip_len + 1 + time_len) { 47 string time_str(&plaintext[1 + ip_len + 1], time_len); 53 ip_.assign(&plaintext[1], ip_len);
|
/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/libppp/src/ |
slcompress.c | 333 if (ip->ip_len != cs->cs_ip.ip_len && 334 ntohs(cs->cs_ip.ip_len) == hlen) 350 deltaS == ntohs(cs->cs_ip.ip_len) - hlen) { 358 if (deltaS == ntohs(cs->cs_ip.ip_len) - hlen) { 513 register u_int i = ntohs(cs->cs_ip.ip_len) - cs->cs_hlen; 521 th->th_seq = htonl(ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len) 567 cs->cs_ip.ip_len = htons(len);
|
tcpmss.c | 162 ntohs(pip->ip_len) == plen && hlen <= plen &&
|
nat_cmd.c | 508 bp->m_len = ntohs(((struct ip *)MBUF_CTOP(bp))->ip_len); 531 bp->m_len = ntohs(((struct ip *)MBUF_CTOP(bp))->ip_len); 565 len = ntohs(((struct ip *)fptr)->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 | 716 * ip structure and an invalid ip_len (basically udp length). 735 ip->ip_len = udp->uh_ulen; 742 ip->ip_len = htons(sizeof(*ip) + sizeof(*udp) + length); 756 return ntohs(packet.ip.ip_len) - 786 bytes = ntohs(packet.ip.ip_len); 798 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/ndk/4/platforms/android-3/arch-arm/usr/include/netinet/ |
ip.h | 65 u_int16_t ip_len; /* total length */ member in struct:ip
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/netinet/ |
ip.h | 65 u_int16_t ip_len; /* total length */ member in struct:ip
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/netinet/ |
ip.h | 65 u_int16_t ip_len; /* total length */ member in struct:ip
|