diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2012-03-27 10:59:56 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-04-05 14:30:13 +0300 |
commit | 2ecd3e684d9ada5328371ff81b3170a71f5d8c00 (patch) | |
tree | b5f952db82a8be37e78cfd8701eb963b9fb41ad6 /include/inet.h | |
parent | c81c02d08172c25ec9db32f58c8d908ced9b7853 (diff) | |
download | connman-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/inet.h')
-rw-r--r-- | include/inet.h | 2 |
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 } |