2 * hostapd / VLAN definition
3 * Copyright (c) 2015, Jouni Malinen <j@w1.fi>
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
12 #define MAX_NUM_TAGGED_VLAN 32
14 struct vlan_description {
15 int notempty; /* 0 : no vlan information present, 1: else */
16 int untagged; /* >0 802.1q vid */
17 int tagged[MAX_NUM_TAGGED_VLAN]; /* first k items, ascending order */
20 #ifndef CONFIG_NO_VLAN
21 int vlan_compare(struct vlan_description *a, struct vlan_description *b);
22 #else /* CONFIG_NO_VLAN */
24 vlan_compare(struct vlan_description *a, struct vlan_description *b)
28 #endif /* CONFIG_NO_VLAN */