Home
last modified time | relevance | path

Searched refs:nladdr (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/tetheroffload/config/1.0/vts/functional/
DVtsHalTetheroffloadConfigV1_0TargetTest.cpp51 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/
DIPACM_Netlink.cpp260 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/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Netlink.cpp260 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/
DIPACM_Netlink.cpp260 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/control/1.0/vts/functional/
DVtsHalTetheroffloadControlV1_0TargetTest.cpp79 inline const sockaddr* asSockaddr(const sockaddr_nl* nladdr) { in asSockaddr() argument
80 return reinterpret_cast<const sockaddr*>(nladdr); in asSockaddr()