1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef _LINUX_TIPC_NETLINK_H_
20 #define _LINUX_TIPC_NETLINK_H_
21 #define TIPC_GENL_V2_NAME "TIPCv2"
22 #define TIPC_GENL_V2_VERSION 0x1
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 enum {
25   TIPC_NL_UNSPEC,
26   TIPC_NL_LEGACY,
27   TIPC_NL_BEARER_DISABLE,
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29   TIPC_NL_BEARER_ENABLE,
30   TIPC_NL_BEARER_GET,
31   TIPC_NL_BEARER_SET,
32   TIPC_NL_SOCK_GET,
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34   TIPC_NL_PUBL_GET,
35   TIPC_NL_LINK_GET,
36   TIPC_NL_LINK_SET,
37   TIPC_NL_LINK_RESET_STATS,
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39   TIPC_NL_MEDIA_GET,
40   TIPC_NL_MEDIA_SET,
41   TIPC_NL_NODE_GET,
42   TIPC_NL_NET_GET,
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44   TIPC_NL_NET_SET,
45   TIPC_NL_NAME_TABLE_GET,
46   __TIPC_NL_CMD_MAX,
47   TIPC_NL_CMD_MAX = __TIPC_NL_CMD_MAX - 1
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 };
50 enum {
51   TIPC_NLA_UNSPEC,
52   TIPC_NLA_BEARER,
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54   TIPC_NLA_SOCK,
55   TIPC_NLA_PUBL,
56   TIPC_NLA_LINK,
57   TIPC_NLA_MEDIA,
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59   TIPC_NLA_NODE,
60   TIPC_NLA_NET,
61   TIPC_NLA_NAME_TABLE,
62   __TIPC_NLA_MAX,
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64   TIPC_NLA_MAX = __TIPC_NLA_MAX - 1
65 };
66 enum {
67   TIPC_NLA_BEARER_UNSPEC,
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69   TIPC_NLA_BEARER_NAME,
70   TIPC_NLA_BEARER_PROP,
71   TIPC_NLA_BEARER_DOMAIN,
72   TIPC_NLA_BEARER_UDP_OPTS,
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74   __TIPC_NLA_BEARER_MAX,
75   TIPC_NLA_BEARER_MAX = __TIPC_NLA_BEARER_MAX - 1
76 };
77 enum {
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79   TIPC_NLA_UDP_UNSPEC,
80   TIPC_NLA_UDP_LOCAL,
81   TIPC_NLA_UDP_REMOTE,
82   __TIPC_NLA_UDP_MAX,
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84   TIPC_NLA_UDP_MAX = __TIPC_NLA_UDP_MAX - 1
85 };
86 enum {
87   TIPC_NLA_SOCK_UNSPEC,
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89   TIPC_NLA_SOCK_ADDR,
90   TIPC_NLA_SOCK_REF,
91   TIPC_NLA_SOCK_CON,
92   TIPC_NLA_SOCK_HAS_PUBL,
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94   __TIPC_NLA_SOCK_MAX,
95   TIPC_NLA_SOCK_MAX = __TIPC_NLA_SOCK_MAX - 1
96 };
97 enum {
98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99   TIPC_NLA_LINK_UNSPEC,
100   TIPC_NLA_LINK_NAME,
101   TIPC_NLA_LINK_DEST,
102   TIPC_NLA_LINK_MTU,
103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104   TIPC_NLA_LINK_BROADCAST,
105   TIPC_NLA_LINK_UP,
106   TIPC_NLA_LINK_ACTIVE,
107   TIPC_NLA_LINK_PROP,
108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109   TIPC_NLA_LINK_STATS,
110   TIPC_NLA_LINK_RX,
111   TIPC_NLA_LINK_TX,
112   __TIPC_NLA_LINK_MAX,
113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114   TIPC_NLA_LINK_MAX = __TIPC_NLA_LINK_MAX - 1
115 };
116 enum {
117   TIPC_NLA_MEDIA_UNSPEC,
118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119   TIPC_NLA_MEDIA_NAME,
120   TIPC_NLA_MEDIA_PROP,
121   __TIPC_NLA_MEDIA_MAX,
122   TIPC_NLA_MEDIA_MAX = __TIPC_NLA_MEDIA_MAX - 1
123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124 };
125 enum {
126   TIPC_NLA_NODE_UNSPEC,
127   TIPC_NLA_NODE_ADDR,
128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
129   TIPC_NLA_NODE_UP,
130   __TIPC_NLA_NODE_MAX,
131   TIPC_NLA_NODE_MAX = __TIPC_NLA_NODE_MAX - 1
132 };
133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
134 enum {
135   TIPC_NLA_NET_UNSPEC,
136   TIPC_NLA_NET_ID,
137   TIPC_NLA_NET_ADDR,
138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
139   __TIPC_NLA_NET_MAX,
140   TIPC_NLA_NET_MAX = __TIPC_NLA_NET_MAX - 1
141 };
142 enum {
143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
144   TIPC_NLA_NAME_TABLE_UNSPEC,
145   TIPC_NLA_NAME_TABLE_PUBL,
146   __TIPC_NLA_NAME_TABLE_MAX,
147   TIPC_NLA_NAME_TABLE_MAX = __TIPC_NLA_NAME_TABLE_MAX - 1
148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
149 };
150 enum {
151   TIPC_NLA_PUBL_UNSPEC,
152   TIPC_NLA_PUBL_TYPE,
153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
154   TIPC_NLA_PUBL_LOWER,
155   TIPC_NLA_PUBL_UPPER,
156   TIPC_NLA_PUBL_SCOPE,
157   TIPC_NLA_PUBL_NODE,
158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
159   TIPC_NLA_PUBL_REF,
160   TIPC_NLA_PUBL_KEY,
161   __TIPC_NLA_PUBL_MAX,
162   TIPC_NLA_PUBL_MAX = __TIPC_NLA_PUBL_MAX - 1
163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
164 };
165 enum {
166   TIPC_NLA_CON_UNSPEC,
167   TIPC_NLA_CON_FLAG,
168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
169   TIPC_NLA_CON_NODE,
170   TIPC_NLA_CON_SOCK,
171   TIPC_NLA_CON_TYPE,
172   TIPC_NLA_CON_INST,
173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
174   __TIPC_NLA_CON_MAX,
175   TIPC_NLA_CON_MAX = __TIPC_NLA_CON_MAX - 1
176 };
177 enum {
178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
179   TIPC_NLA_PROP_UNSPEC,
180   TIPC_NLA_PROP_PRIO,
181   TIPC_NLA_PROP_TOL,
182   TIPC_NLA_PROP_WIN,
183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
184   __TIPC_NLA_PROP_MAX,
185   TIPC_NLA_PROP_MAX = __TIPC_NLA_PROP_MAX - 1
186 };
187 enum {
188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
189   TIPC_NLA_STATS_UNSPEC,
190   TIPC_NLA_STATS_RX_INFO,
191   TIPC_NLA_STATS_RX_FRAGMENTS,
192   TIPC_NLA_STATS_RX_FRAGMENTED,
193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
194   TIPC_NLA_STATS_RX_BUNDLES,
195   TIPC_NLA_STATS_RX_BUNDLED,
196   TIPC_NLA_STATS_TX_INFO,
197   TIPC_NLA_STATS_TX_FRAGMENTS,
198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
199   TIPC_NLA_STATS_TX_FRAGMENTED,
200   TIPC_NLA_STATS_TX_BUNDLES,
201   TIPC_NLA_STATS_TX_BUNDLED,
202   TIPC_NLA_STATS_MSG_PROF_TOT,
203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
204   TIPC_NLA_STATS_MSG_LEN_CNT,
205   TIPC_NLA_STATS_MSG_LEN_TOT,
206   TIPC_NLA_STATS_MSG_LEN_P0,
207   TIPC_NLA_STATS_MSG_LEN_P1,
208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
209   TIPC_NLA_STATS_MSG_LEN_P2,
210   TIPC_NLA_STATS_MSG_LEN_P3,
211   TIPC_NLA_STATS_MSG_LEN_P4,
212   TIPC_NLA_STATS_MSG_LEN_P5,
213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
214   TIPC_NLA_STATS_MSG_LEN_P6,
215   TIPC_NLA_STATS_RX_STATES,
216   TIPC_NLA_STATS_RX_PROBES,
217   TIPC_NLA_STATS_RX_NACKS,
218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
219   TIPC_NLA_STATS_RX_DEFERRED,
220   TIPC_NLA_STATS_TX_STATES,
221   TIPC_NLA_STATS_TX_PROBES,
222   TIPC_NLA_STATS_TX_NACKS,
223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
224   TIPC_NLA_STATS_TX_ACKS,
225   TIPC_NLA_STATS_RETRANSMITTED,
226   TIPC_NLA_STATS_DUPLICATES,
227   TIPC_NLA_STATS_LINK_CONGS,
228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
229   TIPC_NLA_STATS_MAX_QUEUE,
230   TIPC_NLA_STATS_AVG_QUEUE,
231   __TIPC_NLA_STATS_MAX,
232   TIPC_NLA_STATS_MAX = __TIPC_NLA_STATS_MAX - 1
233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
234 };
235 #endif
236