Searched refs:nladdr (Results 1 – 7 of 7) sorted by relevance
/hardware/interfaces/wifi/netlinkinterceptor/libnlinterceptor/ |
D | libnlinterceptor.cpp | 102 sockaddr_nl nladdr = {}; in createSocket() local 103 socklen_t nlsize = sizeof(nladdr); in createSocket() 104 if (getsockname(clientSocket.get(), reinterpret_cast<sockaddr*>(&nladdr), in createSocket() 113 nladdr.nl_family, nladdr.nl_pid, clientName, &interceptedSocket); in createSocket() 118 return InterceptedSocket{nladdr.nl_family, in createSocket()
|
/hardware/interfaces/tetheroffload/control/1.0/vts/functional/ |
D | OffloadControlTestUtils.cpp | 22 inline const sockaddr* asSockaddr(const sockaddr_nl* nladdr) { in asSockaddr() argument 23 return reinterpret_cast<const sockaddr*>(nladdr); in asSockaddr()
|
/hardware/interfaces/tetheroffload/control/1.0/vts/functional/include/ |
D | OffloadControlTestUtils.h | 37 inline const sockaddr* asSockaddr(const sockaddr_nl* nladdr);
|
/hardware/interfaces/tetheroffload/config/1.0/vts/functional/ |
D | VtsHalTetheroffloadConfigV1_0TargetTest.cpp | 51 inline const sockaddr* asSockaddr(const sockaddr_nl* nladdr) { in asSockaddr() argument 52 return reinterpret_cast<const sockaddr*>(nladdr); in asSockaddr()
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Netlink.cpp | 260 struct sockaddr_nl *nladdr = NULL; in ipa_nl_alloc_msg() local 277 nladdr = (struct sockaddr_nl *)malloc(sizeof(struct sockaddr_nl)); in ipa_nl_alloc_msg() 278 if(nladdr == NULL) in ipa_nl_alloc_msg() 289 free(nladdr); in ipa_nl_alloc_msg() 299 free(nladdr); in ipa_nl_alloc_msg() 304 memset(nladdr, 0, sizeof(struct sockaddr_nl)); in ipa_nl_alloc_msg() 305 nladdr->nl_family = AF_NETLINK; in ipa_nl_alloc_msg() 308 msgh->msg_name = nladdr; in ipa_nl_alloc_msg() 327 struct sockaddr_nl *nladdr = NULL; in ipa_nl_release_msg() local 335 nladdr = (struct sockaddr_nl *)msgh->msg_name; in ipa_nl_release_msg() [all …]
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Netlink.cpp | 260 struct sockaddr_nl *nladdr = NULL; in ipa_nl_alloc_msg() local 277 nladdr = (struct sockaddr_nl *)malloc(sizeof(struct sockaddr_nl)); in ipa_nl_alloc_msg() 278 if(nladdr == NULL) in ipa_nl_alloc_msg() 289 free(nladdr); in ipa_nl_alloc_msg() 299 free(nladdr); in ipa_nl_alloc_msg() 304 memset(nladdr, 0, sizeof(struct sockaddr_nl)); in ipa_nl_alloc_msg() 305 nladdr->nl_family = AF_NETLINK; in ipa_nl_alloc_msg() 308 msgh->msg_name = nladdr; in ipa_nl_alloc_msg() 327 struct sockaddr_nl *nladdr = NULL; in ipa_nl_release_msg() local 335 nladdr = (struct sockaddr_nl *)msgh->msg_name; in ipa_nl_release_msg() [all …]
|
/hardware/interfaces/tetheroffload/aidl/vts/functional/ |
D | VtsHalTetheroffloadTargetTest.cpp | 58 inline const sockaddr* asSockaddr(const sockaddr_nl* nladdr) { in asSockaddr() argument 59 return reinterpret_cast<const sockaddr*>(nladdr); in asSockaddr()
|