/external/android-clat/ |
ipv6.c | 83 size_t len_left; local 113 len_left = len - sizeof(struct ip6_hdr); 128 if (len_left < sizeof(*frag_hdr)) { 134 len_left -= sizeof(*frag_hdr); 147 * length, which is not the same as len_left in the case of fragmented packets. But since 150 old_sum = ipv6_pseudo_header_checksum(ip6, len_left, protocol); 151 new_sum = ipv4_pseudo_header_checksum(ip_targ, len_left); 155 iov_len = generic_packet(out, pos + 2, next_header, len_left); 157 iov_len = icmp6_packet(out, pos + 2, (const struct icmp6_hdr *) next_header, len_left); 160 len_left); [all...] |
ipv4.c | 64 size_t len_left; local 94 len_left = len - header->ihl * 4; 111 * length, which is not the same as len_left in the case of fragmented packets. But since 114 old_sum = ipv4_pseudo_header_checksum(header, len_left); 115 new_sum = ipv6_pseudo_header_checksum(ip6_targ, len_left, nxthdr); 124 iov_len = generic_packet(out, pos + 2, next_header, len_left); 126 iov_len = icmp_packet(out, pos + 2, (const struct icmphdr *) next_header, new_sum, len_left); 129 len_left); 132 len_left); 134 iov_len = generic_packet(out, pos + 2, next_header, len_left); [all...] |
/external/chromium/chrome/browser/debugger/ |
devtools_remote_listen_socket.cc | 231 int len_left = len; local 233 int sent = HANDLE_EINTR(send(socket_, send_buf, len_left, 0)); 234 if (sent == len_left) { // A shortcut to avoid extraneous checks. 250 // sent != len_left according to the shortcut above. 253 len_left -= sent;
|
/external/chromium/net/base/ |
listen_socket.cc | 145 int len_left = len; local 147 int sent = HANDLE_EINTR(send(socket_, send_buf, len_left, 0)); 148 if (sent == len_left) { // A shortcut to avoid extraneous checks. 164 // sent != len_left according to the shortcut above. 167 len_left -= sent;
|
/external/chromium_org/net/socket/ |
stream_listen_socket.cc | 114 int len_left = len; local 116 int sent = HANDLE_EINTR(send(socket_, send_buf, len_left, 0)); 117 if (sent == len_left) { // A shortcut to avoid extraneous checks. 133 // sent != len_left according to the shortcut above. 136 len_left -= sent;
|
/external/bluetooth/bluedroid/stack/avrc/ |
avrc_bld_tg.c | 298 UINT16 len, len_left; local 311 len_left = GKI_get_buf_size(p_pkt) - BT_HDR_SIZE - p_pkt->offset - p_pkt->len; 328 if (len_left < (p_rsp->p_attrs[xx].str_len + 4)) 331 xx, p_rsp->p_attrs[xx].str_len, len_left);
|
/external/libvpx/libvpx/examples/includes/ASCIIMathPHP-2.0/ |
ASCIIMathPHP-2.0.class.php | 1093 $len_left = $chop_flg ? $this->chopExpr(1) : strlen($this->_curr_expr)-1; variable [all...] |