Lines Matching defs:addr
40 static inline uint16_t dn_ntohs(uint16_t addr) in dn_ntohs()
52 static inline int do_digit(char *str, uint16_t *addr, uint16_t scale, in do_digit()
73 uint16_t addr = dn_ntohs(*(uint16_t *)addrbuf); in dnet_ntop() local
158 static void addr_destroy(struct nl_addr *addr) in addr_destroy()
189 struct nl_addr *addr; in nl_addr_alloc() local
220 struct nl_addr *addr; in nl_addr_build() local
303 struct nl_addr *addr = NULL; /* gcc ain't that smart */ in nl_addr_parse() local
494 struct nl_addr *nl_addr_clone(const struct nl_addr *addr) in nl_addr_clone()
524 struct nl_addr *nl_addr_get(struct nl_addr *addr) in nl_addr_get()
540 void nl_addr_put(struct nl_addr *addr) in nl_addr_put()
557 int nl_addr_shared(const struct nl_addr *addr) in nl_addr_shared()
651 int nl_addr_iszero(const struct nl_addr *addr) in nl_addr_iszero()
670 int nl_addr_valid(const char *addr, int family) in nl_addr_valid()
710 int nl_addr_guess_family(const struct nl_addr *addr) in nl_addr_guess_family()
737 int nl_addr_fill_sockaddr(const struct nl_addr *addr, struct sockaddr *sa, in nl_addr_fill_sockaddr()
805 int nl_addr_info(const struct nl_addr *addr, struct addrinfo **result) in nl_addr_info()
849 int nl_addr_resolve(const struct nl_addr *addr, char *host, size_t hostlen) in nl_addr_resolve()
881 void nl_addr_set_family(struct nl_addr *addr, int family) in nl_addr_set_family()
894 int nl_addr_get_family(const struct nl_addr *addr) in nl_addr_get_family()
919 int nl_addr_set_binary_addr(struct nl_addr *addr, const void *buf, size_t len) in nl_addr_set_binary_addr()
942 void *nl_addr_get_binary_addr(const struct nl_addr *addr) in nl_addr_get_binary_addr()
954 unsigned int nl_addr_get_len(const struct nl_addr *addr) in nl_addr_get_len()
966 void nl_addr_set_prefixlen(struct nl_addr *addr, int prefixlen) in nl_addr_set_prefixlen()
977 unsigned int nl_addr_get_prefixlen(const struct nl_addr *addr) in nl_addr_get_prefixlen()
1000 char *nl_addr2str(const struct nl_addr *addr, char *buf, size_t size) in nl_addr2str()