summaryrefslogtreecommitdiffstats
path: root/libnetutils/ifc_utils.h
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2010-06-21 11:50:42 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2010-06-21 11:50:42 -0700
commit67e6fcd19533f54ca37cbe72425f55a40a7f0333 (patch)
tree51bd71957a0510d5b24d1f1e118e3b342214c8c2 /libnetutils/ifc_utils.h
parentf1792b3d125a6adefa6941d20b3f26833570ab65 (diff)
parent1adbb607d2b6a74b7871a8cecd7c5690c8c5cf6d (diff)
downloadsystem_core-67e6fcd19533f54ca37cbe72425f55a40a7f0333.zip
system_core-67e6fcd19533f54ca37cbe72425f55a40a7f0333.tar.gz
system_core-67e6fcd19533f54ca37cbe72425f55a40a7f0333.tar.bz2
merge from froyo-plus-aosp
Change-Id: Ie231effb4d9dfd63aa98ec08b269c31ce32aa1c0
Diffstat (limited to 'libnetutils/ifc_utils.h')
-rw-r--r--libnetutils/ifc_utils.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/libnetutils/ifc_utils.h b/libnetutils/ifc_utils.h
deleted file mode 100644
index 49b8747..0000000
--- a/libnetutils/ifc_utils.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright 2008, The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef _IFC_UTILS_H_
-#define _IFC_UTILS_H_
-
-int ifc_init(void);
-
-int ifc_get_ifindex(const char *name, int *if_indexp);
-int ifc_get_hwaddr(const char *name, void *ptr);
-
-int ifc_up(const char *name);
-int ifc_down(const char *name);
-
-int ifc_set_addr(const char *name, unsigned addr);
-int ifc_set_mask(const char *name, unsigned mask);
-
-int ifc_create_default_route(const char *name, unsigned addr);
-
-int ifc_get_info(const char *name, unsigned *addr, unsigned *mask, unsigned *flags);
-
-#endif