blob: ff5c8523ccc2800830c218c997c29757cc1328de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#ifndef __LINUX_VLAN_MON_H
#define __LINUX_VLAN_MON_H
#include <linux/types.h>
enum {
VLAN_MON_CMD_NOOP,
VLAN_MON_CMD_ADD,
VLAN_MON_CMD_ADD_VID,
VLAN_MON_CMD_DEL,
VLAN_MON_NOTIFY,
__VLAN_MON_CMD_MAX,
};
#define VLAN_MON_CMD_MAX (__VLAN_MON_CMD_MAX - 1)
enum {
VLAN_MON_ATTR_NONE, /* u32 */
VLAN_MON_ATTR_VLAN_MASK, /* u32 */
VLAN_MON_ATTR_PROTO, /* u32 */
VLAN_MON_ATTR_IFINDEX, /* u32 */
VLAN_MON_ATTR_VID, /* u32 */
VLAN_MON_ATTR_VLAN_IFINDEX, /* u32 */
__VLAN_MON_ATTR_MAX,
};
#define VLAN_MON_ATTR_MAX (__VLAN_MON_ATTR_MAX - 1)
/*
* NETLINK_GENERIC related info
*/
#define VLAN_MON_GENL_NAME "vlan-mon"
#define VLAN_MON_GENL_MCG "notify"
#define VLAN_MON_GENL_VERSION 0x01
#endif
|