Lines Matching refs:nl_addr
424 struct nl_addr *addr_parse(const char *addr, int guess) in addr_parse()
426 struct nl_addr *result; in addr_parse()
435 extern struct nl_addr *nl_addr_alloc(size_t);
436 extern struct nl_addr *nl_addr_alloc_attr(struct nlattr *, int);
437 extern struct nl_addr *nl_addr_build(int, void *, size_t);
438 extern struct nl_addr *nl_addr_clone(struct nl_addr *);
440 extern struct nl_addr *nl_addr_get(struct nl_addr *);
441 extern void nl_addr_put(struct nl_addr *);
442 extern int nl_addr_shared(struct nl_addr *);
444 extern int nl_addr_cmp(struct nl_addr *, struct nl_addr *);
445 extern int nl_addr_cmp_prefix(struct nl_addr *, struct nl_addr *);
446 extern int nl_addr_iszero(struct nl_addr *);
448 extern int nl_addr_guess_family(struct nl_addr *);
449 extern int nl_addr_fill_sockaddr(struct nl_addr *, struct sockaddr *, socklen_t *);
450 extern int nl_addr_info(struct nl_addr *, struct addrinfo **);
451 extern int nl_addr_resolve(struct nl_addr *addr, char *host, size_t hostlen);
453 extern void nl_addr_set_family(struct nl_addr *, int);
454 extern int nl_addr_get_family(struct nl_addr *);
455 extern int nl_addr_set_binary_addr(struct nl_addr *, void *, size_t);
457 extern void *nl_addr_get_binary_addr(struct nl_addr *);
458 extern unsigned int nl_addr_get_len(struct nl_addr *);
459 extern void nl_addr_set_prefixlen(struct nl_addr *, int);
460 extern unsigned int nl_addr_get_prefixlen(struct nl_addr *);
467 extern char *nl_addr2str(struct nl_addr *, char *buf, size_t len);