summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-03-27 10:59:56 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-04-05 14:30:13 +0300
commit2ecd3e684d9ada5328371ff81b3170a71f5d8c00 (patch)
treeb5f952db82a8be37e78cfd8701eb963b9fb41ad6 /include
parentc81c02d08172c25ec9db32f58c8d908ced9b7853 (diff)
downloadconnman-2ecd3e684d9ada5328371ff81b3170a71f5d8c00.tar.gz
connman-2ecd3e684d9ada5328371ff81b3170a71f5d8c00.tar.bz2
connman-2ecd3e684d9ada5328371ff81b3170a71f5d8c00.zip
net: Add functions to get dest address of P-t-P link
These functions are needed when we need to setup a route to point-to-point link destination address. The route is needed if P-t-P link does not have a default route.
Diffstat (limited to 'include')
-rw-r--r--include/inet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/inet.h b/include/inet.h
index 1aa23ea9..60525d53 100644
--- a/include/inet.h
+++ b/include/inet.h
@@ -78,6 +78,8 @@ int connman_inet_remove_from_bridge(int index, const char *bridge);
int connman_inet_set_mtu(int index, int mtu);
int connman_inet_setup_tunnel(char *tunnel, int mtu);
int connman_inet_create_tunnel(char **iface);
+int connman_inet_get_dest_addr(int index, char **dest);
+int connman_inet_ipv6_get_dest_addr(int index, char **dest);
#ifdef __cplusplus
}