1 /* Generated by ./xlat/gen.sh from ./xlat/rtnl_route_attrs.in; do not edit. */
2 #if !(defined(RTA_UNSPEC) || (defined(HAVE_DECL_RTA_UNSPEC) && HAVE_DECL_RTA_UNSPEC))
3 # define RTA_UNSPEC 0
4 #endif
5 #if !(defined(RTA_DST) || (defined(HAVE_DECL_RTA_DST) && HAVE_DECL_RTA_DST))
6 # define RTA_DST 1
7 #endif
8 #if !(defined(RTA_SRC) || (defined(HAVE_DECL_RTA_SRC) && HAVE_DECL_RTA_SRC))
9 # define RTA_SRC 2
10 #endif
11 #if !(defined(RTA_IIF) || (defined(HAVE_DECL_RTA_IIF) && HAVE_DECL_RTA_IIF))
12 # define RTA_IIF 3
13 #endif
14 #if !(defined(RTA_OIF) || (defined(HAVE_DECL_RTA_OIF) && HAVE_DECL_RTA_OIF))
15 # define RTA_OIF 4
16 #endif
17 #if !(defined(RTA_GATEWAY) || (defined(HAVE_DECL_RTA_GATEWAY) && HAVE_DECL_RTA_GATEWAY))
18 # define RTA_GATEWAY 5
19 #endif
20 #if !(defined(RTA_PRIORITY) || (defined(HAVE_DECL_RTA_PRIORITY) && HAVE_DECL_RTA_PRIORITY))
21 # define RTA_PRIORITY 6
22 #endif
23 #if !(defined(RTA_PREFSRC) || (defined(HAVE_DECL_RTA_PREFSRC) && HAVE_DECL_RTA_PREFSRC))
24 # define RTA_PREFSRC 7
25 #endif
26 #if !(defined(RTA_METRICS) || (defined(HAVE_DECL_RTA_METRICS) && HAVE_DECL_RTA_METRICS))
27 # define RTA_METRICS 8
28 #endif
29 #if !(defined(RTA_MULTIPATH) || (defined(HAVE_DECL_RTA_MULTIPATH) && HAVE_DECL_RTA_MULTIPATH))
30 # define RTA_MULTIPATH 9
31 #endif
32 #if !(defined(RTA_PROTOINFO) || (defined(HAVE_DECL_RTA_PROTOINFO) && HAVE_DECL_RTA_PROTOINFO))
33 # define RTA_PROTOINFO 10
34 #endif
35 #if !(defined(RTA_FLOW) || (defined(HAVE_DECL_RTA_FLOW) && HAVE_DECL_RTA_FLOW))
36 # define RTA_FLOW 11
37 #endif
38 #if !(defined(RTA_CACHEINFO) || (defined(HAVE_DECL_RTA_CACHEINFO) && HAVE_DECL_RTA_CACHEINFO))
39 # define RTA_CACHEINFO 12
40 #endif
41 #if !(defined(RTA_SESSION) || (defined(HAVE_DECL_RTA_SESSION) && HAVE_DECL_RTA_SESSION))
42 # define RTA_SESSION 13
43 #endif
44 #if !(defined(RTA_MP_ALGO) || (defined(HAVE_DECL_RTA_MP_ALGO) && HAVE_DECL_RTA_MP_ALGO))
45 # define RTA_MP_ALGO 14
46 #endif
47 #if !(defined(RTA_TABLE) || (defined(HAVE_DECL_RTA_TABLE) && HAVE_DECL_RTA_TABLE))
48 # define RTA_TABLE 15
49 #endif
50 #if !(defined(RTA_MARK) || (defined(HAVE_DECL_RTA_MARK) && HAVE_DECL_RTA_MARK))
51 # define RTA_MARK 16
52 #endif
53 #if !(defined(RTA_MFC_STATS) || (defined(HAVE_DECL_RTA_MFC_STATS) && HAVE_DECL_RTA_MFC_STATS))
54 # define RTA_MFC_STATS 17
55 #endif
56 #if !(defined(RTA_VIA) || (defined(HAVE_DECL_RTA_VIA) && HAVE_DECL_RTA_VIA))
57 # define RTA_VIA 18
58 #endif
59 #if !(defined(RTA_NEWDST) || (defined(HAVE_DECL_RTA_NEWDST) && HAVE_DECL_RTA_NEWDST))
60 # define RTA_NEWDST 19
61 #endif
62 #if !(defined(RTA_PREF) || (defined(HAVE_DECL_RTA_PREF) && HAVE_DECL_RTA_PREF))
63 # define RTA_PREF 20
64 #endif
65 #if !(defined(RTA_ENCAP_TYPE) || (defined(HAVE_DECL_RTA_ENCAP_TYPE) && HAVE_DECL_RTA_ENCAP_TYPE))
66 # define RTA_ENCAP_TYPE 21
67 #endif
68 #if !(defined(RTA_ENCAP) || (defined(HAVE_DECL_RTA_ENCAP) && HAVE_DECL_RTA_ENCAP))
69 # define RTA_ENCAP 22
70 #endif
71 #if !(defined(RTA_EXPIRES) || (defined(HAVE_DECL_RTA_EXPIRES) && HAVE_DECL_RTA_EXPIRES))
72 # define RTA_EXPIRES 23
73 #endif
74 #if !(defined(RTA_PAD) || (defined(HAVE_DECL_RTA_PAD) && HAVE_DECL_RTA_PAD))
75 # define RTA_PAD 24
76 #endif
77 #if !(defined(RTA_UID) || (defined(HAVE_DECL_RTA_UID) && HAVE_DECL_RTA_UID))
78 # define RTA_UID 25
79 #endif
80 #if !(defined(RTA_TTL_PROPAGATE) || (defined(HAVE_DECL_RTA_TTL_PROPAGATE) && HAVE_DECL_RTA_TTL_PROPAGATE))
81 # define RTA_TTL_PROPAGATE 26
82 #endif
83 
84 #ifdef IN_MPERS
85 
86 # error static const struct xlat rtnl_route_attrs in mpers mode
87 
88 #else
89 
90 static
91 const struct xlat rtnl_route_attrs[] = {
92  XLAT(RTA_UNSPEC),
93  XLAT(RTA_DST),
94  XLAT(RTA_SRC),
95  XLAT(RTA_IIF),
96  XLAT(RTA_OIF),
97  XLAT(RTA_GATEWAY),
98  XLAT(RTA_PRIORITY),
99  XLAT(RTA_PREFSRC),
100  XLAT(RTA_METRICS),
101  XLAT(RTA_MULTIPATH),
102  XLAT(RTA_PROTOINFO),
103  XLAT(RTA_FLOW),
104  XLAT(RTA_CACHEINFO),
105  XLAT(RTA_SESSION),
106  XLAT(RTA_MP_ALGO),
107  XLAT(RTA_TABLE),
108  XLAT(RTA_MARK),
109  XLAT(RTA_MFC_STATS),
110  XLAT(RTA_VIA),
111  XLAT(RTA_NEWDST),
112  XLAT(RTA_PREF),
113  XLAT(RTA_ENCAP_TYPE),
114  XLAT(RTA_ENCAP),
115  XLAT(RTA_EXPIRES),
116  XLAT(RTA_PAD),
117  XLAT(RTA_UID),
118  XLAT(RTA_TTL_PROPAGATE),
119  XLAT_END
120 };
121 
122 #endif /* !IN_MPERS */
123