summaryrefslogtreecommitdiffstats
path: root/include/netutils/ifc.h
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2011-01-27 14:16:20 -0800
committerDmitry Shmidt <dimitrysh@google.com>2011-01-27 14:16:20 -0800
commit9092b91ccaa4c6069036f72163e6473a5ca408c4 (patch)
treec6f8be1985fc541c0cced51b05d879936545b0ad /include/netutils/ifc.h
parent7d05a80da8c210d11df657bcec8b19a6bf1e8a16 (diff)
downloadsystem_core-9092b91ccaa4c6069036f72163e6473a5ca408c4.zip
system_core-9092b91ccaa4c6069036f72163e6473a5ca408c4.tar.gz
system_core-9092b91ccaa4c6069036f72163e6473a5ca408c4.tar.bz2
libnetutils: Clean all IPs assigned to the interface on cleaning
Change-Id: Ic285bbb4b224fc4e62e88e76b8b448edbe814a17 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'include/netutils/ifc.h')
-rw-r--r--include/netutils/ifc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netutils/ifc.h b/include/netutils/ifc.h
index e245262..650d89d 100644
--- a/include/netutils/ifc.h
+++ b/include/netutils/ifc.h
@@ -36,6 +36,7 @@ extern int ifc_disable(const char *ifname);
extern int ifc_reset_connections(const char *ifname);
+extern int ifc_get_addr(const char *name, in_addr_t *addr);
extern int ifc_set_addr(const char *name, in_addr_t addr);
extern int ifc_set_mask(const char *name, in_addr_t mask);
extern int ifc_set_hwaddr(const char *name, const void *ptr);