Home
last modified time | relevance | path

Searched refs:iov_len (Results 1 – 15 of 15) sorted by relevance

/external/qemu/slirp2/
Dsocket.c123 iov[0].iov_len = sb->sb_rptr - sb->sb_wptr;
125 if (iov[0].iov_len > len)
126 iov[0].iov_len = len;
127 if (iov[0].iov_len > mss)
128 iov[0].iov_len -= iov[0].iov_len%mss;
131 iov[0].iov_len = (sb->sb_data + sb->sb_datalen) - sb->sb_wptr;
133 if (iov[0].iov_len > len) iov[0].iov_len = len;
134 len -= iov[0].iov_len;
137 iov[1].iov_len = sb->sb_rptr - sb->sb_data;
138 if(iov[1].iov_len > len)
[all …]
Dsocket.h82 size_t iov_len; member
/external/iptables/libipq/
Dlibipq.c334 iov[0].iov_len = sizeof(nlh); in ipq_set_verdict()
336 iov[1].iov_len = sizeof(pm); in ipq_set_verdict()
341 iov[2].iov_len = data_len; in ipq_set_verdict()
/external/dhcpcd/
Dbpf.c149 iov[0].iov_len = ETHER_HDR_LEN; in send_raw_packet()
151 iov[1].iov_len = len; in send_raw_packet()
Dif-linux.c205 iov.iov_len = hdr->nlmsg_len; in send_netlink()
/external/wpa_supplicant/
Ddriver_test.c656 io[0].iov_len = 6; in wpa_driver_test_send_eapol()
658 io[1].iov_len = sizeof(eth); in wpa_driver_test_send_eapol()
660 io[2].iov_len = data_len; in wpa_driver_test_send_eapol()
789 io[0].iov_len = 5; in wpa_driver_test_send_mlme()
791 io[1].iov_len = data_len; in wpa_driver_test_send_mlme()
Dctrl_iface_unix.c501 io[0].iov_len = os_strlen(levelstr); in wpa_supplicant_ctrl_iface_send()
503 io[1].iov_len = len; in wpa_supplicant_ctrl_iface_send()
/external/strace/
Dio.c119 printstr(tcp, (long) iov.iov_base, iov.iov_len);
120 tprintf(", %lu}", (unsigned long)iov.iov_len);
Dutil.c553 (unsigned long)iov[i].iov_len, i);
555 iov[i].iov_len);
Dstrace.c2441 iov[0].iov_len = sizeof cmd;
2445 iov[1].iov_len = size;
/external/ipsec-tools/src/racoon/
Dsockmisc.c409 iov[0].iov_len = buflen;
587 iov[0].iov_len = buflen;
647 iov[0].iov_len = buflen;
/external/dbus/dbus/
Ddbus-sysdeps-unix.c356 vectors[0].iov_len = len1; in _dbus_write_two()
358 vectors[1].iov_len = len2; in _dbus_write_two()
873 iov.iov_len = 1; in write_credentials_byte()
980 iov.iov_len = 1; in _dbus_read_credentials_unix_socket()
/external/ping/
Dping.c654 iov.iov_len = packlen; in main_loop()
980 iov.iov_len = sizeof(icmph); in receive_error_msg()
1113 iov.iov_len = cc; in send_probe()
/external/bluez/libs/src/
Dhci.c968 iv[0].iov_len = 1; in hci_send_cmd()
970 iv[1].iov_len = HCI_COMMAND_HDR_SIZE; in hci_send_cmd()
975 iv[2].iov_len = plen; in hci_send_cmd()
/external/bluez/hcidump/src/
Dhcidump.c282 iv.iov_len = snap_len; in process_frames()