Home
last modified time | relevance | path

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

/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/
DVtsHalTetheroffloadControlV1_0TargetTest.cpp79 inline const sockaddr* asSockaddr(const sockaddr_nl* nladdr) { in asSockaddr() function
92 if (::bind(s.get(), asSockaddr(&bind_addr), sizeof(bind_addr)) < 0) { in conntrackSocket()
99 if (connect(s.get(), asSockaddr(&kernel_addr), sizeof(kernel_addr)) != 0) { in conntrackSocket()