aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/vlan_util.h
Commit message (Collapse)AuthorAgeFilesLines
* vlan: Move if_nametoindex() use out of vlan_init.cJouni Malinen2016-03-251-0/+1
| | | | | | | | 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>
* vlan: Move CONFIG_FULL_DYNAMIC_VLAN functionality into a separate fileJouni Malinen2016-03-251-0/+12
| | | | | | | This cleans up vlan_init.c by removing number of C pre-processor dependencies. Signed-off-by: Jouni Malinen <j@w1.fi>
* vlan: Clean up netlink vs. ioctl API implementationJouni Malinen2016-03-251-1/+4
| | | | | | | | | | | Move the ioctl-based VLAN implementation to a separate file to avoid need for conditional blocks within vlan_ioctl.c. This removes the internal CONFIG_VLAN_NETLINK define, i.e., this is now used only in build configuration (.config) to select whether to include the vlan_util.c (netlink) or vlan_ioctl.c (ioctl) implementation of the functions. Signed-off-by: Jouni Malinen <j@w1.fi>
* Add option to use netlink to create and remove VLAN interfacesMichael Braun2012-08-101-0/+15
CONFIG_VLAN_NETLINK=y build option can now be used to replace the ioctl()-based interface for creating and removing VLAN interfaces with netlink-based interface. Signed-hostap: M. Braun <michael-dev@fami-braun.de>