diff options
author | Sreeram Ramachandran <sreeram@google.com> | 2014-09-08 16:05:09 -0700 |
---|---|---|
committer | Sreeram Ramachandran <sreeram@google.com> | 2014-09-08 23:35:52 -0700 |
commit | 17622d09d5ba54ae3c8b11644c6d7556bdc6644c (patch) | |
tree | c3fac859878ec4a57e1e7018f8837b09feba10ee /include/netutils/ifc.h | |
parent | 97b536f1fbfd1fa711833b7dc92aed902dea4bdf (diff) | |
download | system_core-17622d09d5ba54ae3c8b11644c6d7556bdc6644c.zip system_core-17622d09d5ba54ae3c8b11644c6d7556bdc6644c.tar.gz system_core-17622d09d5ba54ae3c8b11644c6d7556bdc6644c.tar.bz2 |
Support resetting connections tied to any nonexistent address.
Bug: 15414453
Change-Id: Ibf1f052e12b88838a328148e25817a96f10d50f5
Diffstat (limited to 'include/netutils/ifc.h')
-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 9a8b282..3b27234 100644 --- a/include/netutils/ifc.h +++ b/include/netutils/ifc.h @@ -36,6 +36,7 @@ extern int ifc_disable(const char *ifname); #define RESET_IPV4_ADDRESSES 0x01 #define RESET_IPV6_ADDRESSES 0x02 +#define RESET_IGNORE_INTERFACE_ADDRESS 0x04 #define RESET_ALL_ADDRESSES (RESET_IPV4_ADDRESSES | RESET_IPV6_ADDRESSES) extern int ifc_reset_connections(const char *ifname, const int reset_mask); |