• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by ./xlat/gen.sh from ./xlat/rtnl_ifla_info_data_bridge_attrs.in; do not edit. */
2 
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5 
6 #if defined(IFLA_BR_UNSPEC) || (defined(HAVE_DECL_IFLA_BR_UNSPEC) && HAVE_DECL_IFLA_BR_UNSPEC)
7 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
8 static_assert((IFLA_BR_UNSPEC) == (0), "IFLA_BR_UNSPEC != 0");
9 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
10 #else
11 # define IFLA_BR_UNSPEC 0
12 #endif
13 #if defined(IFLA_BR_FORWARD_DELAY) || (defined(HAVE_DECL_IFLA_BR_FORWARD_DELAY) && HAVE_DECL_IFLA_BR_FORWARD_DELAY)
14 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
15 static_assert((IFLA_BR_FORWARD_DELAY) == (1), "IFLA_BR_FORWARD_DELAY != 1");
16 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
17 #else
18 # define IFLA_BR_FORWARD_DELAY 1
19 #endif
20 #if defined(IFLA_BR_HELLO_TIME) || (defined(HAVE_DECL_IFLA_BR_HELLO_TIME) && HAVE_DECL_IFLA_BR_HELLO_TIME)
21 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
22 static_assert((IFLA_BR_HELLO_TIME) == (2), "IFLA_BR_HELLO_TIME != 2");
23 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
24 #else
25 # define IFLA_BR_HELLO_TIME 2
26 #endif
27 #if defined(IFLA_BR_MAX_AGE) || (defined(HAVE_DECL_IFLA_BR_MAX_AGE) && HAVE_DECL_IFLA_BR_MAX_AGE)
28 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
29 static_assert((IFLA_BR_MAX_AGE) == (3), "IFLA_BR_MAX_AGE != 3");
30 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
31 #else
32 # define IFLA_BR_MAX_AGE 3
33 #endif
34 #if defined(IFLA_BR_AGEING_TIME) || (defined(HAVE_DECL_IFLA_BR_AGEING_TIME) && HAVE_DECL_IFLA_BR_AGEING_TIME)
35 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
36 static_assert((IFLA_BR_AGEING_TIME) == (4), "IFLA_BR_AGEING_TIME != 4");
37 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
38 #else
39 # define IFLA_BR_AGEING_TIME 4
40 #endif
41 #if defined(IFLA_BR_STP_STATE) || (defined(HAVE_DECL_IFLA_BR_STP_STATE) && HAVE_DECL_IFLA_BR_STP_STATE)
42 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
43 static_assert((IFLA_BR_STP_STATE) == (5), "IFLA_BR_STP_STATE != 5");
44 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
45 #else
46 # define IFLA_BR_STP_STATE 5
47 #endif
48 #if defined(IFLA_BR_PRIORITY) || (defined(HAVE_DECL_IFLA_BR_PRIORITY) && HAVE_DECL_IFLA_BR_PRIORITY)
49 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
50 static_assert((IFLA_BR_PRIORITY) == (6), "IFLA_BR_PRIORITY != 6");
51 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
52 #else
53 # define IFLA_BR_PRIORITY 6
54 #endif
55 #if defined(IFLA_BR_VLAN_FILTERING) || (defined(HAVE_DECL_IFLA_BR_VLAN_FILTERING) && HAVE_DECL_IFLA_BR_VLAN_FILTERING)
56 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
57 static_assert((IFLA_BR_VLAN_FILTERING) == (7), "IFLA_BR_VLAN_FILTERING != 7");
58 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
59 #else
60 # define IFLA_BR_VLAN_FILTERING 7
61 #endif
62 #if defined(IFLA_BR_VLAN_PROTOCOL) || (defined(HAVE_DECL_IFLA_BR_VLAN_PROTOCOL) && HAVE_DECL_IFLA_BR_VLAN_PROTOCOL)
63 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
64 static_assert((IFLA_BR_VLAN_PROTOCOL) == (8), "IFLA_BR_VLAN_PROTOCOL != 8");
65 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
66 #else
67 # define IFLA_BR_VLAN_PROTOCOL 8
68 #endif
69 #if defined(IFLA_BR_GROUP_FWD_MASK) || (defined(HAVE_DECL_IFLA_BR_GROUP_FWD_MASK) && HAVE_DECL_IFLA_BR_GROUP_FWD_MASK)
70 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
71 static_assert((IFLA_BR_GROUP_FWD_MASK) == (9), "IFLA_BR_GROUP_FWD_MASK != 9");
72 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
73 #else
74 # define IFLA_BR_GROUP_FWD_MASK 9
75 #endif
76 #if defined(IFLA_BR_ROOT_ID) || (defined(HAVE_DECL_IFLA_BR_ROOT_ID) && HAVE_DECL_IFLA_BR_ROOT_ID)
77 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
78 static_assert((IFLA_BR_ROOT_ID) == (10), "IFLA_BR_ROOT_ID != 10");
79 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
80 #else
81 # define IFLA_BR_ROOT_ID 10
82 #endif
83 #if defined(IFLA_BR_BRIDGE_ID) || (defined(HAVE_DECL_IFLA_BR_BRIDGE_ID) && HAVE_DECL_IFLA_BR_BRIDGE_ID)
84 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
85 static_assert((IFLA_BR_BRIDGE_ID) == (11), "IFLA_BR_BRIDGE_ID != 11");
86 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
87 #else
88 # define IFLA_BR_BRIDGE_ID 11
89 #endif
90 #if defined(IFLA_BR_ROOT_PORT) || (defined(HAVE_DECL_IFLA_BR_ROOT_PORT) && HAVE_DECL_IFLA_BR_ROOT_PORT)
91 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
92 static_assert((IFLA_BR_ROOT_PORT) == (12), "IFLA_BR_ROOT_PORT != 12");
93 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
94 #else
95 # define IFLA_BR_ROOT_PORT 12
96 #endif
97 #if defined(IFLA_BR_ROOT_PATH_COST) || (defined(HAVE_DECL_IFLA_BR_ROOT_PATH_COST) && HAVE_DECL_IFLA_BR_ROOT_PATH_COST)
98 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
99 static_assert((IFLA_BR_ROOT_PATH_COST) == (13), "IFLA_BR_ROOT_PATH_COST != 13");
100 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
101 #else
102 # define IFLA_BR_ROOT_PATH_COST 13
103 #endif
104 #if defined(IFLA_BR_TOPOLOGY_CHANGE) || (defined(HAVE_DECL_IFLA_BR_TOPOLOGY_CHANGE) && HAVE_DECL_IFLA_BR_TOPOLOGY_CHANGE)
105 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
106 static_assert((IFLA_BR_TOPOLOGY_CHANGE) == (14), "IFLA_BR_TOPOLOGY_CHANGE != 14");
107 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
108 #else
109 # define IFLA_BR_TOPOLOGY_CHANGE 14
110 #endif
111 #if defined(IFLA_BR_TOPOLOGY_CHANGE_DETECTED) || (defined(HAVE_DECL_IFLA_BR_TOPOLOGY_CHANGE_DETECTED) && HAVE_DECL_IFLA_BR_TOPOLOGY_CHANGE_DETECTED)
112 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
113 static_assert((IFLA_BR_TOPOLOGY_CHANGE_DETECTED) == (15), "IFLA_BR_TOPOLOGY_CHANGE_DETECTED != 15");
114 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
115 #else
116 # define IFLA_BR_TOPOLOGY_CHANGE_DETECTED 15
117 #endif
118 #if defined(IFLA_BR_HELLO_TIMER) || (defined(HAVE_DECL_IFLA_BR_HELLO_TIMER) && HAVE_DECL_IFLA_BR_HELLO_TIMER)
119 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
120 static_assert((IFLA_BR_HELLO_TIMER) == (16), "IFLA_BR_HELLO_TIMER != 16");
121 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
122 #else
123 # define IFLA_BR_HELLO_TIMER 16
124 #endif
125 #if defined(IFLA_BR_TCN_TIMER) || (defined(HAVE_DECL_IFLA_BR_TCN_TIMER) && HAVE_DECL_IFLA_BR_TCN_TIMER)
126 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
127 static_assert((IFLA_BR_TCN_TIMER) == (17), "IFLA_BR_TCN_TIMER != 17");
128 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
129 #else
130 # define IFLA_BR_TCN_TIMER 17
131 #endif
132 #if defined(IFLA_BR_TOPOLOGY_CHANGE_TIMER) || (defined(HAVE_DECL_IFLA_BR_TOPOLOGY_CHANGE_TIMER) && HAVE_DECL_IFLA_BR_TOPOLOGY_CHANGE_TIMER)
133 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
134 static_assert((IFLA_BR_TOPOLOGY_CHANGE_TIMER) == (18), "IFLA_BR_TOPOLOGY_CHANGE_TIMER != 18");
135 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
136 #else
137 # define IFLA_BR_TOPOLOGY_CHANGE_TIMER 18
138 #endif
139 #if defined(IFLA_BR_GC_TIMER) || (defined(HAVE_DECL_IFLA_BR_GC_TIMER) && HAVE_DECL_IFLA_BR_GC_TIMER)
140 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
141 static_assert((IFLA_BR_GC_TIMER) == (19), "IFLA_BR_GC_TIMER != 19");
142 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
143 #else
144 # define IFLA_BR_GC_TIMER 19
145 #endif
146 #if defined(IFLA_BR_GROUP_ADDR) || (defined(HAVE_DECL_IFLA_BR_GROUP_ADDR) && HAVE_DECL_IFLA_BR_GROUP_ADDR)
147 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
148 static_assert((IFLA_BR_GROUP_ADDR) == (20), "IFLA_BR_GROUP_ADDR != 20");
149 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
150 #else
151 # define IFLA_BR_GROUP_ADDR 20
152 #endif
153 #if defined(IFLA_BR_FDB_FLUSH) || (defined(HAVE_DECL_IFLA_BR_FDB_FLUSH) && HAVE_DECL_IFLA_BR_FDB_FLUSH)
154 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
155 static_assert((IFLA_BR_FDB_FLUSH) == (21), "IFLA_BR_FDB_FLUSH != 21");
156 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
157 #else
158 # define IFLA_BR_FDB_FLUSH 21
159 #endif
160 #if defined(IFLA_BR_MCAST_ROUTER) || (defined(HAVE_DECL_IFLA_BR_MCAST_ROUTER) && HAVE_DECL_IFLA_BR_MCAST_ROUTER)
161 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
162 static_assert((IFLA_BR_MCAST_ROUTER) == (22), "IFLA_BR_MCAST_ROUTER != 22");
163 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
164 #else
165 # define IFLA_BR_MCAST_ROUTER 22
166 #endif
167 #if defined(IFLA_BR_MCAST_SNOOPING) || (defined(HAVE_DECL_IFLA_BR_MCAST_SNOOPING) && HAVE_DECL_IFLA_BR_MCAST_SNOOPING)
168 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
169 static_assert((IFLA_BR_MCAST_SNOOPING) == (23), "IFLA_BR_MCAST_SNOOPING != 23");
170 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
171 #else
172 # define IFLA_BR_MCAST_SNOOPING 23
173 #endif
174 #if defined(IFLA_BR_MCAST_QUERY_USE_IFADDR) || (defined(HAVE_DECL_IFLA_BR_MCAST_QUERY_USE_IFADDR) && HAVE_DECL_IFLA_BR_MCAST_QUERY_USE_IFADDR)
175 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
176 static_assert((IFLA_BR_MCAST_QUERY_USE_IFADDR) == (24), "IFLA_BR_MCAST_QUERY_USE_IFADDR != 24");
177 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
178 #else
179 # define IFLA_BR_MCAST_QUERY_USE_IFADDR 24
180 #endif
181 #if defined(IFLA_BR_MCAST_QUERIER) || (defined(HAVE_DECL_IFLA_BR_MCAST_QUERIER) && HAVE_DECL_IFLA_BR_MCAST_QUERIER)
182 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
183 static_assert((IFLA_BR_MCAST_QUERIER) == (25), "IFLA_BR_MCAST_QUERIER != 25");
184 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
185 #else
186 # define IFLA_BR_MCAST_QUERIER 25
187 #endif
188 #if defined(IFLA_BR_MCAST_HASH_ELASTICITY) || (defined(HAVE_DECL_IFLA_BR_MCAST_HASH_ELASTICITY) && HAVE_DECL_IFLA_BR_MCAST_HASH_ELASTICITY)
189 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
190 static_assert((IFLA_BR_MCAST_HASH_ELASTICITY) == (26), "IFLA_BR_MCAST_HASH_ELASTICITY != 26");
191 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
192 #else
193 # define IFLA_BR_MCAST_HASH_ELASTICITY 26
194 #endif
195 #if defined(IFLA_BR_MCAST_HASH_MAX) || (defined(HAVE_DECL_IFLA_BR_MCAST_HASH_MAX) && HAVE_DECL_IFLA_BR_MCAST_HASH_MAX)
196 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
197 static_assert((IFLA_BR_MCAST_HASH_MAX) == (27), "IFLA_BR_MCAST_HASH_MAX != 27");
198 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
199 #else
200 # define IFLA_BR_MCAST_HASH_MAX 27
201 #endif
202 #if defined(IFLA_BR_MCAST_LAST_MEMBER_CNT) || (defined(HAVE_DECL_IFLA_BR_MCAST_LAST_MEMBER_CNT) && HAVE_DECL_IFLA_BR_MCAST_LAST_MEMBER_CNT)
203 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
204 static_assert((IFLA_BR_MCAST_LAST_MEMBER_CNT) == (28), "IFLA_BR_MCAST_LAST_MEMBER_CNT != 28");
205 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
206 #else
207 # define IFLA_BR_MCAST_LAST_MEMBER_CNT 28
208 #endif
209 #if defined(IFLA_BR_MCAST_STARTUP_QUERY_CNT) || (defined(HAVE_DECL_IFLA_BR_MCAST_STARTUP_QUERY_CNT) && HAVE_DECL_IFLA_BR_MCAST_STARTUP_QUERY_CNT)
210 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
211 static_assert((IFLA_BR_MCAST_STARTUP_QUERY_CNT) == (29), "IFLA_BR_MCAST_STARTUP_QUERY_CNT != 29");
212 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
213 #else
214 # define IFLA_BR_MCAST_STARTUP_QUERY_CNT 29
215 #endif
216 #if defined(IFLA_BR_MCAST_LAST_MEMBER_INTVL) || (defined(HAVE_DECL_IFLA_BR_MCAST_LAST_MEMBER_INTVL) && HAVE_DECL_IFLA_BR_MCAST_LAST_MEMBER_INTVL)
217 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
218 static_assert((IFLA_BR_MCAST_LAST_MEMBER_INTVL) == (30), "IFLA_BR_MCAST_LAST_MEMBER_INTVL != 30");
219 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
220 #else
221 # define IFLA_BR_MCAST_LAST_MEMBER_INTVL 30
222 #endif
223 #if defined(IFLA_BR_MCAST_MEMBERSHIP_INTVL) || (defined(HAVE_DECL_IFLA_BR_MCAST_MEMBERSHIP_INTVL) && HAVE_DECL_IFLA_BR_MCAST_MEMBERSHIP_INTVL)
224 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
225 static_assert((IFLA_BR_MCAST_MEMBERSHIP_INTVL) == (31), "IFLA_BR_MCAST_MEMBERSHIP_INTVL != 31");
226 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
227 #else
228 # define IFLA_BR_MCAST_MEMBERSHIP_INTVL 31
229 #endif
230 #if defined(IFLA_BR_MCAST_QUERIER_INTVL) || (defined(HAVE_DECL_IFLA_BR_MCAST_QUERIER_INTVL) && HAVE_DECL_IFLA_BR_MCAST_QUERIER_INTVL)
231 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
232 static_assert((IFLA_BR_MCAST_QUERIER_INTVL) == (32), "IFLA_BR_MCAST_QUERIER_INTVL != 32");
233 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
234 #else
235 # define IFLA_BR_MCAST_QUERIER_INTVL 32
236 #endif
237 #if defined(IFLA_BR_MCAST_QUERY_INTVL) || (defined(HAVE_DECL_IFLA_BR_MCAST_QUERY_INTVL) && HAVE_DECL_IFLA_BR_MCAST_QUERY_INTVL)
238 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
239 static_assert((IFLA_BR_MCAST_QUERY_INTVL) == (33), "IFLA_BR_MCAST_QUERY_INTVL != 33");
240 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
241 #else
242 # define IFLA_BR_MCAST_QUERY_INTVL 33
243 #endif
244 #if defined(IFLA_BR_MCAST_QUERY_RESPONSE_INTVL) || (defined(HAVE_DECL_IFLA_BR_MCAST_QUERY_RESPONSE_INTVL) && HAVE_DECL_IFLA_BR_MCAST_QUERY_RESPONSE_INTVL)
245 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
246 static_assert((IFLA_BR_MCAST_QUERY_RESPONSE_INTVL) == (34), "IFLA_BR_MCAST_QUERY_RESPONSE_INTVL != 34");
247 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
248 #else
249 # define IFLA_BR_MCAST_QUERY_RESPONSE_INTVL 34
250 #endif
251 #if defined(IFLA_BR_MCAST_STARTUP_QUERY_INTVL) || (defined(HAVE_DECL_IFLA_BR_MCAST_STARTUP_QUERY_INTVL) && HAVE_DECL_IFLA_BR_MCAST_STARTUP_QUERY_INTVL)
252 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
253 static_assert((IFLA_BR_MCAST_STARTUP_QUERY_INTVL) == (35), "IFLA_BR_MCAST_STARTUP_QUERY_INTVL != 35");
254 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
255 #else
256 # define IFLA_BR_MCAST_STARTUP_QUERY_INTVL 35
257 #endif
258 #if defined(IFLA_BR_NF_CALL_IPTABLES) || (defined(HAVE_DECL_IFLA_BR_NF_CALL_IPTABLES) && HAVE_DECL_IFLA_BR_NF_CALL_IPTABLES)
259 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
260 static_assert((IFLA_BR_NF_CALL_IPTABLES) == (36), "IFLA_BR_NF_CALL_IPTABLES != 36");
261 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
262 #else
263 # define IFLA_BR_NF_CALL_IPTABLES 36
264 #endif
265 #if defined(IFLA_BR_NF_CALL_IP6TABLES) || (defined(HAVE_DECL_IFLA_BR_NF_CALL_IP6TABLES) && HAVE_DECL_IFLA_BR_NF_CALL_IP6TABLES)
266 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
267 static_assert((IFLA_BR_NF_CALL_IP6TABLES) == (37), "IFLA_BR_NF_CALL_IP6TABLES != 37");
268 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
269 #else
270 # define IFLA_BR_NF_CALL_IP6TABLES 37
271 #endif
272 #if defined(IFLA_BR_NF_CALL_ARPTABLES) || (defined(HAVE_DECL_IFLA_BR_NF_CALL_ARPTABLES) && HAVE_DECL_IFLA_BR_NF_CALL_ARPTABLES)
273 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
274 static_assert((IFLA_BR_NF_CALL_ARPTABLES) == (38), "IFLA_BR_NF_CALL_ARPTABLES != 38");
275 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
276 #else
277 # define IFLA_BR_NF_CALL_ARPTABLES 38
278 #endif
279 #if defined(IFLA_BR_VLAN_DEFAULT_PVID) || (defined(HAVE_DECL_IFLA_BR_VLAN_DEFAULT_PVID) && HAVE_DECL_IFLA_BR_VLAN_DEFAULT_PVID)
280 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
281 static_assert((IFLA_BR_VLAN_DEFAULT_PVID) == (39), "IFLA_BR_VLAN_DEFAULT_PVID != 39");
282 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
283 #else
284 # define IFLA_BR_VLAN_DEFAULT_PVID 39
285 #endif
286 #if defined(IFLA_BR_PAD) || (defined(HAVE_DECL_IFLA_BR_PAD) && HAVE_DECL_IFLA_BR_PAD)
287 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
288 static_assert((IFLA_BR_PAD) == (40), "IFLA_BR_PAD != 40");
289 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
290 #else
291 # define IFLA_BR_PAD 40
292 #endif
293 #if defined(IFLA_BR_VLAN_STATS_ENABLED) || (defined(HAVE_DECL_IFLA_BR_VLAN_STATS_ENABLED) && HAVE_DECL_IFLA_BR_VLAN_STATS_ENABLED)
294 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
295 static_assert((IFLA_BR_VLAN_STATS_ENABLED) == (41), "IFLA_BR_VLAN_STATS_ENABLED != 41");
296 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
297 #else
298 # define IFLA_BR_VLAN_STATS_ENABLED 41
299 #endif
300 #if defined(IFLA_BR_MCAST_STATS_ENABLED) || (defined(HAVE_DECL_IFLA_BR_MCAST_STATS_ENABLED) && HAVE_DECL_IFLA_BR_MCAST_STATS_ENABLED)
301 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
302 static_assert((IFLA_BR_MCAST_STATS_ENABLED) == (42), "IFLA_BR_MCAST_STATS_ENABLED != 42");
303 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
304 #else
305 # define IFLA_BR_MCAST_STATS_ENABLED 42
306 #endif
307 #if defined(IFLA_BR_MCAST_IGMP_VERSION) || (defined(HAVE_DECL_IFLA_BR_MCAST_IGMP_VERSION) && HAVE_DECL_IFLA_BR_MCAST_IGMP_VERSION)
308 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
309 static_assert((IFLA_BR_MCAST_IGMP_VERSION) == (43), "IFLA_BR_MCAST_IGMP_VERSION != 43");
310 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
311 #else
312 # define IFLA_BR_MCAST_IGMP_VERSION 43
313 #endif
314 #if defined(IFLA_BR_MCAST_MLD_VERSION) || (defined(HAVE_DECL_IFLA_BR_MCAST_MLD_VERSION) && HAVE_DECL_IFLA_BR_MCAST_MLD_VERSION)
315 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
316 static_assert((IFLA_BR_MCAST_MLD_VERSION) == (44), "IFLA_BR_MCAST_MLD_VERSION != 44");
317 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
318 #else
319 # define IFLA_BR_MCAST_MLD_VERSION 44
320 #endif
321 
322 #ifndef XLAT_MACROS_ONLY
323 
324 # ifdef IN_MPERS
325 
326 #  error static const struct xlat rtnl_ifla_info_data_bridge_attrs in mpers mode
327 
328 # else
329 
330 static
331 const struct xlat rtnl_ifla_info_data_bridge_attrs[] = {
332  [IFLA_BR_UNSPEC] = XLAT(IFLA_BR_UNSPEC),
333  [IFLA_BR_FORWARD_DELAY] = XLAT(IFLA_BR_FORWARD_DELAY),
334  [IFLA_BR_HELLO_TIME] = XLAT(IFLA_BR_HELLO_TIME),
335  [IFLA_BR_MAX_AGE] = XLAT(IFLA_BR_MAX_AGE),
336  [IFLA_BR_AGEING_TIME] = XLAT(IFLA_BR_AGEING_TIME),
337  [IFLA_BR_STP_STATE] = XLAT(IFLA_BR_STP_STATE),
338  [IFLA_BR_PRIORITY] = XLAT(IFLA_BR_PRIORITY),
339  [IFLA_BR_VLAN_FILTERING] = XLAT(IFLA_BR_VLAN_FILTERING),
340  [IFLA_BR_VLAN_PROTOCOL] = XLAT(IFLA_BR_VLAN_PROTOCOL),
341  [IFLA_BR_GROUP_FWD_MASK] = XLAT(IFLA_BR_GROUP_FWD_MASK),
342  [IFLA_BR_ROOT_ID] = XLAT(IFLA_BR_ROOT_ID),
343  [IFLA_BR_BRIDGE_ID] = XLAT(IFLA_BR_BRIDGE_ID),
344  [IFLA_BR_ROOT_PORT] = XLAT(IFLA_BR_ROOT_PORT),
345  [IFLA_BR_ROOT_PATH_COST] = XLAT(IFLA_BR_ROOT_PATH_COST),
346  [IFLA_BR_TOPOLOGY_CHANGE] = XLAT(IFLA_BR_TOPOLOGY_CHANGE),
347  [IFLA_BR_TOPOLOGY_CHANGE_DETECTED] = XLAT(IFLA_BR_TOPOLOGY_CHANGE_DETECTED),
348  [IFLA_BR_HELLO_TIMER] = XLAT(IFLA_BR_HELLO_TIMER),
349  [IFLA_BR_TCN_TIMER] = XLAT(IFLA_BR_TCN_TIMER),
350  [IFLA_BR_TOPOLOGY_CHANGE_TIMER] = XLAT(IFLA_BR_TOPOLOGY_CHANGE_TIMER),
351  [IFLA_BR_GC_TIMER] = XLAT(IFLA_BR_GC_TIMER),
352  [IFLA_BR_GROUP_ADDR] = XLAT(IFLA_BR_GROUP_ADDR),
353  [IFLA_BR_FDB_FLUSH] = XLAT(IFLA_BR_FDB_FLUSH),
354  [IFLA_BR_MCAST_ROUTER] = XLAT(IFLA_BR_MCAST_ROUTER),
355  [IFLA_BR_MCAST_SNOOPING] = XLAT(IFLA_BR_MCAST_SNOOPING),
356  [IFLA_BR_MCAST_QUERY_USE_IFADDR] = XLAT(IFLA_BR_MCAST_QUERY_USE_IFADDR),
357  [IFLA_BR_MCAST_QUERIER] = XLAT(IFLA_BR_MCAST_QUERIER),
358  [IFLA_BR_MCAST_HASH_ELASTICITY] = XLAT(IFLA_BR_MCAST_HASH_ELASTICITY),
359  [IFLA_BR_MCAST_HASH_MAX] = XLAT(IFLA_BR_MCAST_HASH_MAX),
360  [IFLA_BR_MCAST_LAST_MEMBER_CNT] = XLAT(IFLA_BR_MCAST_LAST_MEMBER_CNT),
361  [IFLA_BR_MCAST_STARTUP_QUERY_CNT] = XLAT(IFLA_BR_MCAST_STARTUP_QUERY_CNT),
362  [IFLA_BR_MCAST_LAST_MEMBER_INTVL] = XLAT(IFLA_BR_MCAST_LAST_MEMBER_INTVL),
363  [IFLA_BR_MCAST_MEMBERSHIP_INTVL] = XLAT(IFLA_BR_MCAST_MEMBERSHIP_INTVL),
364  [IFLA_BR_MCAST_QUERIER_INTVL] = XLAT(IFLA_BR_MCAST_QUERIER_INTVL),
365  [IFLA_BR_MCAST_QUERY_INTVL] = XLAT(IFLA_BR_MCAST_QUERY_INTVL),
366  [IFLA_BR_MCAST_QUERY_RESPONSE_INTVL] = XLAT(IFLA_BR_MCAST_QUERY_RESPONSE_INTVL),
367  [IFLA_BR_MCAST_STARTUP_QUERY_INTVL] = XLAT(IFLA_BR_MCAST_STARTUP_QUERY_INTVL),
368  [IFLA_BR_NF_CALL_IPTABLES] = XLAT(IFLA_BR_NF_CALL_IPTABLES),
369  [IFLA_BR_NF_CALL_IP6TABLES] = XLAT(IFLA_BR_NF_CALL_IP6TABLES),
370  [IFLA_BR_NF_CALL_ARPTABLES] = XLAT(IFLA_BR_NF_CALL_ARPTABLES),
371  [IFLA_BR_VLAN_DEFAULT_PVID] = XLAT(IFLA_BR_VLAN_DEFAULT_PVID),
372  [IFLA_BR_PAD] = XLAT(IFLA_BR_PAD),
373  [IFLA_BR_VLAN_STATS_ENABLED] = XLAT(IFLA_BR_VLAN_STATS_ENABLED),
374  [IFLA_BR_MCAST_STATS_ENABLED] = XLAT(IFLA_BR_MCAST_STATS_ENABLED),
375  [IFLA_BR_MCAST_IGMP_VERSION] = XLAT(IFLA_BR_MCAST_IGMP_VERSION),
376  [IFLA_BR_MCAST_MLD_VERSION] = XLAT(IFLA_BR_MCAST_MLD_VERSION),
377  XLAT_END
378 };
379 
380 # endif /* !IN_MPERS */
381 
382 #endif /* !XLAT_MACROS_ONLY */
383