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>
This commit is contained in:
parent
7c03c08229
commit
e86859929f
3 changed files with 8 additions and 4 deletions
|
@ -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 *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue