Home
last modified time | relevance | path

Searched refs:SocketProtocol (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/
H A Dnstackx_socket.h22 typedef enum SocketProtocol { enum
26 } SocketProtocol; typedef
29 SocketProtocol protocol;
42 Socket *ClientSocket(SocketProtocol protocol, const struct sockaddr_in *sockAddr);
43 Socket *ServerSocket(SocketProtocol protocol, const struct sockaddr_in *sockAddr);
52 Socket *ClientSocketWithTargetDev(SocketProtocol protocol, const struct sockaddr_in *sockAddr,
/ohos5.0/foundation/communication/dsoftbus/tests/adapter/unittest/
H A Dsoftbus_socket_test.cpp47 struct SocketProtocol { struct
83 struct SocketProtocol buf = {0}; in SocketServiceStart()
108 (void)memset_s(&buf, sizeof(struct SocketProtocol), 0, sizeof(struct SocketProtocol)); in SocketServiceStart()
114 (void)memset_s(&buf, sizeof(struct SocketProtocol), 0, sizeof(struct SocketProtocol)); in SocketServiceStart()
169 (void)memset_s(&buf, sizeof(struct SocketProtocol), 0, sizeof(struct SocketProtocol)); in SocketIpv6ServiceStart()
226 struct SocketProtocol buf = { in ClientExit()
1506 (void)memset_s(&buf, sizeof(struct SocketProtocol), 0, sizeof(struct SocketProtocol));
1546 (void)memset_s(&buf, sizeof(struct SocketProtocol), 0, sizeof(struct SocketProtocol));
1767 (void)memset_s(&buf, sizeof(struct SocketProtocol), 0, sizeof(struct SocketProtocol));
1813 (void)memset_s(&buf, sizeof(struct SocketProtocol), 0, sizeof(struct SocketProtocol));
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/adapter/fuzztest/softbussocketrecv_fuzzer/
H A Dsoftbussocketrecv_fuzzer.cpp30 struct SocketProtocol { struct
66 struct SocketProtocol buf; in SoftBusSocketRecvFuzzTest()
67 memset_s(&buf, sizeof(struct SocketProtocol), 0, sizeof(struct SocketProtocol)); in SoftBusSocketRecvFuzzTest()
85 struct SocketProtocol buf; in SoftBusSocketRecvFromFuzzTest()
86 memset_s(&buf, sizeof(struct SocketProtocol), 0, sizeof(struct SocketProtocol)); in SoftBusSocketRecvFromFuzzTest()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/core/
H A Dnstackx_socket.c291 Socket *ClientSocketWithTargetDev(SocketProtocol protocol, const struct sockaddr_in *sockAddr, in ClientSocketWithTargetDev()
332 Socket *ClientSocket(SocketProtocol protocol, const struct sockaddr_in *sockAddr) in ClientSocket()
337 Socket *ServerSocket(SocketProtocol protocol, const struct sockaddr_in *sockAddr) in ServerSocket()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/include/
H A Dnstackx_dfile_session.h76 SocketProtocol protocol;
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_dfile.c1015 SocketProtocol protocol; in DFileRecverInit()
1206 SocketProtocol protocol; in DFileSenderInitWithTargetDev()
H A Dnstackx_dfile_session.c588 static uint16_t DFileGetMTU(SocketProtocol protocol) in DFileGetMTU()