aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/vlan_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ap/vlan_util.h')
-rw-r--r--src/ap/vlan_util.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ap/vlan_util.h b/src/ap/vlan_util.h
index 4eda793..5e9e690 100644
--- a/src/ap/vlan_util.h
+++ b/src/ap/vlan_util.h
@@ -9,10 +9,22 @@
#ifndef VLAN_UTIL_H
#define VLAN_UTIL_H
+struct hostapd_data;
+struct hostapd_vlan;
+struct full_dynamic_vlan;
+
int vlan_add(const char *if_name, int vid, const char *vlan_if_name);
int vlan_rem(const char *if_name);
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 vlan_if_remove(struct hostapd_data *hapd, struct hostapd_vlan *vlan);
+
+struct full_dynamic_vlan *
+full_dynamic_vlan_init(struct hostapd_data *hapd);
+void full_dynamic_vlan_deinit(struct full_dynamic_vlan *priv);
+void vlan_newlink(const char *ifname, struct hostapd_data *hapd);
+void vlan_dellink(const char *ifname, struct hostapd_data *hapd);
#endif /* VLAN_UTIL_H */