aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/vlan_util.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2016-03-25 16:00:44 (GMT)
committerJouni Malinen <j@w1.fi>2016-03-25 16:00:44 (GMT)
commite86859929fd5e0fcc733192b1db7af2f6315af36 (patch)
treef7da450ef1bd82f6a7f75637ef417c9ac4e7ff84 /src/ap/vlan_util.h
parent7c03c08229ee0aa5f98ddf15d2dccb805e7f94b4 (diff)
downloadhostap-e86859929fd5e0fcc733192b1db7af2f6315af36.zip
hostap-e86859929fd5e0fcc733192b1db7af2f6315af36.tar.gz
hostap-e86859929fd5e0fcc733192b1db7af2f6315af36.tar.bz2
vlan: Move if_nametoindex() use out of vlan_init.c
With this, vlan_init.c does not need any special header files anymore and vlan_ifconfig.c does not need hostapd-specific header files that might conflict with net/if.h on NetBSD. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/ap/vlan_util.h')
-rw-r--r--src/ap/vlan_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ap/vlan_util.h b/src/ap/vlan_util.h
index 5e9e690..2446859 100644
--- a/src/ap/vlan_util.h
+++ b/src/ap/vlan_util.h
@@ -19,6 +19,7 @@ int vlan_set_name_type(unsigned int name_type);
int ifconfig_helper(const char *if_name, int up);
int ifconfig_up(const char *if_name);
+int iface_exists(const char *ifname);
int vlan_if_remove(struct hostapd_data *hapd, struct hostapd_vlan *vlan);
struct full_dynamic_vlan *