• Home
  • Raw
  • Download

Lines Matching defs:addr

38 static inline uint16_t dn_ntohs(uint16_t addr)  in dn_ntohs()
50 static inline int do_digit(char *str, uint16_t *addr, uint16_t scale, in do_digit()
71 uint16_t addr = dn_ntohs(*(uint16_t *)addrbuf); in dnet_ntop() local
156 static void addr_destroy(struct nl_addr *addr) in addr_destroy()
187 struct nl_addr *addr; in nl_addr_alloc() local
218 struct nl_addr *addr; in nl_addr_build() local
295 struct nl_addr *addr = NULL; /* gcc ain't that smart */ in nl_addr_parse() local
471 struct nl_addr *nl_addr_clone(struct nl_addr *addr) 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()
620 int nl_addr_iszero(struct nl_addr *addr) in nl_addr_iszero()
639 int nl_addr_valid(char *addr, int family) in nl_addr_valid()
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()