Home
last modified time | relevance | path

Searched refs:lenAddr (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dnetsys_udp_transfer.cpp29 int32_t ProcUdpData(UdpBuffer udpBuffer, char *data, socklen_t &lenAddr, in ProcUdpData() argument
30 … int64_t (*func)(int fd, char *buf, size_t len, AlignedSockAddr &addr, socklen_t &lenAddr)) in ProcUdpData()
37 length = func(udpBuffer.sock, curPos, leftSize, udpBuffer.addr, lenAddr); in ProcUdpData()
49 int64_t SendUdpWrapper(int32_t fd, char *buf, size_t len, AlignedSockAddr &addr, socklen_t &lenAddr) in SendUdpWrapper() argument
51 (void)lenAddr; in SendUdpWrapper()
55 int64_t RecvUdpWrapper(int32_t fd, char *buf, size_t len, AlignedSockAddr &addr, socklen_t &lenAddr) in RecvUdpWrapper() argument
57 return recvfrom(fd, buf, len, 0, (sockaddr *)&addr, &lenAddr); in RecvUdpWrapper()
69 socklen_t &lenAddr) in PollUdpSendData() argument
76 return ProcUdpData(udpBuffer, data, lenAddr, SendUdpWrapper); in PollUdpSendData()
79 socklen_t &lenAddr) in PollUdpRecvData() argument
[all …]
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/
H A Dnetsys_udp_transfer.h30 … PollUdpSendData(int32_t sock, char *data, size_t size, AlignedSockAddr &addr, socklen_t &lenAddr);
31 … PollUdpRecvData(int32_t sock, char *data, size_t size, AlignedSockAddr &addr, socklen_t &lenAddr);