Home
last modified time | relevance | path

Searched refs:ConnGetPeerSocketAddr (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/src/
H A Dlnn_socket_mock.cpp88 int32_t ConnGetPeerSocketAddr(int32_t fd, SocketAddr *socketAddr) in ConnGetPeerSocketAddr() function
90 return GetSocketMockInterface()->ConnGetPeerSocketAddr(fd, socketAddr); in ConnGetPeerSocketAddr()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/include/
H A Dlnn_socket_mock.h39 virtual int32_t ConnGetPeerSocketAddr(int32_t fd, SocketAddr *socketAddr) = 0;
57 MOCK_METHOD2(ConnGetPeerSocketAddr, int32_t (int32_t, SocketAddr *));
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/common/unittest/
H A Dsoftbus_conn_common_test.cpp548 ret = ConnGetPeerSocketAddr(INVALID_FD, &g_socketAddr);
551 ret = ConnGetPeerSocketAddr(TEST_FD, NULL);
554 ret = ConnGetPeerSocketAddr(TEST_FD, &g_socketAddr);
600 ret = ConnGetPeerSocketAddr(INVALID_FD, &socketAddr);
/ohos5.0/foundation/communication/dsoftbus/core/connection/interface/
H A Dsoftbus_socket.h85 int32_t ConnGetPeerSocketAddr(int32_t fd, SocketAddr *socketAddr);
/ohos5.0/foundation/communication/dsoftbus/core/connection/common/src/
H A Dsoftbus_socket.c321 int32_t ConnGetPeerSocketAddr(int32_t fd, SocketAddr *socketAddr) in ConnGetPeerSocketAddr() function
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_tcp_connection.c559 if (ConnGetPeerSocketAddr(fd, &socket) != SOFTBUS_OK) { in SocketGetConnInfo()