Home
last modified time | relevance | path

Searched refs:asSockaddr (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/tetheroffload/control/1.0/vts/functional/
DOffloadControlTestUtils.cpp22 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/
DVtsHalTetheroffloadConfigV1_0TargetTest.cpp51 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/
DOffloadControlTestUtils.h37 inline const sockaddr* asSockaddr(const sockaddr_nl* nladdr);