2012-08-10 11:55:33 +02:00
|
|
|
/*
|
2016-03-25 16:21:41 +01:00
|
|
|
* hostapd / VLAN netlink/ioctl api
|
2012-08-10 11:55:33 +02:00
|
|
|
* Copyright (c) 2012, Michael Braun <michael-dev@fami-braun.de>
|
|
|
|
*
|
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef VLAN_UTIL_H
|
|
|
|
#define VLAN_UTIL_H
|
|
|
|
|
|
|
|
int vlan_add(const char *if_name, int vid, const char *vlan_if_name);
|
|
|
|
int vlan_rem(const char *if_name);
|
2016-03-25 16:21:41 +01:00
|
|
|
int vlan_set_name_type(unsigned int name_type);
|
|
|
|
|
|
|
|
int ifconfig_up(const char *if_name);
|
2012-08-10 11:55:33 +02:00
|
|
|
|
|
|
|
#endif /* VLAN_UTIL_H */
|