Searched refs:asSockaddr (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/tetheroffload/control/1.0/vts/functional/ |
D | OffloadControlTestUtils.cpp | 22 inline const sockaddr* asSockaddr(const sockaddr_nl* nladdr) { in asSockaddr() function 38 if (::bind(s.get(), asSockaddr(&bind_addr), sizeof(bind_addr)) < 0) { in conntrackSocket() 48 if (connect(s.get(), asSockaddr(&kernel_addr), sizeof(kernel_addr)) != 0) { in conntrackSocket()
|
/hardware/interfaces/tetheroffload/config/1.0/vts/functional/ |
D | VtsHalTetheroffloadConfigV1_0TargetTest.cpp | 51 inline const sockaddr* asSockaddr(const sockaddr_nl* nladdr) { in asSockaddr() function 64 if (::bind(s.get(), asSockaddr(&bind_addr), sizeof(bind_addr)) != 0) { in netlinkSocket() 71 if (::connect(s.get(), asSockaddr(&kernel_addr), sizeof(kernel_addr)) != 0) { in netlinkSocket()
|
/hardware/interfaces/tetheroffload/control/1.0/vts/functional/include/ |
D | OffloadControlTestUtils.h | 37 inline const sockaddr* asSockaddr(const sockaddr_nl* nladdr);
|
/hardware/interfaces/tetheroffload/aidl/vts/functional/ |
D | VtsHalTetheroffloadTargetTest.cpp | 58 inline const sockaddr* asSockaddr(const sockaddr_nl* nladdr) { in asSockaddr() function 74 if (bind(s.get(), asSockaddr(&bind_addr), sizeof(bind_addr)) != 0) { in netlinkSocket() 84 if (connect(s.get(), asSockaddr(&kernel_addr), sizeof(kernel_addr)) != 0) { in netlinkSocket()
|