diff options
author | Alex Yakavenka <ayakav@codeaurora.org> | 2011-11-08 20:25:23 +0900 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2012-06-21 16:56:01 -0700 |
commit | 7c3d1c291ab5f9efb2efcfd5def1baeea1255917 (patch) | |
tree | 0bdcf9280e8adfef8ca2afab9b94b074b262b445 /libnetutils/ifc_utils.c | |
parent | 64b7c2cca044f821e182461127b445f9827c3d60 (diff) | |
download | system_core-7c3d1c291ab5f9efb2efcfd5def1baeea1255917.zip system_core-7c3d1c291ab5f9efb2efcfd5def1baeea1255917.tar.gz system_core-7c3d1c291ab5f9efb2efcfd5def1baeea1255917.tar.bz2 |
Export flags needed for ifc_reset_connections API in netutils
Code using ifc_reset_connections api needs to have access to
predefined masks for reset_mask parameter
Change-Id: I90bc5e1b62ae4a88501c8ad4e353c0d93d319579
Diffstat (limited to 'libnetutils/ifc_utils.c')
-rw-r--r-- | libnetutils/ifc_utils.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libnetutils/ifc_utils.c b/libnetutils/ifc_utils.c index 186b98c..50095ab 100644 --- a/libnetutils/ifc_utils.c +++ b/libnetutils/ifc_utils.c @@ -600,10 +600,6 @@ int ifc_disable(const char *ifname) return result; } -#define RESET_IPV4_ADDRESSES 0x01 -#define RESET_IPV6_ADDRESSES 0x02 -#define RESET_ALL_ADDRESSES (RESET_IPV4_ADDRESSES | RESET_IPV6_ADDRESSES) - int ifc_reset_connections(const char *ifname, const int reset_mask) { #ifdef HAVE_ANDROID_OS |