Lines Matching refs:nl_addr
21 struct nl_addr;
24 extern struct nl_addr * nl_addr_alloc(size_t);
25 extern struct nl_addr * nl_addr_alloc_attr(struct nlattr *, int);
26 extern struct nl_addr * nl_addr_build(int, void *, size_t);
27 extern int nl_addr_parse(const char *, int, struct nl_addr **);
28 extern struct nl_addr * nl_addr_clone(struct nl_addr *);
31 extern struct nl_addr * nl_addr_get(struct nl_addr *);
32 extern void nl_addr_put(struct nl_addr *);
33 extern int nl_addr_shared(struct nl_addr *);
35 extern int nl_addr_cmp(struct nl_addr *, struct nl_addr *);
36 extern int nl_addr_cmp_prefix(struct nl_addr *, struct nl_addr *);
37 extern int nl_addr_iszero(struct nl_addr *);
39 extern int nl_addr_guess_family(struct nl_addr *);
40 extern int nl_addr_fill_sockaddr(struct nl_addr *,
42 extern int nl_addr_info(struct nl_addr *, struct addrinfo **);
43 extern int nl_addr_resolve(struct nl_addr *, char *, size_t);
46 extern void nl_addr_set_family(struct nl_addr *, int);
47 extern int nl_addr_get_family(struct nl_addr *);
48 extern int nl_addr_set_binary_addr(struct nl_addr *, void *,
50 extern void * nl_addr_get_binary_addr(struct nl_addr *);
51 extern unsigned int nl_addr_get_len(struct nl_addr *);
52 extern void nl_addr_set_prefixlen(struct nl_addr *, int);
53 extern unsigned int nl_addr_get_prefixlen(struct nl_addr *);
60 extern char * nl_addr2str(struct nl_addr *, char *, size_t);