Searched refs:nladdr (Results 1 – 4 of 4) sorted by relevance
50 inline const sockaddr* asSockaddr(const sockaddr_nl* nladdr) { in asSockaddr() argument51 return reinterpret_cast<const sockaddr*>(nladdr); in asSockaddr()
260 struct sockaddr_nl *nladdr = NULL; in ipa_nl_alloc_msg() local277 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() local335 nladdr = (struct sockaddr_nl *)msgh->msg_name; in ipa_nl_release_msg()[all …]
77 inline const sockaddr* asSockaddr(const sockaddr_nl* nladdr) { in asSockaddr() argument78 return reinterpret_cast<const sockaddr*>(nladdr); in asSockaddr()