|
| struct nl_addr * | nl_addr_alloc (size_t) |
| | Allocate new abstract address object. More...
|
| |
| struct nl_addr * | nl_addr_alloc_attr (struct nlattr *, int) |
| | Allocate abstract address based on netlink attribute. More...
|
| |
| struct nl_addr * | nl_addr_build (int, void *, size_t) |
| | Allocate new abstract address object based on a binary address. More...
|
| |
| int | nl_addr_parse (const char *, int, struct nl_addr **) |
| | Allocate abstract address object based on a character string. More...
|
| |
| struct nl_addr * | nl_addr_clone (struct nl_addr *) |
| | Clone existing abstract address object. More...
|
| |
| void | nl_addr_destroy (struct nl_addr *) |
| | Destroy abstract address object. More...
|
| |
| struct nl_addr * | nl_addr_get (struct nl_addr *) |
| |
| void | nl_addr_put (struct nl_addr *) |
| |
| int | nl_addr_shared (struct nl_addr *) |
| | Check whether an abstract address object is shared. More...
|
| |
| int | nl_addr_cmp (struct nl_addr *, struct nl_addr *) |
| | Compares two abstract address objects. More...
|
| |
| int | nl_addr_cmp_prefix (struct nl_addr *, struct nl_addr *) |
| | Compares the prefix of two abstract address objects. More...
|
| |
| int | nl_addr_iszero (struct nl_addr *) |
| | Returns true if the address consists of all zeros. More...
|
| |
| int | nl_addr_valid (char *, int) |
| | Check if an address matches a certain family. More...
|
| |
| int | nl_addr_guess_family (struct nl_addr *) |
| | Guess address family of an abstract address object based on address size. More...
|
| |
| int | nl_addr_fill_sockaddr (struct nl_addr *, struct sockaddr *, socklen_t *) |
| | Fill out sockaddr structure with values from abstract address object. More...
|
| |
| int | nl_addr_info (struct nl_addr *, struct addrinfo **) |
| | Call getaddrinfo() for an abstract address object. More...
|
| |
| int | nl_addr_resolve (struct nl_addr *addr, char *host, size_t hostlen) |
| | Resolve abstract address object to a name using getnameinfo(). More...
|
| |
| void | nl_addr_set_family (struct nl_addr *, int) |
| |
| int | nl_addr_get_family (struct nl_addr *) |
| |
| int | nl_addr_set_binary_addr (struct nl_addr *, void *, size_t) |
| | Set binary address of abstract address object. More...
|
| |
| void * | nl_addr_get_binary_addr (struct nl_addr *) |
| | Get binary address of abstract address object. More...
|
| |
| unsigned int | nl_addr_get_len (struct nl_addr *) |
| | Get length of binary address of abstract address object. More...
|
| |
| void | nl_addr_set_prefixlen (struct nl_addr *, int) |
| |
| unsigned int | nl_addr_get_prefixlen (struct nl_addr *) |
| | Get prefix length of abstract address object. More...
|
| |
| char * | nl_af2str (int, char *, size_t) |
| |
| int | nl_str2af (const char *) |
| |
| char * | nl_addr2str (struct nl_addr *, char *, size_t) |
| | Convert abstract address object to character string. More...
|
| |