/foundation/communication/netmanager_base/services/netmanagernative/fwmarkclient/src/ |
H A D | fwmark_client.cpp | 66 iovec iov; in Send() local 67 iov.iov_base = data; in Send() 68 iov.iov_len = sizeof(*data); in Send() 71 message.msg_iov = &iov; in Send()
|
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | randomAccessFile_impl.cpp | 40 uv_buf_t iov = uv_buf_init(buf, len); in DoWriteRAF() local 41 int ret = uv_fs_write(nullptr, write_req.get(), fd, &iov, 1, offset, nullptr); in DoWriteRAF() 52 uv_buf_t iov = uv_buf_init(buf, len); in DoReadRAF() local 53 int ret = uv_fs_read(nullptr, read_req.get(), fd, &iov, 1, offset, nullptr); in DoReadRAF()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/ |
H A D | sys_socket.c | 79 int32_t SocketSendEx(const Socket *s, uint16_t mss, const struct iovec *iov, uint32_t cnt) in SocketSendEx() argument 92 mh.msg_iov = (struct iovec *)iov; in SocketSendEx() 114 struct iovec iov[IOV_CNT] = { in SendUdpSegment() local 131 mh.msg_iov = iov; in SendUdpSegment()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/ |
H A D | sys_socket.c | 96 int32_t SocketSendEx(const Socket *s, uint16_t mss, const struct iovec *iov, uint32_t cnt) in SocketSendEx() argument 109 mh.msg_iov = (struct iovec *)iov; in SocketSendEx()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/wrapper/ |
H A D | data_receiver.cpp | 74 iovec iov = {buffer_, sizeof(buffer_)}; in ReceiveMessage() local 80 hdr.msg_iov = &iov; in ReceiveMessage()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/ |
H A D | check_gso_support.c | 45 struct iovec iov[IOV_CNT] = { in SendUdpSegment() local 62 mh.msg_iov = iov; in SendUdpSegment()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | clatd.cpp | 184 iovec iov; in ProcessV6Packet() local 185 iov.iov_base = &readBuf; in ProcessV6Packet() 186 iov.iov_len = sizeof(readBuf); in ProcessV6Packet() 190 msgHdr.msg_iov = &iov; in ProcessV6Packet()
|
H A D | netlink_socket_diag.cpp | 213 iovec iov; in SendSockDiagDumpRequest() local 214 iov.iov_base = &request; in SendSockDiagDumpRequest() 215 iov.iov_len = len; in SendSockDiagDumpRequest() 222 ssize_t writeLen = writev(dumpSock_, &iov, (sizeof(iov) / sizeof(iovec))); in SendSockDiagDumpRequest()
|
H A D | fwmark_network.cpp | 141 iovec iov = {.iov_base = &fwmCmd, .iov_len = sizeof(fwmCmd)}; in SendMessage() local 150 message = {.msg_iov = &iov, .msg_iovlen = 1, .msg_control = cmsgu.cmsg, .msg_controllen = sizeof(cmsgu.cmsg)}; in SendMessage()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
H A D | vpn_manager.cpp | 255 iovec iov; in SendVpnInterfaceFdToClient() local 256 iov.iov_base = buf; in SendVpnInterfaceFdToClient() 257 iov.iov_len = sizeof(buf); in SendVpnInterfaceFdToClient() 272 message.msg_iov = &iov; in SendVpnInterfaceFdToClient()
|
/foundation/communication/netmanager_ext/frameworks/native/netvpnclient/src/ |
H A D | vpn_interface.cpp | 97 iovec iov = { in RecvMsgFromUnixServer() local 114 message.msg_iov = &iov; in RecvMsgFromUnixServer()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/include/ |
H A D | socket_app.h | 46 FillpErrorType SockReadv(FILLP_INT sockIndex, const struct iovec *iov, FILLP_INT iovCount); 47 FillpErrorType SockWritev(FILLP_INT sockIndex, const struct iovec *iov, FILLP_INT iovCount);
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_congestion/platform/unix/qdisc/ |
H A D | nstackx_nlmsg.c | 72 struct iovec iov[NETLINK_REQUEST_IOV_NUM] = { in SendNetlinkRequest() local 88 .msg_iov = iov, in SendNetlinkRequest()
|
/foundation/filemanagement/storage_service/services/storage_daemon/netlink/src/ |
H A D | netlink_listener.cpp | 34 struct iovec iov = { buffer, length }; in UeventKernelMulticastRecv() local 40 .msg_iov = &iov, in UeventKernelMulticastRecv()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/ |
H A D | nstackx_socket.h | 47 int32_t SocketSendEx(const Socket *socket, uint16_t mss, const struct iovec *iov, uint32_t cnt);
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/pnp_server/ |
H A D | audio_socket_thread.cpp | 110 iovec iov; in AudioPnpReadUeventMsg() local 116 iov.iov_base = buffer; in AudioPnpReadUeventMsg() 117 iov.iov_len = length; in AudioPnpReadUeventMsg() 121 msghdr.msg_iov = &iov; in AudioPnpReadUeventMsg()
|
/foundation/communication/netmanager_ext/services/mdnsmanager/src/ |
H A D | mdns_socket_listener.cpp | 419 iovec iov[1]; in ReceiveInSock() local 430 iov[0].iov_base = payload.data(); in ReceiveInSock() 431 iov[0].iov_len = payload.size(); in ReceiveInSock() 432 msg.msg_iov = iov; in ReceiveInSock()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/ |
H A D | socket_app.c | 250 struct iovec *iov = FILLP_NULL_PTR; in SocketMsgGetLen() local 253 FILLP_LOGERR("input msg is null or iov is null"); in SocketMsgGetLen() 257 iov = msg->msg_iov; in SocketMsgGetLen() 260 if (iov[index].iov_base == FILLP_NULL_PTR) { in SocketMsgGetLen() 266 memSize = (FILLP_ULLONG)(memSize + (FILLP_ULLONG)(iov[index].iov_len)); in SocketMsgGetLen() 267 if ((memSize >= (FILLP_ULLONG)FILLP_MAX_INT_VALUE) || (iov[index].iov_len >= FILLP_MAX_INT_VALUE)) { in SocketMsgGetLen() 783 FillpErrorType SockWritev(FILLP_INT sockIndex, const struct iovec *iov, FILLP_INT iovCount) in SockWritev() argument 787 if (iov == FILLP_NULL_PTR) { in SockWritev() 788 FILLP_LOGERR("input iov is pointer is null for sock id fillp_sock_id:%d", sockIndex); in SockWritev() 798 msg.msg_iov = (struct iovec *)iov; in SockWritev() 804 SockReadv(FILLP_INT sockIndex, const struct iovec *iov, FILLP_INT iovCount) SockReadv() argument [all...] |
H A D | api.c | 167 * iov: A pointer which points to an array of iovec structures. 168 * iovCount: buffer count of data described by iov. 172 FILLP_INT DLL_API FtWritev(FILLP_INT fd, const struct iovec *iov, FILLP_INT iovCount) in FtWritev() argument 174 return SockWritev(fd, iov, iovCount); in FtWritev() 180 * iov: A pointer which points to an array of iovec structures. 181 * iovCount: buffer count of data described by iov. 185 FILLP_INT DLL_API FtReadv(FILLP_INT fd, const struct iovec *iov, FILLP_INT iovCount) in FtReadv() argument 187 return SockReadv(fd, iov, iovCount); in FtReadv()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_randomaccessfile/ |
H A D | randomaccessfile_n_exporter.cpp | 50 uv_buf_t iov = uv_buf_init(static_cast<char *>(buf), len); in DoReadRAF() local 51 int ret = uv_fs_read(nullptr, read_req.get(), fd, &iov, 1, offset, nullptr); in DoReadRAF() 63 uv_buf_t iov = uv_buf_init(static_cast<char *>(buf), len); in DoWriteRAF() local 64 int ret = uv_fs_write(nullptr, write_req.get(), fd, &iov, 1, offset, nullptr); in DoWriteRAF()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/include/ |
H A D | fillpinc.h | 175 * @param[in] iov A pointer which points to an array of iovec structures. 176 * @param[in] iovCount buffer count of data described by iov. 179 extern FILLP_INT DLL_API FtWritev(FILLP_INT fd, const struct iovec *iov, FILLP_INT iovCount); 188 * @param[in] iov A pointer which points to an array of iovec structures. 189 * @param[in] iovCount buffers of data described by iov. 193 extern FILLP_INT DLL_API FtReadv(FILLP_INT fd, const struct iovec *iov, FILLP_INT iovCount);
|