Lines Matching refs:nl_addr

164 struct nl_addr *nl_addr_alloc(size_t maxsize)  in nl_addr_alloc()
166 struct nl_addr *addr; in nl_addr_alloc()
185 struct nl_addr *nl_addr_build(int family, void *buf, size_t size) in nl_addr_build()
187 struct nl_addr *addr; in nl_addr_build()
213 struct nl_addr *nl_addr_alloc_attr(struct nlattr *nla, int family) in nl_addr_alloc_attr()
245 int nl_addr_parse(const char *addrstr, int hint, struct nl_addr **result) in nl_addr_parse()
249 struct nl_addr *addr = NULL; /* gcc ain't that smart */ in nl_addr_parse()
420 struct nl_addr *nl_addr_clone(struct nl_addr *addr) in nl_addr_clone()
422 struct nl_addr *new; in nl_addr_clone()
442 void nl_addr_destroy(struct nl_addr *addr) in nl_addr_destroy()
460 struct nl_addr *nl_addr_get(struct nl_addr *addr) in nl_addr_get()
467 void nl_addr_put(struct nl_addr *addr) in nl_addr_put()
483 int nl_addr_shared(struct nl_addr *addr) in nl_addr_shared()
503 int nl_addr_cmp(struct nl_addr *a, struct nl_addr *b) in nl_addr_cmp()
525 int nl_addr_cmp_prefix(struct nl_addr *a, struct nl_addr *b) in nl_addr_cmp_prefix()
549 int nl_addr_iszero(struct nl_addr *addr) in nl_addr_iszero()
601 int nl_addr_guess_family(struct nl_addr *addr) in nl_addr_guess_family()
628 int nl_addr_fill_sockaddr(struct nl_addr *addr, struct sockaddr *sa, in nl_addr_fill_sockaddr()
684 int nl_addr_info(struct nl_addr *addr, struct addrinfo **result) in nl_addr_info()
728 int nl_addr_resolve(struct nl_addr *addr, char *host, size_t hostlen) in nl_addr_resolve()
753 void nl_addr_set_family(struct nl_addr *addr, int family) in nl_addr_set_family()
758 int nl_addr_get_family(struct nl_addr *addr) in nl_addr_get_family()
769 int nl_addr_set_binary_addr(struct nl_addr *addr, void *buf, size_t len) in nl_addr_set_binary_addr()
784 void *nl_addr_get_binary_addr(struct nl_addr *addr) in nl_addr_get_binary_addr()
793 unsigned int nl_addr_get_len(struct nl_addr *addr) in nl_addr_get_len()
798 void nl_addr_set_prefixlen(struct nl_addr *addr, int prefixlen) in nl_addr_set_prefixlen()
807 unsigned int nl_addr_get_prefixlen(struct nl_addr *addr) in nl_addr_get_prefixlen()
830 char *nl_addr2str(struct nl_addr *addr, char *buf, size_t size) in nl_addr2str()