summaryrefslogtreecommitdiff
path: root/src/connman.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-08-08 21:07:49 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-08-08 21:07:49 -0700
commiteedda82541e0cc367f784c3551277d40c53b28f5 (patch)
treea9362e07527e4a60a9453d6113f3e61268e37041 /src/connman.h
parent10b6ada1337f719b1a0a4232c63f098da218bc2b (diff)
downloadconnman-eedda82541e0cc367f784c3551277d40c53b28f5.tar.gz
connman-eedda82541e0cc367f784c3551277d40c53b28f5.tar.bz2
connman-eedda82541e0cc367f784c3551277d40c53b28f5.zip
Add support for tracking route table changes via RTNL
Diffstat (limited to 'src/connman.h')
-rw-r--r--src/connman.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/connman.h b/src/connman.h
index 28df972d..f8709d7a 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -103,6 +103,12 @@ void __connman_ipconfig_add_address(struct connman_ipconfig *ipconfig,
void __connman_ipconfig_del_address(struct connman_ipconfig *ipconfig,
const char *label, unsigned char prefixlen,
const char *address, const char *broadcast);
+void __connman_ipconfig_add_route(struct connman_ipconfig *ipconfig,
+ unsigned char scope, const char *destination,
+ const char *gateway);
+void __connman_ipconfig_del_route(struct connman_ipconfig *ipconfig,
+ unsigned char scope, const char *destination,
+ const char *gateway);
const char *__connman_ipconfig_method2string(enum connman_ipconfig_method method);
enum connman_ipconfig_method __connman_ipconfig_string2method(const char *method);