aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/vlan_util.h
blob: 4eda793e4686e05601311d5634d7be59f289f894 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * hostapd / VLAN netlink/ioctl 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);
int vlan_set_name_type(unsigned int name_type);

int ifconfig_up(const char *if_name);

#endif /* VLAN_UTIL_H */