Lines Matching refs:nl_addr

156 static void addr_destroy(struct nl_addr *addr)  in addr_destroy()
185 struct nl_addr *nl_addr_alloc(size_t maxsize) in nl_addr_alloc()
187 struct nl_addr *addr; in nl_addr_alloc()
216 struct nl_addr *nl_addr_build(int family, void *buf, size_t size) in nl_addr_build()
218 struct nl_addr *addr; in nl_addr_build()
255 struct nl_addr *nl_addr_alloc_attr(struct nlattr *nla, int family) in nl_addr_alloc_attr()
291 int nl_addr_parse(const char *addrstr, int hint, struct nl_addr **result) in nl_addr_parse()
295 struct nl_addr *addr = NULL; /* gcc ain't that smart */ in nl_addr_parse()
471 struct nl_addr *nl_addr_clone(struct nl_addr *addr) in nl_addr_clone()
473 struct nl_addr *new; in nl_addr_clone()
501 struct nl_addr *nl_addr_get(struct nl_addr *addr) in nl_addr_get()
517 void nl_addr_put(struct nl_addr *addr) in nl_addr_put()
534 int nl_addr_shared(struct nl_addr *addr) in nl_addr_shared()
563 int nl_addr_cmp(struct nl_addr *a, struct nl_addr *b) in nl_addr_cmp()
594 int nl_addr_cmp_prefix(struct nl_addr *a, struct nl_addr *b) in nl_addr_cmp_prefix()
620 int nl_addr_iszero(struct nl_addr *addr) in nl_addr_iszero()
673 int nl_addr_guess_family(struct nl_addr *addr) in nl_addr_guess_family()
700 int nl_addr_fill_sockaddr(struct nl_addr *addr, struct sockaddr *sa, in nl_addr_fill_sockaddr()
756 int nl_addr_info(struct nl_addr *addr, struct addrinfo **result) in nl_addr_info()
800 int nl_addr_resolve(struct nl_addr *addr, char *host, size_t hostlen) in nl_addr_resolve()
832 void nl_addr_set_family(struct nl_addr *addr, int family) in nl_addr_set_family()
845 int nl_addr_get_family(struct nl_addr *addr) in nl_addr_get_family()
870 int nl_addr_set_binary_addr(struct nl_addr *addr, void *buf, size_t len) in nl_addr_set_binary_addr()
893 void *nl_addr_get_binary_addr(struct nl_addr *addr) in nl_addr_get_binary_addr()
905 unsigned int nl_addr_get_len(struct nl_addr *addr) in nl_addr_get_len()
917 void nl_addr_set_prefixlen(struct nl_addr *addr, int prefixlen) in nl_addr_set_prefixlen()
928 unsigned int nl_addr_get_prefixlen(struct nl_addr *addr) in nl_addr_get_prefixlen()
951 char *nl_addr2str(struct nl_addr *addr, char *buf, size_t size) in nl_addr2str()