Searched refs:nladdr (Results 1 – 5 of 5) sorted by relevance
51 inline const sockaddr* asSockaddr(const sockaddr_nl* nladdr) { in asSockaddr() argument52 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 …]
79 inline const sockaddr* asSockaddr(const sockaddr_nl* nladdr) { in asSockaddr() argument80 return reinterpret_cast<const sockaddr*>(nladdr); in asSockaddr()