/external/chromium_org/net/quic/crypto/ |
D | source_address_token.cc | 38 size_t ip_len = plaintext[0]; in ParseFromArray() local 39 if (plaintext_length <= 1 + ip_len) { in ParseFromArray() 42 size_t time_len = plaintext[1 + ip_len]; in ParseFromArray() 43 if (plaintext_length != 1 + ip_len + 1 + time_len) { in ParseFromArray() 47 string time_str(&plaintext[1 + ip_len + 1], time_len); in ParseFromArray() 53 ip_.assign(&plaintext[1], ip_len); in ParseFromArray()
|
/external/qemu/slirp/ |
D | ip_output.c | 97 if ((u_int16_t)ip->ip_len <= IF_MTU) { in ip_output() 98 ip->ip_len = htons((u_int16_t)ip->ip_len); in ip_output() 133 for (off = hlen + len; off < (u_int16_t)ip->ip_len; off += len) { in ip_output() 155 if (off + len >= (u_int16_t)ip->ip_len) in ip_output() 156 len = (u_int16_t)ip->ip_len - off; in ip_output() 159 mhip->ip_len = htons((u_int16_t)(len + mhlen)); in ip_output() 178 m_adj(m, hlen + firstlen - (u_int16_t)ip->ip_len); in ip_output() 179 ip->ip_len = htons((u_int16_t)m->m_len); in ip_output()
|
D | ip_input.c | 117 NTOHS(ip->ip_len); in ip_input() 118 if (ip->ip_len < hlen) { in ip_input() 131 if (m->m_len < ip->ip_len) { in ip_input() 157 if (m->m_len > ip->ip_len) in ip_input() 158 m_adj(m, ip->ip_len - m->m_len); in ip_input() 208 ip->ip_len -= hlen; in ip_input() 233 ip->ip_len -= hlen; in ip_input() 323 if (i >= ip->ip_len) in ip_reass() 327 ip->ip_len -= i; in ip_reass() 336 ip->ip_off + ip->ip_len > q->ipf_off) { in ip_reass() [all …]
|
D | ip_icmp.c | 75 int icmplen=ip->ip_len; in icmp_input() 112 ip->ip_len += hlen; /* since ip_input subtracts this */ in icmp_input() 231 s_ip_len=ip->ip_len; in icmp_error() 274 HTONS(icp->icmp_ip.ip_len); in icmp_error() 298 ip->ip_len = m->m_len; in icmp_error() 336 icp->icmp_cksum = cksum(m, ip->ip_len - hlen); in icmp_reflect() 351 ip->ip_len -= optlen; in icmp_reflect()
|
D | udp.c | 113 if (ip->ip_len != len) { in udp_input() 114 if (len > ip->ip_len) { in udp_input() 118 m_adj(m, len - ip->ip_len); in udp_input() 119 ip->ip_len = len; in udp_input() 127 save_ip.ip_len+= iphlen; /* tcp_input subtracts this */ in udp_input() 298 ((struct ip *)ui)->ip_len = m->m_len; in udp_output2()
|
D | ip.h | 84 u_int16_t ip_len; /* total length */ member 236 #define ipf_len ipf_ip.ip_len
|
D | tcp_output.c | 532 ((struct ip *)ti)->ip_len = m->m_len;
|
D | tcp_input.c | 292 save_ip.ip_len+= iphlen; in tcp_input() 297 tlen = ((struct ip *)ti)->ip_len; in tcp_input()
|
/external/qemu/slirp-android/ |
D | ip_output.c | 97 if ((u_int16_t)ip->ip_len <= IF_MTU) { in ip_output() 98 ip->ip_len = htons((u_int16_t)ip->ip_len); in ip_output() 133 for (off = hlen + len; off < (u_int16_t)ip->ip_len; off += len) { in ip_output() 155 if (off + len >= (u_int16_t)ip->ip_len) in ip_output() 156 len = (u_int16_t)ip->ip_len - off; in ip_output() 159 mhip->ip_len = htons((u_int16_t)(len + mhlen)); in ip_output() 178 m_adj(m, hlen + firstlen - (u_int16_t)ip->ip_len); in ip_output() 179 ip->ip_len = htons((u_int16_t)m->m_len); in ip_output()
|
D | ip_input.c | 117 NTOHS(ip->ip_len); in ip_input() 118 if (ip->ip_len < hlen) { in ip_input() 131 if (m->m_len < ip->ip_len) { in ip_input() 157 if (m->m_len > ip->ip_len) in ip_input() 158 m_adj(m, ip->ip_len - m->m_len); in ip_input() 208 ip->ip_len -= hlen; in ip_input() 233 ip->ip_len -= hlen; in ip_input() 323 if (i >= ip->ip_len) in ip_reass() 327 ip->ip_len -= i; in ip_reass() 336 ip->ip_off + ip->ip_len > q->ipf_off) { in ip_reass() [all …]
|
D | ip_icmp.c | 76 int icmplen=ip->ip_len; in icmp_input() 113 ip->ip_len += hlen; /* since ip_input subtracts this */ in icmp_input() 233 s_ip_len=ip->ip_len; in icmp_error() 276 HTONS(icp->icmp_ip.ip_len); in icmp_error() 300 ip->ip_len = m->m_len; in icmp_error() 338 icp->icmp_cksum = cksum(m, ip->ip_len - hlen); in icmp_reflect() 353 ip->ip_len -= optlen; in icmp_reflect()
|
D | udp.c | 120 if (ip->ip_len != len) { in udp_input() 121 if (len > ip->ip_len) { in udp_input() 125 m_adj(m, len - ip->ip_len); in udp_input() 126 ip->ip_len = len; in udp_input() 165 save_ip.ip_len+= iphlen; /* tcp_input subtracts this */ in udp_input() 353 ((struct ip *)ui)->ip_len = m->m_len; in udp_output2_()
|
D | ip.h | 86 u_int16_t ip_len; /* total length */ member 238 #define ipf_len ipf_ip.ip_len
|
D | tcp_output.c | 532 ((struct ip *)ti)->ip_len = m->m_len;
|
D | tcp_input.c | 292 save_ip.ip_len+= iphlen; in tcp_input() 297 tlen = ((struct ip *)ti)->ip_len; in tcp_input()
|
/external/dhcpcd/ |
D | net.c | 735 ip->ip_len = udp->uh_ulen; in make_udp_packet() 742 ip->ip_len = htons(sizeof(*ip) + sizeof(*udp) + length); in make_udp_packet() 756 return ntohs(packet.ip.ip_len) - in get_udp_data() 786 bytes = ntohs(packet.ip.ip_len); in valid_udp_packet() 798 packet.ip.ip_len = packet.udp.uh_ulen; in valid_udp_packet()
|
/external/tcpdump/ |
D | ip.h | 55 u_int16_t ip_len; /* total length */ member
|
D | print-ip.c | 552 ipds->len = EXTRACT_16BITS(&ipds->ip->ip_len); in ip_print() 615 (void)printf(", length %u", EXTRACT_16BITS(&ipds->ip->ip_len)); in ip_print()
|
D | print-esp.c | 627 len = EXTRACT_16BITS(&ip->ip_len); in esp_print()
|
D | print-icmp.c | 588 ip_print(gndo, bp, EXTRACT_16BITS(&ip->ip_len)); in icmp_print()
|
D | print-tcp.c | 823 tlen = EXTRACT_16BITS(&ip->ip_len) - IP_HL(ip) * 4;
|
/external/wpa_supplicant_8/src/tls/ |
D | x509v3.h | 44 size_t ip_len; /* IPv4: 4, IPv6: 16 */ member
|
D | x509v3.c | 36 name->ip_len = 0; in x509_free_name() 924 name->ip_len = len; in x509_parse_alt_name_ip()
|
/external/dnsmasq/src/ |
D | bpf.c | 203 ip.ip_len = htons(sizeof(struct ip) + in send_via_bpf()
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
D | sctp_input.c | 6296 NTOHS(ip->ip_len); 6299 ip->ip_len = ntohs(ip->ip_len); 6303 length = ntohs(ip->ip_len); 6305 length = ip->ip_len + iphlen; 6308 length = ip->ip_len + iphlen; 6311 length = ip->ip_len; 6313 length = ip->ip_len + iphlen; 6316 length = ip->ip_len;
|