]>
git.ipfire.org Git - thirdparty/hostap.git/blob - src/ap/vlan_util.h
5e9e690c0f6618bb9f36ef8f96a9e3ec7b495918
2 * hostapd / VLAN netlink/ioctl api
3 * Copyright (c) 2012, Michael Braun <michael-dev@fami-braun.de>
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
14 struct full_dynamic_vlan
;
16 int vlan_add(const char *if_name
, int vid
, const char *vlan_if_name
);
17 int vlan_rem(const char *if_name
);
18 int vlan_set_name_type(unsigned int name_type
);
20 int ifconfig_helper(const char *if_name
, int up
);
21 int ifconfig_up(const char *if_name
);
22 int vlan_if_remove(struct hostapd_data
*hapd
, struct hostapd_vlan
*vlan
);
24 struct full_dynamic_vlan
*
25 full_dynamic_vlan_init(struct hostapd_data
*hapd
);
26 void full_dynamic_vlan_deinit(struct full_dynamic_vlan
*priv
);
27 void vlan_newlink(const char *ifname
, struct hostapd_data
*hapd
);
28 void vlan_dellink(const char *ifname
, struct hostapd_data
*hapd
);
30 #endif /* VLAN_UTIL_H */