mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-29 18:58:21 -05:00
03a6a2e972
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>
16 lines
382 B
C
16 lines
382 B
C
/*
|
|
* hostapd / VLAN netlink api
|
|
* 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);
|
|
|
|
#endif /* VLAN_UTIL_H */
|