/work/build/src/network/netdev-gperf.c
Line | Count | Source |
1 | | /* ANSI-C code produced by gperf version 3.0.4 */ |
2 | | /* Command-line: /usr/bin/gperf --output-file src/network/netdev-gperf.c ../../src/systemd/src/network/netdev/netdev-gperf.gperf */ |
3 | | /* Computed positions: -k'2,5-6,8-9,15,18,20-21,23-24' */ |
4 | | |
5 | | #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ |
6 | | && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ |
7 | | && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ |
8 | | && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ |
9 | | && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ |
10 | | && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ |
11 | | && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ |
12 | | && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ |
13 | | && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ |
14 | | && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ |
15 | | && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ |
16 | | && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ |
17 | | && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ |
18 | | && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ |
19 | | && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ |
20 | | && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ |
21 | | && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ |
22 | | && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ |
23 | | && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ |
24 | | && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ |
25 | | && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ |
26 | | && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ |
27 | | && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) |
28 | | /* The character set is not based on ISO-646. */ |
29 | | #error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gnu-gperf@gnu.org>." |
30 | | #endif |
31 | | |
32 | | #line 1 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
33 | | |
34 | | #if __GNUC__ >= 7 |
35 | | _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"") |
36 | | #endif |
37 | | #include <stddef.h> |
38 | | #include "conf-parser.h" |
39 | | #include "network-internal.h" |
40 | | #include "netdev/bond.h" |
41 | | #include "netdev/bridge.h" |
42 | | #include "netdev/geneve.h" |
43 | | #include "netdev/ipvlan.h" |
44 | | #include "netdev/macsec.h" |
45 | | #include "netdev/macvlan.h" |
46 | | #include "netdev/tunnel.h" |
47 | | #include "netdev/tuntap.h" |
48 | | #include "netdev/veth.h" |
49 | | #include "netdev/vlan.h" |
50 | | #include "netdev/vxlan.h" |
51 | | #include "netdev/vrf.h" |
52 | | #include "netdev/netdev.h" |
53 | | #include "netdev/vxcan.h" |
54 | | #include "netdev/wireguard.h" |
55 | | #include "netdev/fou-tunnel.h" |
56 | | #include "netdev/l2tp-tunnel.h" |
57 | | #include "vlan-util.h" |
58 | | #include <string.h> |
59 | | |
60 | | #define TOTAL_KEYWORDS 183 |
61 | 1.20M | #define MIN_WORD_LENGTH 7 |
62 | 2.41M | #define MAX_WORD_LENGTH 40 |
63 | | #define MIN_HASH_VALUE 8 |
64 | 2.40M | #define MAX_HASH_VALUE 502 |
65 | | /* maximum key range = 495, duplicates = 0 */ |
66 | | |
67 | | #ifdef __GNUC__ |
68 | | __inline |
69 | | #else |
70 | | #ifdef __cplusplus |
71 | | inline |
72 | | #endif |
73 | | #endif |
74 | | static unsigned int |
75 | | network_netdev_gperf_hash (register const char *str, register unsigned int len) |
76 | 1.20M | { |
77 | 1.20M | static const unsigned short asso_values[] = |
78 | 1.20M | { |
79 | 1.20M | 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, |
80 | 1.20M | 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, |
81 | 1.20M | 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, |
82 | 1.20M | 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, |
83 | 1.20M | 503, 503, 503, 503, 503, 503, 5, 503, 503, 503, |
84 | 1.20M | 95, 0, 503, 503, 0, 503, 503, 503, 503, 503, |
85 | 1.20M | 503, 503, 503, 503, 503, 0, 0, 90, 0, 25, |
86 | 1.20M | 130, 20, 45, 90, 503, 125, 10, 0, 0, 30, |
87 | 1.20M | 15, 45, 50, 70, 75, 0, 20, 503, 50, 503, |
88 | 1.20M | 503, 503, 503, 503, 503, 503, 503, 0, 0, 5, |
89 | 1.20M | 30, 0, 0, 170, 200, 0, 503, 50, 5, 50, |
90 | 1.20M | 5, 0, 75, 503, 0, 0, 5, 40, 0, 25, |
91 | 1.20M | 20, 100, 30, 503, 503, 503, 503, 503, 503, 503, |
92 | 1.20M | 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, |
93 | 1.20M | 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, |
94 | 1.20M | 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, |
95 | 1.20M | 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, |
96 | 1.20M | 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, |
97 | 1.20M | 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, |
98 | 1.20M | 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, |
99 | 1.20M | 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, |
100 | 1.20M | 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, |
101 | 1.20M | 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, |
102 | 1.20M | 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, |
103 | 1.20M | 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, |
104 | 1.20M | 503, 503, 503, 503, 503, 503 |
105 | 1.20M | }; |
106 | 1.20M | register int hval = len; |
107 | 1.20M | |
108 | 1.20M | switch (hval) |
109 | 1.20M | { |
110 | 1.20M | default: |
111 | 16.5k | hval += asso_values[(unsigned char)str[23]]; |
112 | 16.5k | /*FALLTHROUGH*/ |
113 | 20.3k | case 23: |
114 | 20.3k | hval += asso_values[(unsigned char)str[22]]; |
115 | 20.3k | /*FALLTHROUGH*/ |
116 | 386k | case 22: |
117 | 386k | case 21: |
118 | 386k | hval += asso_values[(unsigned char)str[20]]; |
119 | 386k | /*FALLTHROUGH*/ |
120 | 395k | case 20: |
121 | 395k | hval += asso_values[(unsigned char)str[19]]; |
122 | 395k | /*FALLTHROUGH*/ |
123 | 432k | case 19: |
124 | 432k | case 18: |
125 | 432k | hval += asso_values[(unsigned char)str[17]]; |
126 | 432k | /*FALLTHROUGH*/ |
127 | 476k | case 17: |
128 | 476k | case 16: |
129 | 476k | case 15: |
130 | 476k | hval += asso_values[(unsigned char)str[14]]; |
131 | 476k | /*FALLTHROUGH*/ |
132 | 931k | case 14: |
133 | 931k | case 13: |
134 | 931k | case 12: |
135 | 931k | case 11: |
136 | 931k | case 10: |
137 | 931k | case 9: |
138 | 931k | hval += asso_values[(unsigned char)str[8]]; |
139 | 931k | /*FALLTHROUGH*/ |
140 | 938k | case 8: |
141 | 938k | hval += asso_values[(unsigned char)str[7]]; |
142 | 938k | /*FALLTHROUGH*/ |
143 | 1.20M | case 7: |
144 | 1.20M | case 6: |
145 | 1.20M | hval += asso_values[(unsigned char)str[5]]; |
146 | 1.20M | /*FALLTHROUGH*/ |
147 | 1.20M | case 5: |
148 | 1.20M | hval += asso_values[(unsigned char)str[4]]; |
149 | 1.20M | /*FALLTHROUGH*/ |
150 | 1.20M | case 4: |
151 | 1.20M | case 3: |
152 | 1.20M | case 2: |
153 | 1.20M | hval += asso_values[(unsigned char)str[1]]; |
154 | 1.20M | break; |
155 | 1.20M | } |
156 | 1.20M | return hval; |
157 | 1.20M | } |
158 | | |
159 | | #ifdef __GNUC__ |
160 | | __inline |
161 | | #if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__ |
162 | | __attribute__ ((__gnu_inline__)) |
163 | | #endif |
164 | | #endif |
165 | | const struct ConfigPerfItem * |
166 | | network_netdev_gperf_lookup (register const char *str, register unsigned int len) |
167 | 1.20M | { |
168 | 1.20M | static const struct ConfigPerfItem wordlist[] = |
169 | 1.20M | { |
170 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
171 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
172 | 1.20M | #line 172 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
173 | 1.20M | {"Tap.User", config_parse_string, 0, offsetof(TunTap, user_name)}, |
174 | 1.20M | {(char*)0}, {(char*)0}, |
175 | 1.20M | #line 44 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
176 | 1.20M | {"NetDev.Name", config_parse_ifname, 0, offsetof(NetDev, ifname)}, |
177 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, |
178 | 1.20M | #line 86 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
179 | 1.20M | {"FooOverUDP.Peer", config_parse_fou_tunnel_address, 0, offsetof(FouTunnel, peer)}, |
180 | 1.20M | #line 85 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
181 | 1.20M | {"FooOverUDP.Local", config_parse_fou_tunnel_address, 0, offsetof(FouTunnel, local)}, |
182 | 1.20M | #line 47 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
183 | 1.20M | {"NetDev.MACAddress", config_parse_hwaddr, 0, offsetof(NetDev, mac)}, |
184 | 1.20M | {(char*)0}, |
185 | 1.20M | #line 84 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
186 | 1.20M | {"FooOverUDP.PeerPort", config_parse_ip_port, 0, offsetof(FouTunnel, peer_port)}, |
187 | 1.20M | #line 83 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
188 | 1.20M | {"FooOverUDP.Port", config_parse_ip_port, 0, offsetof(FouTunnel, port)}, |
189 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, |
190 | 1.20M | #line 81 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
191 | 1.20M | {"FooOverUDP.Protocol", config_parse_ip_protocol, 0, offsetof(FouTunnel, fou_protocol)}, |
192 | 1.20M | #line 190 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
193 | 1.20M | {"Bond.UpDelaySec", config_parse_sec, 0, offsetof(Bond, updelay)}, |
194 | 1.20M | #line 55 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
195 | 1.20M | {"IPVLAN.Mode", config_parse_ipvlan_mode, 0, offsetof(IPVlan, mode)}, |
196 | 1.20M | #line 53 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
197 | 1.20M | {"MACVLAN.Mode", config_parse_macvlan_mode, 0, offsetof(MacVlan, mode)}, |
198 | 1.20M | #line 43 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
199 | 1.20M | {"NetDev.Description", config_parse_string, 0, offsetof(NetDev, description)}, |
200 | 1.20M | {(char*)0}, {(char*)0}, |
201 | 1.20M | #line 145 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
202 | 1.20M | {"MACsec.Port", config_parse_macsec_port, 0, 0}, |
203 | 1.20M | {(char*)0}, |
204 | 1.20M | #line 188 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
205 | 1.20M | {"Bond.MinLinks", config_parse_unsigned, 0, offsetof(Bond, min_links)}, |
206 | 1.20M | #line 151 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
207 | 1.20M | {"MACsecTransmitAssociation.Key", config_parse_macsec_key, 0, 0}, |
208 | 1.20M | {(char*)0}, |
209 | 1.20M | #line 150 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
210 | 1.20M | {"MACsecTransmitAssociation.KeyId", config_parse_macsec_key_id, 0, 0}, |
211 | 1.20M | {(char*)0}, |
212 | 1.20M | #line 152 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
213 | 1.20M | {"MACsecTransmitAssociation.KeyFile", config_parse_macsec_key_file, 0, 0}, |
214 | 1.20M | #line 153 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
215 | 1.20M | {"MACsecTransmitAssociation.Activate", config_parse_macsec_sa_activate, 0, 0}, |
216 | 1.20M | {(char*)0}, |
217 | 1.20M | #line 57 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
218 | 1.20M | {"IPVTAP.Mode", config_parse_ipvlan_mode, 0, offsetof(IPVlan, mode)}, |
219 | 1.20M | #line 51 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
220 | 1.20M | {"VLAN.LooseBinding", config_parse_tristate, 0, offsetof(VLan, loose_binding)}, |
221 | 1.20M | #line 149 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
222 | 1.20M | {"MACsecTransmitAssociation.PacketNumber", config_parse_macsec_packet_number, 0, 0}, |
223 | 1.20M | #line 174 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
224 | 1.20M | {"Bond.Mode", config_parse_bond_mode, 0, offsetof(Bond, mode)}, |
225 | 1.20M | #line 154 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
226 | 1.20M | {"MACsecTransmitAssociation.UseForEncoding", config_parse_macsec_use_for_encoding, 0, 0}, |
227 | 1.20M | {(char*)0}, {(char*)0}, |
228 | 1.20M | #line 166 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
229 | 1.20M | {"Tun.User", config_parse_string, 0, offsetof(TunTap, user_name)}, |
230 | 1.20M | #line 146 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
231 | 1.20M | {"MACsec.Encrypt", config_parse_tristate, 0, offsetof(MACsec, encrypt)}, |
232 | 1.20M | {(char*)0}, {(char*)0}, |
233 | 1.20M | #line 193 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
234 | 1.20M | {"Bond.LearnPacketIntervalSec", config_parse_sec, 0, offsetof(Bond, lp_interval)}, |
235 | 1.20M | #line 159 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
236 | 1.20M | {"MACsecReceiveAssociation.Key", config_parse_macsec_key, 0, 0}, |
237 | 1.20M | #line 155 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
238 | 1.20M | {"MACsecReceiveAssociation.Port", config_parse_macsec_port, 0, 0}, |
239 | 1.20M | #line 158 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
240 | 1.20M | {"MACsecReceiveAssociation.KeyId", config_parse_macsec_key_id, 0, 0}, |
241 | 1.20M | #line 67 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
242 | 1.20M | {"Tunnel.Mode", config_parse_ip6tnl_mode, 0, offsetof(Tunnel, ip6tnl_mode)}, |
243 | 1.20M | #line 160 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
244 | 1.20M | {"MACsecReceiveAssociation.KeyFile", config_parse_macsec_key_file, 0, 0}, |
245 | 1.20M | #line 161 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
246 | 1.20M | {"MACsecReceiveAssociation.Activate", config_parse_macsec_sa_activate, 0, 0}, |
247 | 1.20M | #line 169 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
248 | 1.20M | {"Tap.MultiQueue", config_parse_bool, 0, offsetof(TunTap, multi_queue)}, |
249 | 1.20M | #line 156 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
250 | 1.20M | {"MACsecReceiveAssociation.MACAddress", config_parse_macsec_hw_address, 0, 0}, |
251 | 1.20M | #line 180 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
252 | 1.20M | {"Bond.ARPValidate", config_parse_bond_arp_validate, 0, offsetof(Bond, arp_validate)}, |
253 | 1.20M | #line 157 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
254 | 1.20M | {"MACsecReceiveAssociation.PacketNumber", config_parse_macsec_packet_number, 0, 0}, |
255 | 1.20M | #line 185 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
256 | 1.20M | {"Bond.GratuitousARP", config_parse_unsigned, 0, offsetof(Bond, num_grat_arp)}, |
257 | 1.20M | #line 101 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
258 | 1.20M | {"Peer.Name", config_parse_ifname, 0, offsetof(Veth, ifname_peer)}, |
259 | 1.20M | #line 103 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
260 | 1.20M | {"VXCAN.Peer", config_parse_ifname, 0, offsetof(VxCan, ifname_peer)}, |
261 | 1.20M | #line 106 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
262 | 1.20M | {"VXLAN.Group", config_parse_vxlan_address, 0, offsetof(VxLan, group)}, |
263 | 1.20M | #line 59 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
264 | 1.20M | {"Tunnel.Local", config_parse_tunnel_address, 0, offsetof(Tunnel, local)}, |
265 | 1.20M | {(char*)0}, {(char*)0}, |
266 | 1.20M | #line 129 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
267 | 1.20M | {"VXLAN.PortRange", config_parse_port_range, 0, 0}, |
268 | 1.20M | #line 107 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
269 | 1.20M | {"VXLAN.Local", config_parse_vxlan_address, 0, offsetof(VxLan, local)}, |
270 | 1.20M | {(char*)0}, {(char*)0}, |
271 | 1.20M | #line 82 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
272 | 1.20M | {"FooOverUDP.Encapsulation", config_parse_fou_encap_type, 0, offsetof(FouTunnel, fou_encap_type)}, |
273 | 1.20M | {(char*)0}, {(char*)0}, |
274 | 1.20M | #line 111 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
275 | 1.20M | {"VXLAN.MacLearning", config_parse_bool, 0, offsetof(VxLan, learning)}, |
276 | 1.20M | #line 196 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
277 | 1.20M | {"Bond.AdActorSystem", config_parse_ad_actor_system, 0, offsetof(Bond, ad_actor_system)}, |
278 | 1.20M | #line 170 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
279 | 1.20M | {"Tap.PacketInfo", config_parse_bool, 0, offsetof(TunTap, packet_info)}, |
280 | 1.20M | #line 131 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
281 | 1.20M | {"VXLAN.FlowLabel", config_parse_flow_label, 0, 0}, |
282 | 1.20M | {(char*)0}, {(char*)0}, |
283 | 1.20M | #line 52 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
284 | 1.20M | {"VLAN.ReorderHeader", config_parse_tristate, 0, offsetof(VLan, reorder_hdr)}, |
285 | 1.20M | #line 171 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
286 | 1.20M | {"Tap.VNetHeader", config_parse_bool, 0, offsetof(TunTap, vnet_hdr)}, |
287 | 1.20M | #line 183 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
288 | 1.20M | {"Bond.ResendIGMP", config_parse_unsigned, 0, offsetof(Bond, resend_igmp)}, |
289 | 1.20M | #line 194 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
290 | 1.20M | {"Bond.AdActorSystemPriority", config_parse_ad_actor_sys_prio, 0, offsetof(Bond, ad_actor_sys_prio)}, |
291 | 1.20M | #line 118 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
292 | 1.20M | {"VXLAN.UDPChecksum", config_parse_bool, 0, offsetof(VxLan, udpcsum)}, |
293 | 1.20M | #line 177 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
294 | 1.20M | {"Bond.AdSelect", config_parse_bond_ad_select, 0, offsetof(Bond, ad_select)}, |
295 | 1.20M | #line 50 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
296 | 1.20M | {"VLAN.MVRP", config_parse_tristate, 0, offsetof(VLan, mvrp)}, |
297 | 1.20M | #line 46 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
298 | 1.20M | {"NetDev.MTUBytes", config_parse_mtu, AF_UNSPEC, offsetof(NetDev, mtu)}, |
299 | 1.20M | {(char*)0}, |
300 | 1.20M | #line 54 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
301 | 1.20M | {"MACVTAP.Mode", config_parse_macvlan_mode, 0, offsetof(MacVlan, mode)}, |
302 | 1.20M | #line 105 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
303 | 1.20M | {"VXLAN.Id", config_parse_uint32, 0, offsetof(VxLan, vni) /* deprecated */}, |
304 | 1.20M | #line 115 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
305 | 1.20M | {"VXLAN.L3MissNotification", config_parse_bool, 0, offsetof(VxLan, l3miss)}, |
306 | 1.20M | #line 184 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
307 | 1.20M | {"Bond.PacketsPerSlave", config_parse_unsigned, 0, offsetof(Bond, packets_per_slave)}, |
308 | 1.20M | #line 130 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
309 | 1.20M | {"VXLAN.DestinationPort", config_parse_ip_port, 0, offsetof(VxLan, dest_port)}, |
310 | 1.20M | {(char*)0}, {(char*)0}, |
311 | 1.20M | #line 163 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
312 | 1.20M | {"Tun.MultiQueue", config_parse_bool, 0, offsetof(TunTap, multi_queue)}, |
313 | 1.20M | #line 186 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
314 | 1.20M | {"Bond.AllSlavesActive", config_parse_bool, 0, offsetof(Bond, all_slaves_active)}, |
315 | 1.20M | {(char*)0}, |
316 | 1.20M | #line 142 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
317 | 1.20M | {"GENEVE.DestinationPort", config_parse_ip_port, 0, offsetof(Geneve, dest_port)}, |
318 | 1.20M | #line 128 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
319 | 1.20M | {"VXLAN.MaximumFDBEntries", config_parse_unsigned, 0, offsetof(VxLan, max_fdb)}, |
320 | 1.20M | {(char*)0}, |
321 | 1.20M | #line 76 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
322 | 1.20M | {"Tunnel.Encapsulation", config_parse_fou_encap_type, 0, offsetof(Tunnel, fou_encap_type)}, |
323 | 1.20M | #line 211 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
324 | 1.20M | {"WireGuard.FwMark", config_parse_unsigned, 0, offsetof(Wireguard, fwmark) /* deprecated */}, |
325 | 1.20M | {(char*)0}, |
326 | 1.20M | #line 60 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
327 | 1.20M | {"Tunnel.Remote", config_parse_tunnel_address, 0, offsetof(Tunnel, remote)}, |
328 | 1.20M | #line 49 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
329 | 1.20M | {"VLAN.GVRP", config_parse_tristate, 0, offsetof(VLan, gvrp)}, |
330 | 1.20M | #line 102 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
331 | 1.20M | {"Peer.MACAddress", config_parse_hwaddr, 0, offsetof(Veth, mac_peer)}, |
332 | 1.20M | #line 126 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
333 | 1.20M | {"VXLAN.GroupPolicyExtension", config_parse_bool, 0, offsetof(VxLan, group_policy)}, |
334 | 1.20M | #line 48 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
335 | 1.20M | {"VLAN.Id", config_parse_vlanid, 0, offsetof(VLan, id)}, |
336 | 1.20M | {(char*)0}, {(char*)0}, |
337 | 1.20M | #line 212 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
338 | 1.20M | {"WireGuard.ListenPort", config_parse_wireguard_listen_port, 0, offsetof(Wireguard, port)}, |
339 | 1.20M | {(char*)0}, |
340 | 1.20M | #line 108 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
341 | 1.20M | {"VXLAN.Remote", config_parse_vxlan_address, 0, offsetof(VxLan, remote)}, |
342 | 1.20M | #line 189 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
343 | 1.20M | {"Bond.MIIMonitorSec", config_parse_sec, 0, offsetof(Bond, miimon)}, |
344 | 1.20M | #line 164 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
345 | 1.20M | {"Tun.PacketInfo", config_parse_bool, 0, offsetof(TunTap, packet_info)}, |
346 | 1.20M | #line 127 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
347 | 1.20M | {"VXLAN.GenericProtocolExtension", config_parse_bool, 0, offsetof(VxLan, generic_protocol_extension)}, |
348 | 1.20M | #line 182 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
349 | 1.20M | {"Bond.PrimaryReselectPolicy", config_parse_bond_primary_reselect, 0, offsetof(Bond, primary_reselect)}, |
350 | 1.20M | #line 191 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
351 | 1.20M | {"Bond.DownDelaySec", config_parse_sec, 0, offsetof(Bond, downdelay)}, |
352 | 1.20M | {(char*)0}, |
353 | 1.20M | #line 165 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
354 | 1.20M | {"Tun.VNetHeader", config_parse_bool, 0, offsetof(TunTap, vnet_hdr)}, |
355 | 1.20M | #line 91 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
356 | 1.20M | {"L2TP.Local", config_parse_l2tp_tunnel_address, 0, offsetof(L2tpTunnel, local)}, |
357 | 1.20M | {(char*)0}, |
358 | 1.20M | #line 179 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
359 | 1.20M | {"Bond.ARPIPTargets", config_parse_arp_ip_target_address, 0, 0}, |
360 | 1.20M | #line 195 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
361 | 1.20M | {"Bond.AdUserPortKey", config_parse_ad_user_port_key, 0, offsetof(Bond, ad_user_port_key)}, |
362 | 1.20M | #line 192 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
363 | 1.20M | {"Bond.ARPIntervalSec", config_parse_sec, 0, offsetof(Bond, arp_interval)}, |
364 | 1.20M | {(char*)0}, |
365 | 1.20M | #line 65 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
366 | 1.20M | {"Tunnel.OutputKey", config_parse_tunnel_key, 0, offsetof(Tunnel, okey)}, |
367 | 1.20M | #line 168 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
368 | 1.20M | {"Tap.OneQueue", config_parse_warn_compat, DISABLED_LEGACY, 0}, |
369 | 1.20M | #line 134 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
370 | 1.20M | {"GENEVE.Remote", config_parse_geneve_address, 0, offsetof(Geneve, remote)}, |
371 | 1.20M | #line 112 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
372 | 1.20M | {"VXLAN.ARPProxy", config_parse_bool, 0, offsetof(VxLan, arp_proxy)}, |
373 | 1.20M | {(char*)0}, |
374 | 1.20M | #line 45 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
375 | 1.20M | {"NetDev.Kind", config_parse_netdev_kind, 0, offsetof(NetDev, kind)}, |
376 | 1.20M | #line 88 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
377 | 1.20M | {"L2TP.PeerTunnelId", config_parse_l2tp_tunnel_id, 0, offsetof(L2tpTunnel, peer_tunnel_id)}, |
378 | 1.20M | #line 187 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
379 | 1.20M | {"Bond.DynamicTransmitLoadBalancing", config_parse_tristate, 0, offsetof(Bond, tlb_dynamic_lb)}, |
380 | 1.20M | #line 209 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
381 | 1.20M | {"VRF.Table", config_parse_uint32, 0, offsetof(Vrf, table)}, |
382 | 1.20M | {(char*)0}, |
383 | 1.20M | #line 208 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
384 | 1.20M | {"VRF.TableId", config_parse_uint32, 0, offsetof(Vrf, table) /* deprecated */}, |
385 | 1.20M | #line 210 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
386 | 1.20M | {"WireGuard.FirewallMark", config_parse_unsigned, 0, offsetof(Wireguard, fwmark)}, |
387 | 1.20M | {(char*)0}, |
388 | 1.20M | #line 173 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
389 | 1.20M | {"Tap.Group", config_parse_string, 0, offsetof(TunTap, group_name)}, |
390 | 1.20M | {(char*)0}, {(char*)0}, |
391 | 1.20M | #line 66 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
392 | 1.20M | {"Tunnel.DiscoverPathMTU", config_parse_bool, 0, offsetof(Tunnel, pmtudisc)}, |
393 | 1.20M | {(char*)0}, |
394 | 1.20M | #line 110 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
395 | 1.20M | {"VXLAN.TTL", config_parse_vxlan_ttl, 0, offsetof(VxLan, ttl)}, |
396 | 1.20M | {(char*)0}, |
397 | 1.20M | #line 132 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
398 | 1.20M | {"VXLAN.IPDoNotFragment", config_parse_df, 0, offsetof(VxLan, df)}, |
399 | 1.20M | {(char*)0}, |
400 | 1.20M | #line 220 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
401 | 1.20M | {"WireGuardPeer.PersistentKeepalive", config_parse_wireguard_keepalive, 0, 0}, |
402 | 1.20M | #line 104 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
403 | 1.20M | {"VXLAN.VNI", config_parse_uint32, 0, offsetof(VxLan, vni)}, |
404 | 1.20M | {(char*)0}, {(char*)0}, |
405 | 1.20M | #line 117 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
406 | 1.20M | {"VXLAN.UDPCheckSum", config_parse_bool, 0, offsetof(VxLan, udpcsum)}, |
407 | 1.20M | #line 90 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
408 | 1.20M | {"L2TP.UDPDestinationPort", config_parse_ip_port, 0, offsetof(L2tpTunnel, l2tp_udp_dport)}, |
409 | 1.20M | #line 215 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
410 | 1.20M | {"WireGuardPeer.AllowedIPs", config_parse_wireguard_allowed_ips, 0, 0}, |
411 | 1.20M | #line 61 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
412 | 1.20M | {"Tunnel.TOS", config_parse_unsigned, 0, offsetof(Tunnel, tos)}, |
413 | 1.20M | {(char*)0}, |
414 | 1.20M | #line 56 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
415 | 1.20M | {"IPVLAN.Flags", config_parse_ipvlan_flags, 0, offsetof(IPVlan, flags)}, |
416 | 1.20M | #line 78 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
417 | 1.20M | {"Tunnel.ERSPANIndex", config_parse_uint32, 0, offsetof(Tunnel, erspan_index)}, |
418 | 1.20M | #line 109 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
419 | 1.20M | {"VXLAN.TOS", config_parse_unsigned, 0, offsetof(VxLan, tos)}, |
420 | 1.20M | #line 69 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
421 | 1.20M | {"Tunnel.CopyDSCP", config_parse_bool, 0, offsetof(Tunnel, copy_dscp)}, |
422 | 1.20M | {(char*)0}, |
423 | 1.20M | #line 178 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
424 | 1.20M | {"Bond.FailOverMACPolicy", config_parse_bond_fail_over_mac, 0, offsetof(Bond, fail_over_mac)}, |
425 | 1.20M | #line 116 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
426 | 1.20M | {"VXLAN.RouteShortCircuit", config_parse_bool, 0, offsetof(VxLan, route_short_circuit)}, |
427 | 1.20M | {(char*)0}, |
428 | 1.20M | #line 70 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
429 | 1.20M | {"Tunnel.EncapsulationLimit", config_parse_encap_limit, 0, offsetof(Tunnel, encap_limit)}, |
430 | 1.20M | {(char*)0}, |
431 | 1.20M | #line 162 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
432 | 1.20M | {"Tun.OneQueue", config_parse_warn_compat, DISABLED_LEGACY, 0}, |
433 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
434 | 1.20M | #line 58 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
435 | 1.20M | {"IPVTAP.Flags", config_parse_ipvlan_flags, 0, offsetof(IPVlan, flags)}, |
436 | 1.20M | #line 72 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
437 | 1.20M | {"Tunnel.AllowLocalRemote", config_parse_tristate, 0, offsetof(Tunnel, allow_localremote)}, |
438 | 1.20M | {(char*)0}, |
439 | 1.20M | #line 63 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
440 | 1.20M | {"Tunnel.Key", config_parse_tunnel_key, 0, offsetof(Tunnel, key)}, |
441 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, |
442 | 1.20M | #line 167 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
443 | 1.20M | {"Tun.Group", config_parse_string, 0, offsetof(TunTap, group_name)}, |
444 | 1.20M | #line 135 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
445 | 1.20M | {"GENEVE.TOS", config_parse_uint8, 0, offsetof(Geneve, tos)}, |
446 | 1.20M | #line 198 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
447 | 1.20M | {"Bridge.MaxAgeSec", config_parse_sec, 0, offsetof(Bridge, max_age)}, |
448 | 1.20M | {(char*)0}, |
449 | 1.20M | #line 137 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
450 | 1.20M | {"GENEVE.UDPChecksum", config_parse_bool, 0, offsetof(Geneve, udpcsum)}, |
451 | 1.20M | #line 114 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
452 | 1.20M | {"VXLAN.L2MissNotification", config_parse_bool, 0, offsetof(VxLan, l2miss)}, |
453 | 1.20M | {(char*)0}, {(char*)0}, |
454 | 1.20M | #line 73 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
455 | 1.20M | {"Tunnel.FooOverUDP", config_parse_bool, 0, offsetof(Tunnel, fou_tunnel)}, |
456 | 1.20M | #line 71 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
457 | 1.20M | {"Tunnel.Independent", config_parse_bool, 0, offsetof(Tunnel, independent)}, |
458 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
459 | 1.20M | #line 87 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
460 | 1.20M | {"L2TP.TunnelId", config_parse_l2tp_tunnel_id, 0, offsetof(L2tpTunnel, tunnel_id)}, |
461 | 1.20M | #line 133 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
462 | 1.20M | {"GENEVE.Id", config_parse_geneve_vni, 0, offsetof(Geneve, id)}, |
463 | 1.20M | #line 68 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
464 | 1.20M | {"Tunnel.IPv6FlowLabel", config_parse_ipv6_flowlabel, 0, offsetof(Tunnel, ipv6_flowlabel)}, |
465 | 1.20M | {(char*)0}, {(char*)0}, |
466 | 1.20M | #line 203 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
467 | 1.20M | {"Bridge.DefaultPVID", config_parse_default_port_vlanid, 0, offsetof(Bridge, default_pvid)}, |
468 | 1.20M | {(char*)0}, |
469 | 1.20M | #line 62 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
470 | 1.20M | {"Tunnel.TTL", config_parse_unsigned, 0, offsetof(Tunnel, ttl)}, |
471 | 1.20M | {(char*)0}, {(char*)0}, |
472 | 1.20M | #line 181 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
473 | 1.20M | {"Bond.ARPAllTargets", config_parse_bond_arp_all_targets, 0, offsetof(Bond, arp_all_targets)}, |
474 | 1.20M | {(char*)0}, {(char*)0}, |
475 | 1.20M | #line 92 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
476 | 1.20M | {"L2TP.Remote", config_parse_l2tp_tunnel_address, 0, offsetof(L2tpTunnel, remote)}, |
477 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, |
478 | 1.20M | #line 38 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
479 | 1.20M | {"Match.Host", config_parse_net_condition, CONDITION_HOST, offsetof(NetDev, conditions)}, |
480 | 1.20M | {(char*)0}, |
481 | 1.20M | #line 216 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
482 | 1.20M | {"WireGuardPeer.Endpoint", config_parse_wireguard_endpoint, 0, 0}, |
483 | 1.20M | #line 80 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
484 | 1.20M | {"Tunnel.ISATAP", config_parse_tristate, 0, offsetof(Tunnel, isatap)}, |
485 | 1.20M | {(char*)0}, |
486 | 1.20M | #line 113 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
487 | 1.20M | {"VXLAN.ReduceARPProxy", config_parse_bool, 0, offsetof(VxLan, arp_proxy)}, |
488 | 1.20M | #line 144 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
489 | 1.20M | {"GENEVE.FlowLabel", config_parse_geneve_flow_label, 0, 0}, |
490 | 1.20M | {(char*)0}, |
491 | 1.20M | #line 89 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
492 | 1.20M | {"L2TP.UDPSourcePort", config_parse_ip_port, 0, offsetof(L2tpTunnel, l2tp_udp_sport)}, |
493 | 1.20M | #line 41 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
494 | 1.20M | {"Match.KernelVersion", config_parse_net_condition, CONDITION_KERNEL_VERSION, offsetof(NetDev, conditions)}, |
495 | 1.20M | {(char*)0}, {(char*)0}, |
496 | 1.20M | #line 124 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
497 | 1.20M | {"VXLAN.RemoteChecksumRx", config_parse_bool, 0, offsetof(VxLan, remote_csum_rx)}, |
498 | 1.20M | #line 175 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
499 | 1.20M | {"Bond.TransmitHashPolicy", config_parse_bond_xmit_hash_policy, 0, offsetof(Bond, xmit_hash_policy)}, |
500 | 1.20M | {(char*)0}, |
501 | 1.20M | #line 136 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
502 | 1.20M | {"GENEVE.TTL", config_parse_geneve_ttl, 0, offsetof(Geneve, ttl)}, |
503 | 1.20M | #line 100 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
504 | 1.20M | {"L2TPSession.Name", config_parse_l2tp_session_name, 0, 0}, |
505 | 1.20M | {(char*)0}, |
506 | 1.20M | #line 42 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
507 | 1.20M | {"Match.Architecture", config_parse_net_condition, CONDITION_ARCHITECTURE, offsetof(NetDev, conditions)}, |
508 | 1.20M | {(char*)0}, |
509 | 1.20M | #line 75 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
510 | 1.20M | {"Tunnel.FOUSourcePort", config_parse_ip_port, 0, offsetof(Tunnel, encap_src_port)}, |
511 | 1.20M | {(char*)0}, |
512 | 1.20M | #line 77 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
513 | 1.20M | {"Tunnel.IPv6RapidDeploymentPrefix", config_parse_6rd_prefix, 0, 0}, |
514 | 1.20M | {(char*)0}, {(char*)0}, |
515 | 1.20M | #line 74 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
516 | 1.20M | {"Tunnel.FOUDestinationPort", config_parse_ip_port, 0, offsetof(Tunnel, fou_destination_port)}, |
517 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
518 | 1.20M | #line 139 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
519 | 1.20M | {"GENEVE.UDP6ZeroChecksumRx", config_parse_bool, 0, offsetof(Geneve, udp6zerocsumrx)}, |
520 | 1.20M | #line 176 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
521 | 1.20M | {"Bond.LACPTransmitRate", config_parse_bond_lacp_rate, 0, offsetof(Bond, lacp_rate)}, |
522 | 1.20M | {(char*)0}, |
523 | 1.20M | #line 125 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
524 | 1.20M | {"VXLAN.FDBAgeingSec", config_parse_sec, 0, offsetof(VxLan, fdb_ageing)}, |
525 | 1.20M | {(char*)0}, |
526 | 1.20M | #line 147 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
527 | 1.20M | {"MACsecReceiveChannel.Port", config_parse_macsec_port, 0, 0}, |
528 | 1.20M | #line 79 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
529 | 1.20M | {"Tunnel.SerializeTunneledPackets", config_parse_tristate, 0, offsetof(Tunnel, gre_erspan_sequence)}, |
530 | 1.20M | #line 123 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
531 | 1.20M | {"VXLAN.RemoteChecksumTx", config_parse_bool, 0, offsetof(VxLan, remote_csum_tx)}, |
532 | 1.20M | {(char*)0}, |
533 | 1.20M | #line 95 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
534 | 1.20M | {"L2TP.UDP6CheckSumRx", config_parse_bool, 0, offsetof(L2tpTunnel, udp6_csum_rx)}, |
535 | 1.20M | #line 64 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
536 | 1.20M | {"Tunnel.InputKey", config_parse_tunnel_key, 0, offsetof(Tunnel, ikey)}, |
537 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
538 | 1.20M | #line 39 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
539 | 1.20M | {"Match.Virtualization", config_parse_net_condition, CONDITION_VIRTUALIZATION, offsetof(NetDev, conditions)}, |
540 | 1.20M | #line 94 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
541 | 1.20M | {"L2TP.UDPCheckSum", config_parse_bool, 0, offsetof(L2tpTunnel, udp_csum)}, |
542 | 1.20M | {(char*)0}, |
543 | 1.20M | #line 202 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
544 | 1.20M | {"Bridge.GroupForwardMask", config_parse_uint16, 0, offsetof(Bridge, group_fwd_mask)}, |
545 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
546 | 1.20M | {(char*)0}, {(char*)0}, |
547 | 1.20M | #line 141 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
548 | 1.20M | {"GENEVE.UDP6ZeroChecksumTx", config_parse_bool, 0, offsetof(Geneve, udp6zerocsumtx)}, |
549 | 1.20M | {(char*)0}, {(char*)0}, |
550 | 1.20M | #line 204 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
551 | 1.20M | {"Bridge.MulticastQuerier", config_parse_tristate, 0, offsetof(Bridge, mcast_querier)}, |
552 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
553 | 1.20M | {(char*)0}, |
554 | 1.20M | #line 96 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
555 | 1.20M | {"L2TP.UDP6CheckSumTx", config_parse_bool, 0, offsetof(L2tpTunnel, udp6_csum_tx)}, |
556 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
557 | 1.20M | #line 197 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
558 | 1.20M | {"Bridge.HelloTimeSec", config_parse_sec, 0, offsetof(Bridge, hello_time)}, |
559 | 1.20M | #line 98 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
560 | 1.20M | {"L2TPSession.PeerSessionId", config_parse_l2tp_session_id, 0, 0}, |
561 | 1.20M | #line 218 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
562 | 1.20M | {"WireGuardPeer.PresharedKey", config_parse_wireguard_preshared_key, 0, 0}, |
563 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, |
564 | 1.20M | #line 219 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
565 | 1.20M | {"WireGuardPeer.PresharedKeyFile", config_parse_wireguard_preshared_key_file, 0, 0}, |
566 | 1.20M | {(char*)0}, {(char*)0}, |
567 | 1.20M | #line 40 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
568 | 1.20M | {"Match.KernelCommandLine", config_parse_net_condition, CONDITION_KERNEL_COMMAND_LINE, offsetof(NetDev, conditions)}, |
569 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
570 | 1.20M | {(char*)0}, |
571 | 1.20M | #line 120 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
572 | 1.20M | {"VXLAN.UDP6ZeroChecksumRx", config_parse_bool, 0, offsetof(VxLan, udp6zerocsumrx)}, |
573 | 1.20M | #line 201 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
574 | 1.20M | {"Bridge.Priority", config_parse_uint16, 0, offsetof(Bridge, priority)}, |
575 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
576 | 1.20M | {(char*)0}, |
577 | 1.20M | #line 97 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
578 | 1.20M | {"L2TPSession.SessionId", config_parse_l2tp_session_id, 0, 0}, |
579 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
580 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
581 | 1.20M | #line 138 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
582 | 1.20M | {"GENEVE.UDP6ZeroCheckSumRx", config_parse_bool, 0, offsetof(Geneve, udp6zerocsumrx)}, |
583 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
584 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
585 | 1.20M | #line 122 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
586 | 1.20M | {"VXLAN.UDP6ZeroChecksumTx", config_parse_bool, 0, offsetof(VxLan, udp6zerocsumtx)}, |
587 | 1.20M | #line 207 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
588 | 1.20M | {"Bridge.STP", config_parse_tristate, 0, offsetof(Bridge, stp)}, |
589 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
590 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
591 | 1.20M | {(char*)0}, |
592 | 1.20M | #line 213 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
593 | 1.20M | {"WireGuard.PrivateKey", config_parse_wireguard_private_key, 0, 0}, |
594 | 1.20M | {(char*)0}, |
595 | 1.20M | #line 93 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
596 | 1.20M | {"L2TP.EncapsulationType", config_parse_l2tp_encap_type, 0, offsetof(L2tpTunnel, l2tp_encap_type)}, |
597 | 1.20M | {(char*)0}, {(char*)0}, |
598 | 1.20M | #line 140 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
599 | 1.20M | {"GENEVE.UDP6ZeroCheckSumTx", config_parse_bool, 0, offsetof(Geneve, udp6zerocsumtx)}, |
600 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
601 | 1.20M | {(char*)0}, |
602 | 1.20M | #line 148 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
603 | 1.20M | {"MACsecReceiveChannel.MACAddress", config_parse_macsec_hw_address, 0, 0}, |
604 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
605 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
606 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
607 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
608 | 1.20M | #line 217 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
609 | 1.20M | {"WireGuardPeer.PublicKey", config_parse_wireguard_public_key, 0, 0}, |
610 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
611 | 1.20M | {(char*)0}, |
612 | 1.20M | #line 119 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
613 | 1.20M | {"VXLAN.UDP6ZeroCheckSumRx", config_parse_bool, 0, offsetof(VxLan, udp6zerocsumrx)}, |
614 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
615 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
616 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
617 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
618 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
619 | 1.20M | {(char*)0}, {(char*)0}, |
620 | 1.20M | #line 200 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
621 | 1.20M | {"Bridge.ForwardDelaySec", config_parse_sec, 0, offsetof(Bridge, forward_delay)}, |
622 | 1.20M | {(char*)0}, |
623 | 1.20M | #line 121 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
624 | 1.20M | {"VXLAN.UDP6ZeroCheckSumTx", config_parse_bool, 0, offsetof(VxLan, udp6zerocsumtx)}, |
625 | 1.20M | #line 206 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
626 | 1.20M | {"Bridge.VLANFiltering", config_parse_tristate, 0, offsetof(Bridge, vlan_filtering)}, |
627 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
628 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
629 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
630 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
631 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
632 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
633 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
634 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
635 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
636 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, |
637 | 1.20M | #line 199 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
638 | 1.20M | {"Bridge.AgeingTimeSec", config_parse_sec, 0, offsetof(Bridge, ageing_time)}, |
639 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
640 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
641 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
642 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
643 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
644 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
645 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
646 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, |
647 | 1.20M | #line 99 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
648 | 1.20M | {"L2TPSession.Layer2SpecificHeader", config_parse_l2tp_session_l2spec, 0, 0}, |
649 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
650 | 1.20M | {(char*)0}, {(char*)0}, |
651 | 1.20M | #line 214 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
652 | 1.20M | {"WireGuard.PrivateKeyFile", config_parse_wireguard_private_key_file, 0, 0}, |
653 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
654 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
655 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
656 | 1.20M | {(char*)0}, {(char*)0}, |
657 | 1.20M | #line 205 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
658 | 1.20M | {"Bridge.MulticastSnooping", config_parse_tristate, 0, offsetof(Bridge, mcast_snooping)}, |
659 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
660 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
661 | 1.20M | {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0}, |
662 | 1.20M | #line 143 "../../src/systemd/src/network/netdev/netdev-gperf.gperf" |
663 | 1.20M | {"GENEVE.IPDoNotFragment", config_parse_geneve_df, 0, offsetof(Geneve, geneve_df)} |
664 | 1.20M | }; |
665 | 1.20M | |
666 | 1.20M | if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) |
667 | 1.20M | { |
668 | 1.20M | register int key = network_netdev_gperf_hash (str, len); |
669 | 1.20M | |
670 | 1.20M | if (key <= MAX_HASH_VALUE && key >= 0) |
671 | 1.18M | { |
672 | 1.18M | register const char *s = wordlist[key].section_and_lvalue; |
673 | 1.18M | |
674 | 1.18M | if (s && *str == *s && !strcmp (str + 1, s + 1)) |
675 | 1.18M | return &wordlist[key]; |
676 | 762k | } |
677 | 1.20M | } |
678 | 762k | return 0; |
679 | 762k | } |