diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2013-04-04 14:44:49 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-04-05 14:37:15 +0300 |
commit | bb147fc28a6c2bb3b81a9677af518c8e3bf6cc4e (patch) | |
tree | be0f0e97bd06c8f8aefabf791522e8e5a1eb272f /src/connman.h | |
parent | 5b128587ec25d575a683b9a37e6ac33ce17bd760 (diff) | |
download | connman-bb147fc28a6c2bb3b81a9677af518c8e3bf6cc4e.tar.gz connman-bb147fc28a6c2bb3b81a9677af518c8e3bf6cc4e.tar.bz2 connman-bb147fc28a6c2bb3b81a9677af518c8e3bf6cc4e.zip |
inet: Get an address from a given interface and address family
The returned address is used when we need to have a listening
socket tied to specific interface and address, and do not want to
bind to any address.
Diffstat (limited to 'src/connman.h')
-rw-r--r-- | src/connman.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connman.h b/src/connman.h index e9c774e7..b63e6582 100644 --- a/src/connman.h +++ b/src/connman.h @@ -133,6 +133,7 @@ int __connman_inet_modify_address(int cmd, int flags, int index, int family, const char *peer, unsigned char prefixlen, const char *broadcast); +int __connman_inet_get_interface_address(int index, int family, void *address); #include <netinet/ip6.h> #include <netinet/icmp6.h> |