1
2
3
4
5
6
7
8
9
10
11
12
13
14#ifndef __UAPI_HSR_NETLINK_H
15#define __UAPI_HSR_NETLINK_H
16
17
18
19
20
21enum {
22 HSR_A_UNSPEC,
23 HSR_A_NODE_ADDR,
24 HSR_A_IFINDEX,
25 HSR_A_IF1_AGE,
26 HSR_A_IF2_AGE,
27 HSR_A_NODE_ADDR_B,
28 HSR_A_IF1_SEQ,
29 HSR_A_IF2_SEQ,
30 HSR_A_IF1_IFINDEX,
31 HSR_A_IF2_IFINDEX,
32 HSR_A_ADDR_B_IFINDEX,
33 __HSR_A_MAX,
34};
35#define HSR_A_MAX (__HSR_A_MAX - 1)
36
37
38
39enum {
40 HSR_C_UNSPEC,
41 HSR_C_RING_ERROR,
42 HSR_C_NODE_DOWN,
43 HSR_C_GET_NODE_STATUS,
44 HSR_C_SET_NODE_STATUS,
45 HSR_C_GET_NODE_LIST,
46 HSR_C_SET_NODE_LIST,
47 __HSR_C_MAX,
48};
49#define HSR_C_MAX (__HSR_C_MAX - 1)
50
51#endif
52