/packages/modules/Connectivity/clatd/ |
D | translate.c | 40 if (packet[i].iov_len > 0) { in packet_checksum() 41 checksum = ip_checksum_add(checksum, packet[i].iov_base, packet[i].iov_len); in packet_checksum() 57 len += packet[i].iov_len; in packet_length() 240 out[pos].iov_len = sizeof(struct icmp6_hdr); in icmp_to_icmp6() 259 out[CLAT_POS_PAYLOAD].iov_len = payload_size; in icmp_to_icmp6() 292 out[pos].iov_len = sizeof(struct icmphdr); in icmp6_to_icmp() 304 out[CLAT_POS_PAYLOAD].iov_len = payload_size; in icmp6_to_icmp() 326 out[pos].iov_len = 0; in generic_packet() 328 out[CLAT_POS_PAYLOAD].iov_len = len; in generic_packet() 408 out[pos].iov_len = sizeof(struct udphdr); in udp_translate() [all …]
|
D | ipv4.c | 66 int iov_len; in ipv4_packet() local 107 out[pos].iov_len = sizeof(struct ip6_hdr); in ipv4_packet() 120 out[pos + 1].iov_len = frag_hdr_len; in ipv4_packet() 124 iov_len = generic_packet(out, pos + 2, next_header, len_left); in ipv4_packet() 126 iov_len = icmp_packet(out, pos + 2, (const struct icmphdr *)next_header, new_sum, len_left); in ipv4_packet() 128 iov_len = in ipv4_packet() 131 iov_len = in ipv4_packet() 134 iov_len = generic_packet(out, pos + 2, next_header, len_left); in ipv4_packet() 145 return iov_len; in ipv4_packet()
|
D | ipv6.c | 85 int iov_len; in ipv6_packet() local 122 out[pos].iov_len = sizeof(struct iphdr); in ipv6_packet() 155 iov_len = generic_packet(out, pos + 2, next_header, len_left); in ipv6_packet() 157 iov_len = icmp6_packet(out, pos + 2, (const struct icmp6_hdr *)next_header, len_left); in ipv6_packet() 159 iov_len = in ipv6_packet() 162 iov_len = in ipv6_packet() 165 iov_len = generic_packet(out, pos + 2, next_header, len_left); in ipv6_packet() 177 return iov_len; in ipv6_packet()
|
D | dump.c | 241 void dump_iovec(const struct iovec *iov, int iov_len) { in dump_iovec() argument 244 for (i = 0; i < iov_len; i++) { in dump_iovec() 246 logcat_hexdump(str, iov[i].iov_base, iov[i].iov_len); in dump_iovec()
|
D | dump.h | 44 void dump_iovec(const struct iovec *iov, int iov_len);
|
D | clatd.c | 66 .iov_len = sizeof(buf), in process_packet_6_to_4()
|
D | clatd_test.cpp | 432 extern "C" void send_rawv6(int fd, clat_packet out, int iov_len) { writev(fd, out, iov_len); } in send_rawv6() argument
|
/packages/modules/StatsD/lib/libstatssocket/ |
D | statsd_writer.cpp | 222 newVec[0].iov_len = sizeof(header); in statsdWrite() 241 newVec[headerLength].iov_len = sizeof(buffer); in statsdWrite() 258 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in statsdWrite() 261 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in statsdWrite() 262 if (newVec[i].iov_len) { in statsdWrite()
|
D | stats_buffer_writer.c | 75 vecs[0].iov_len = sizeof(kStatsEventTag); in write_buffer_to_statsd_impl() 77 vecs[1].iov_len = size; in write_buffer_to_statsd_impl() 94 len += vec[i].iov_len; in __write_to_stats_daemon()
|
/packages/modules/adb/sysdeps/ |
D | uio.h | 29 unsigned int iov_len; member
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_sock_util.cc | 104 iv.iov_len = len; in sock_send_fd()
|
/packages/modules/adb/client/openscreen/platform/ |
D | udp_socket.cpp | 108 iov.iov_len = packet->size(); in ReceiveMessageInternal() 404 iov.iov_len = length; in JoinMulticastGroup()
|
/packages/modules/Bluetooth/system/osi/src/ |
D | socket.cc | 161 iov.iov_len = count; in socket_write_and_transfer_fd()
|
/packages/modules/adb/ |
D | types.cpp | 199 iov.iov_len = len; in iovecs()
|
D | sysdeps_win32.cpp | 287 ssize_t rc = _fh_file_write(f, iov[i].iov_base, iov[i].iov_len); in _fh_file_writev() 296 if (static_cast<size_t>(rc) < iov[i].iov_len) { in _fh_file_writev() 720 static_assert(SIZEOF_MEMBER(adb_iovec, iov_len) == SIZEOF_MEMBER(WSABUF, len), ""); 721 static_assert(offsetof(adb_iovec, iov_len) == offsetof(WSABUF, len), "");
|
/packages/modules/DnsResolver/ |
D | res_send.cpp | 806 {.iov_base = &len, .iov_len = INT16SZ}, in send_vc() 808 .iov_len = static_cast<size_t>(msg.size())}, in send_vc()
|