Lines Matching defs:addr
36 static inline uint16_t dn_ntohs(uint16_t addr) in dn_ntohs()
48 static inline int do_digit(char *str, uint16_t *addr, uint16_t scale, in do_digit()
69 uint16_t addr = dn_ntohs(*(uint16_t *)addrbuf); in dnet_ntop() local
166 struct nl_addr *addr; in nl_addr_alloc() local
187 struct nl_addr *addr; in nl_addr_build() local
249 struct nl_addr *addr = NULL; /* gcc ain't that smart */ in nl_addr_parse() local
420 struct nl_addr *nl_addr_clone(struct nl_addr *addr) 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()
549 int nl_addr_iszero(struct nl_addr *addr) in nl_addr_iszero()
568 int nl_addr_valid(char *addr, int family) in nl_addr_valid()
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()