diff options
| author | Dmitry Shmidt <dimitrysh@google.com> | 2011-01-27 14:16:20 -0800 |
|---|---|---|
| committer | Dmitry Shmidt <dimitrysh@google.com> | 2011-01-27 14:16:20 -0800 |
| commit | 9092b91ccaa4c6069036f72163e6473a5ca408c4 (patch) | |
| tree | c6f8be1985fc541c0cced51b05d879936545b0ad /include | |
| parent | 7d05a80da8c210d11df657bcec8b19a6bf1e8a16 (diff) | |
| download | system_core-9092b91ccaa4c6069036f72163e6473a5ca408c4.tar.gz system_core-9092b91ccaa4c6069036f72163e6473a5ca408c4.tar.bz2 system_core-9092b91ccaa4c6069036f72163e6473a5ca408c4.zip | |
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')
| -rw-r--r-- | include/netutils/ifc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netutils/ifc.h b/include/netutils/ifc.h index e2452629..650d89d0 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); |
