Statistics
| Branch: | Revision:

iof-bird / bird-2.0.1 / obj / conf / keywords.h @ 2b5ca73a

History | View | Annotate | Download (16.3 KB)

1

    
2

    
3
#define PARSER 1
4

    
5
#include "nest/bird.h"
6
#include "conf/conf.h"
7
#include "lib/resource.h"
8
#include "lib/socket.h"
9
#include "lib/timer.h"
10
#include "lib/string.h"
11
#include "nest/protocol.h"
12
#include "nest/iface.h"
13
#include "nest/route.h"
14
#include "nest/cli.h"
15
#include "filter/filter.h"
16

    
17
/* FIXME: Turn on YYERROR_VERBOSE and work around lots of bison bugs? */
18

    
19

    
20

    
21
#define PARSER 1
22

    
23
#include "nest/bird.h"
24
#include "lib/flowspec.h"
25

    
26

    
27

    
28

    
29

    
30

    
31
#include "nest/rt-dev.h"
32
#include "nest/password.h"
33
#include "nest/cmds.h"
34
#include "lib/lists.h"
35
#include "lib/mac.h"
36

    
37

    
38

    
39
#include "proto/bfd/bfd.h"
40

    
41

    
42

    
43
#include "proto/babel/babel.h"
44
#include "nest/iface.h"
45

    
46

    
47

    
48
#include "proto/bgp/bgp.h"
49

    
50

    
51

    
52
#include "proto/ospf/ospf.h"
53

    
54

    
55

    
56
#include "proto/pipe/pipe.h"
57

    
58

    
59

    
60
#include "proto/radv/radv.h"
61

    
62

    
63

    
64
#include "proto/rip/rip.h"
65
#include "nest/iface.h"
66

    
67

    
68

    
69
#include "proto/static/static.h"
70

    
71

    
72

    
73

    
74

    
75
#include "sysdep/unix/unix.h"
76
#include <stdio.h>
77

    
78

    
79

    
80
#include "sysdep/unix/krt.h"
81

    
82

    
83
static struct keyword keyword_list[] = {
84
{ "define", DEFINE, NULL },
85
{ "on", ON, NULL },
86
{ "off", OFF, NULL },
87
{ "yes", YES, NULL },
88
{ "no", NO, NULL },
89
{ "s", S, NULL },
90
{ "ms", MS, NULL },
91
{ "us", US, NULL },
92
{ "port", PORT, NULL },
93
{ "vpn", VPN, NULL },
94
{ "mpls", MPLS, NULL },
95
{ "flow4", FLOW4, NULL },
96
{ "flow6", FLOW6, NULL },
97
{ "dst", DST, NULL },
98
{ "src", SRC, NULL },
99
{ "proto", PROTO, NULL },
100
{ "next", NEXT, NULL },
101
{ "header", HEADER, NULL },
102
{ "dport", DPORT, NULL },
103
{ "sport", SPORT, NULL },
104
{ "icmp", ICMP, NULL },
105
{ "type", TYPE, NULL },
106
{ "code", CODE, NULL },
107
{ "tcp", TCP, NULL },
108
{ "flags", FLAGS, NULL },
109
{ "length", LENGTH, NULL },
110
{ "dscp", DSCP, NULL },
111
{ "dont_fragment", DONT_FRAGMENT, NULL },
112
{ "is_fragment", IS_FRAGMENT, NULL },
113
{ "first_fragment", FIRST_FRAGMENT, NULL },
114
{ "last_fragment", LAST_FRAGMENT, NULL },
115
{ "fragment", FRAGMENT, NULL },
116
{ "label", LABEL, NULL },
117
{ "offset", OFFSET, NULL },
118
{ "function", FUNCTION, NULL },
119
{ "print", PRINT, NULL },
120
{ "printn", PRINTN, NULL },
121
{ "unset", UNSET, NULL },
122
{ "return", RETURN, NULL },
123
{ "accept", ACCEPT, NULL },
124
{ "reject", REJECT, NULL },
125
{ "error", ERROR, NULL },
126
{ "quitbird", QUITBIRD, NULL },
127
{ "int", INT, NULL },
128
{ "bool", BOOL, NULL },
129
{ "ip", IP, NULL },
130
{ "prefix", PREFIX, NULL },
131
{ "rd", RD, NULL },
132
{ "pair", PAIR, NULL },
133
{ "quad", QUAD, NULL },
134
{ "ec", EC, NULL },
135
{ "lc", LC, NULL },
136
{ "set", SET, NULL },
137
{ "string", STRING, NULL },
138
{ "bgpmask", BGPMASK, NULL },
139
{ "bgppath", BGPPATH, NULL },
140
{ "clist", CLIST, NULL },
141
{ "eclist", ECLIST, NULL },
142
{ "lclist", LCLIST, NULL },
143
{ "if", IF, NULL },
144
{ "then", THEN, NULL },
145
{ "else", ELSE, NULL },
146
{ "case", CASE, NULL },
147
{ "true", TRUE, NULL },
148
{ "false", FALSE, NULL },
149
{ "rt", RT, NULL },
150
{ "ro", RO, NULL },
151
{ "unknown", UNKNOWN, NULL },
152
{ "generic", GENERIC, NULL },
153
{ "from", FROM, NULL },
154
{ "gw", GW, NULL },
155
{ "net", NET, NULL },
156
{ "mask", MASK, NULL },
157
{ "source", SOURCE, NULL },
158
{ "scope", SCOPE, NULL },
159
{ "dest", DEST, NULL },
160
{ "ifname", IFNAME, NULL },
161
{ "ifindex", IFINDEX, NULL },
162
{ "preference", PREFERENCE, NULL },
163
{ "roa_check", ROA_CHECK, NULL },
164
{ "asn", ASN, NULL },
165
{ "is_v4", IS_V4, NULL },
166
{ "is_v6", IS_V6, NULL },
167
{ "len", LEN, NULL },
168
{ "maxlen", MAXLEN, NULL },
169
{ "defined", DEFINED, NULL },
170
{ "add", ADD, NULL },
171
{ "delete", DELETE, NULL },
172
{ "contains", CONTAINS, NULL },
173
{ "reset", RESET, NULL },
174
{ "prepend", PREPEND, NULL },
175
{ "first", FIRST, NULL },
176
{ "last", LAST, NULL },
177
{ "last_nonaggregated", LAST_NONAGGREGATED, NULL },
178
{ "match", MATCH, NULL },
179
{ "empty", EMPTY, NULL },
180
{ "filter", FILTER, NULL },
181
{ "where", WHERE, NULL },
182
{ "eval", EVAL, NULL },
183
{ "bt_assert", BT_ASSERT, NULL },
184
{ "bt_test_suite", BT_TEST_SUITE, NULL },
185
{ "format", FORMAT, NULL },
186
{ "router", ROUTER, NULL },
187
{ "id", ID, NULL },
188
{ "protocol", PROTOCOL, NULL },
189
{ "template", TEMPLATE, NULL },
190
{ "disabled", DISABLED, NULL },
191
{ "debug", DEBUG, NULL },
192
{ "all", ALL, NULL },
193
{ "direct", DIRECT, NULL },
194
{ "interface", INTERFACE, NULL },
195
{ "import", IMPORT, NULL },
196
{ "export", EXPORT, NULL },
197
{ "none", NONE, NULL },
198
{ "vrf", VRF, NULL },
199
{ "table", TABLE, NULL },
200
{ "states", STATES, NULL },
201
{ "routes", ROUTES, NULL },
202
{ "filters", FILTERS, NULL },
203
{ "ipv4", IPV4, NULL },
204
{ "ipv6", IPV6, NULL },
205
{ "vpn4", VPN4, NULL },
206
{ "vpn6", VPN6, NULL },
207
{ "roa4", ROA4, NULL },
208
{ "roa6", ROA6, NULL },
209
{ "receive", RECEIVE, NULL },
210
{ "limit", LIMIT, NULL },
211
{ "action", ACTION, NULL },
212
{ "warn", WARN, NULL },
213
{ "block", BLOCK, NULL },
214
{ "restart", RESTART, NULL },
215
{ "disable", DISABLE, NULL },
216
{ "keep", KEEP, NULL },
217
{ "filtered", FILTERED, NULL },
218
{ "password", PASSWORD, NULL },
219
{ "passive", PASSIVE, NULL },
220
{ "to", TO, NULL },
221
{ "events", EVENTS, NULL },
222
{ "packets", PACKETS, NULL },
223
{ "protocols", PROTOCOLS, NULL },
224
{ "interfaces", INTERFACES, NULL },
225
{ "algorithm", ALGORITHM, NULL },
226
{ "keyed", KEYED, NULL },
227
{ "hmac", HMAC, NULL },
228
{ "md5", MD5, NULL },
229
{ "sha1", SHA1, NULL },
230
{ "sha256", SHA256, NULL },
231
{ "sha384", SHA384, NULL },
232
{ "sha512", SHA512, NULL },
233
{ "primary", PRIMARY, NULL },
234
{ "stats", STATS, NULL },
235
{ "count", COUNT, NULL },
236
{ "by", BY, NULL },
237
{ "for", FOR, NULL },
238
{ "commands", COMMANDS, NULL },
239
{ "preexport", PREEXPORT, NULL },
240
{ "noexport", NOEXPORT, NULL },
241
{ "generate", GENERATE, NULL },
242
{ "bgp", BGP, NULL },
243
{ "passwords", PASSWORDS, NULL },
244
{ "description", DESCRIPTION, NULL },
245
{ "sorted", SORTED, NULL },
246
{ "reload", RELOAD, NULL },
247
{ "in", IN, NULL },
248
{ "out", OUT, NULL },
249
{ "mrtdump", MRTDUMP, NULL },
250
{ "messages", MESSAGES, NULL },
251
{ "restrict", RESTRICT, NULL },
252
{ "memory", MEMORY, NULL },
253
{ "igp_metric", IGP_METRIC, NULL },
254
{ "class", CLASS, NULL },
255
{ "timeformat", TIMEFORMAT, NULL },
256
{ "iso", ISO, NULL },
257
{ "short", SHORT, NULL },
258
{ "long", LONG, NULL },
259
{ "route", ROUTE, NULL },
260
{ "base", BASE, NULL },
261
{ "log", LOG, NULL },
262
{ "graceful", GRACEFUL, NULL },
263
{ "wait", WAIT, NULL },
264
{ "max", MAX, NULL },
265
{ "flush", FLUSH, NULL },
266
{ "as", AS, NULL },
267
{ "ipv4_mc", IPV4_MC, NULL },
268
{ "ipv4_mpls", IPV4_MPLS, NULL },
269
{ "ipv6_mc", IPV6_MC, NULL },
270
{ "ipv6_mpls", IPV6_MPLS, NULL },
271
{ "vpn4_mc", VPN4_MC, NULL },
272
{ "vpn4_mpls", VPN4_MPLS, NULL },
273
{ "vpn6_mc", VPN6_MC, NULL },
274
{ "vpn6_mpls", VPN6_MPLS, NULL },
275
{ "pri", PRI, NULL },
276
{ "sec", SEC, NULL },
277
{ "RTS_DUMMY", -((T_ENUM_RTS<<16) | RTS_DUMMY), NULL },
278
{ "RTS_STATIC", -((T_ENUM_RTS<<16) | RTS_STATIC), NULL },
279
{ "RTS_INHERIT", -((T_ENUM_RTS<<16) | RTS_INHERIT), NULL },
280
{ "RTS_DEVICE", -((T_ENUM_RTS<<16) | RTS_DEVICE), NULL },
281
{ "RTS_STATIC_DEVICE", -((T_ENUM_RTS<<16) | RTS_STATIC_DEVICE), NULL },
282
{ "RTS_REDIRECT", -((T_ENUM_RTS<<16) | RTS_REDIRECT), NULL },
283
{ "RTS_RIP", -((T_ENUM_RTS<<16) | RTS_RIP), NULL },
284
{ "RTS_OSPF", -((T_ENUM_RTS<<16) | RTS_OSPF), NULL },
285
{ "RTS_OSPF_IA", -((T_ENUM_RTS<<16) | RTS_OSPF_IA), NULL },
286
{ "RTS_OSPF_EXT1", -((T_ENUM_RTS<<16) | RTS_OSPF_EXT1), NULL },
287
{ "RTS_OSPF_EXT2", -((T_ENUM_RTS<<16) | RTS_OSPF_EXT2), NULL },
288
{ "RTS_BGP", -((T_ENUM_RTS<<16) | RTS_BGP), NULL },
289
{ "RTS_PIPE", -((T_ENUM_RTS<<16) | RTS_PIPE), NULL },
290
{ "RTS_BABEL", -((T_ENUM_RTS<<16) | RTS_BABEL), NULL },
291
{ "SCOPE_HOST", -((T_ENUM_SCOPE<<16) | SCOPE_HOST), NULL },
292
{ "SCOPE_LINK", -((T_ENUM_SCOPE<<16) | SCOPE_LINK), NULL },
293
{ "SCOPE_SITE", -((T_ENUM_SCOPE<<16) | SCOPE_SITE), NULL },
294
{ "SCOPE_ORGANIZATION", -((T_ENUM_SCOPE<<16) | SCOPE_ORGANIZATION), NULL },
295
{ "SCOPE_UNIVERSE", -((T_ENUM_SCOPE<<16) | SCOPE_UNIVERSE), NULL },
296
{ "SCOPE_UNDEFINED", -((T_ENUM_SCOPE<<16) | SCOPE_UNDEFINED), NULL },
297
{ "RTD_UNICAST", -((T_ENUM_RTD<<16) | RTD_UNICAST), NULL },
298
{ "RTD_BLACKHOLE", -((T_ENUM_RTD<<16) | RTD_BLACKHOLE), NULL },
299
{ "RTD_UNREACHABLE", -((T_ENUM_RTD<<16) | RTD_UNREACHABLE), NULL },
300
{ "RTD_PROHIBIT", -((T_ENUM_RTD<<16) | RTD_PROHIBIT), NULL },
301
{ "ROA_UNKNOWN", -((T_ENUM_ROA<<16) | ROA_UNKNOWN), NULL },
302
{ "ROA_VALID", -((T_ENUM_ROA<<16) | ROA_VALID), NULL },
303
{ "ROA_INVALID", -((T_ENUM_ROA<<16) | ROA_INVALID), NULL },
304
{ "NET_IP4", -((T_ENUM_NETTYPE<<16) | NET_IP4), NULL },
305
{ "NET_IP6", -((T_ENUM_NETTYPE<<16) | NET_IP6), NULL },
306
{ "NET_VPN4", -((T_ENUM_NETTYPE<<16) | NET_VPN4), NULL },
307
{ "NET_VPN6", -((T_ENUM_NETTYPE<<16) | NET_VPN6), NULL },
308
{ "NET_ROA4", -((T_ENUM_NETTYPE<<16) | NET_ROA4), NULL },
309
{ "NET_ROA6", -((T_ENUM_NETTYPE<<16) | NET_ROA6), NULL },
310
{ "NET_FLOW4", -((T_ENUM_NETTYPE<<16) | NET_FLOW4), NULL },
311
{ "NET_FLOW6", -((T_ENUM_NETTYPE<<16) | NET_FLOW6), NULL },
312
{ "show", SHOW, NULL },
313
{ "status", STATUS, NULL },
314
{ "summary", SUMMARY, NULL },
315
{ "symbols", SYMBOLS, NULL },
316
{ "dump", DUMP, NULL },
317
{ "resources", RESOURCES, NULL },
318
{ "sockets", SOCKETS, NULL },
319
{ "neighbors", NEIGHBORS, NULL },
320
{ "attributes", ATTRIBUTES, NULL },
321
{ "echo", ECHO, NULL },
322
{ "enable", ENABLE, NULL },
323
{ "bfd", BFD, NULL },
324
{ "min", MIN, NULL },
325
{ "idle", IDLE, NULL },
326
{ "rx", RX, NULL },
327
{ "tx", TX, NULL },
328
{ "interval", INTERVAL, NULL },
329
{ "multiplier", MULTIPLIER, NULL },
330
{ "multihop", MULTIHOP, NULL },
331
{ "neighbor", NEIGHBOR, NULL },
332
{ "dev", DEV, NULL },
333
{ "local", LOCAL, NULL },
334
{ "authentication", AUTHENTICATION, NULL },
335
{ "simple", SIMPLE, NULL },
336
{ "meticulous", METICULOUS, NULL },
337
{ "sessions", SESSIONS, NULL },
338
{ "babel", BABEL, NULL },
339
{ "metric", METRIC, NULL },
340
{ "rxcost", RXCOST, NULL },
341
{ "hello", HELLO, NULL },
342
{ "update", UPDATE, NULL },
343
{ "wired", WIRED, NULL },
344
{ "wireless", WIRELESS, NULL },
345
{ "buffer", BUFFER, NULL },
346
{ "check", CHECK, NULL },
347
{ "link", LINK, NULL },
348
{ "babel_metric", BABEL_METRIC, NULL },
349
{ "hop", HOP, NULL },
350
{ "entries", ENTRIES, NULL },
351
{ "hold", HOLD, NULL },
352
{ "time", TIME, NULL },
353
{ "connect", CONNECT, NULL },
354
{ "retry", RETRY, NULL },
355
{ "keepalive", KEEPALIVE, NULL },
356
{ "startup", STARTUP, NULL },
357
{ "via", VIA, NULL },
358
{ "self", SELF, NULL },
359
{ "default", DEFAULT, NULL },
360
{ "path", PATH, NULL },
361
{ "start", START, NULL },
362
{ "delay", DELAY, NULL },
363
{ "forget", FORGET, NULL },
364
{ "after", AFTER, NULL },
365
{ "bgp_path", BGP_PATH, NULL },
366
{ "bgp_local_pref", BGP_LOCAL_PREF, NULL },
367
{ "bgp_med", BGP_MED, NULL },
368
{ "bgp_origin", BGP_ORIGIN, NULL },
369
{ "bgp_next_hop", BGP_NEXT_HOP, NULL },
370
{ "bgp_atomic_aggr", BGP_ATOMIC_AGGR, NULL },
371
{ "bgp_aggregator", BGP_AGGREGATOR, NULL },
372
{ "bgp_community", BGP_COMMUNITY, NULL },
373
{ "bgp_ext_community", BGP_EXT_COMMUNITY, NULL },
374
{ "bgp_large_community", BGP_LARGE_COMMUNITY, NULL },
375
{ "address", ADDRESS, NULL },
376
{ "rr", RR, NULL },
377
{ "rs", RS, NULL },
378
{ "client", CLIENT, NULL },
379
{ "cluster", CLUSTER, NULL },
380
{ "as4", AS4, NULL },
381
{ "advertise", ADVERTISE, NULL },
382
{ "capabilities", CAPABILITIES, NULL },
383
{ "prefer", PREFER, NULL },
384
{ "older", OLDER, NULL },
385
{ "missing", MISSING, NULL },
386
{ "lladdr", LLADDR, NULL },
387
{ "drop", DROP, NULL },
388
{ "ignore", IGNORE, NULL },
389
{ "refresh", REFRESH, NULL },
390
{ "interpret", INTERPRET, NULL },
391
{ "communities", COMMUNITIES, NULL },
392
{ "bgp_originator_id", BGP_ORIGINATOR_ID, NULL },
393
{ "bgp_cluster_list", BGP_CLUSTER_LIST, NULL },
394
{ "igp", IGP, NULL },
395
{ "gateway", GATEWAY, NULL },
396
{ "recursive", RECURSIVE, NULL },
397
{ "med", MED, NULL },
398
{ "ttl", TTL, NULL },
399
{ "security", SECURITY, NULL },
400
{ "deterministic", DETERMINISTIC, NULL },
401
{ "secondary", SECONDARY, NULL },
402
{ "allow", ALLOW, NULL },
403
{ "paths", PATHS, NULL },
404
{ "aware", AWARE, NULL },
405
{ "extended", EXTENDED, NULL },
406
{ "setkey", SETKEY, NULL },
407
{ "strict", STRICT, NULL },
408
{ "bind", BIND, NULL },
409
{ "confederation", CONFEDERATION, NULL },
410
{ "member", MEMBER, NULL },
411
{ "multicast", MULTICAST, NULL },
412
{ "ORIGIN_IGP", -((T_ENUM_BGP_ORIGIN<<16) | ORIGIN_IGP), NULL },
413
{ "ORIGIN_EGP", -((T_ENUM_BGP_ORIGIN<<16) | ORIGIN_EGP), NULL },
414
{ "ORIGIN_INCOMPLETE", -((T_ENUM_BGP_ORIGIN<<16) | ORIGIN_INCOMPLETE), NULL },
415
{ "ospf", OSPF, NULL },
416
{ "v2", V2, NULL },
417
{ "v3", V3, NULL },
418
{ "ospf_metric1", OSPF_METRIC1, NULL },
419
{ "ospf_metric2", OSPF_METRIC2, NULL },
420
{ "ospf_tag", OSPF_TAG, NULL },
421
{ "ospf_router_id", OSPF_ROUTER_ID, NULL },
422
{ "area", AREA, NULL },
423
{ "rfc1583compat", RFC1583COMPAT, NULL },
424
{ "stub", STUB, NULL },
425
{ "tick", TICK, NULL },
426
{ "cost", COST, NULL },
427
{ "cost2", COST2, NULL },
428
{ "retransmit", RETRANSMIT, NULL },
429
{ "transmit", TRANSMIT, NULL },
430
{ "priority", PRIORITY, NULL },
431
{ "dead", DEAD, NULL },
432
{ "broadcast", BROADCAST, NULL },
433
{ "bcast", BCAST, NULL },
434
{ "nonbroadcast", NONBROADCAST, NULL },
435
{ "nbma", NBMA, NULL },
436
{ "pointopoint", POINTOPOINT, NULL },
437
{ "ptp", PTP, NULL },
438
{ "pointomultipoint", POINTOMULTIPOINT, NULL },
439
{ "ptmp", PTMP, NULL },
440
{ "cryptographic", CRYPTOGRAPHIC, NULL },
441
{ "eligible", ELIGIBLE, NULL },
442
{ "poll", POLL, NULL },
443
{ "networks", NETWORKS, NULL },
444
{ "hidden", HIDDEN, NULL },
445
{ "virtual", VIRTUAL, NULL },
446
{ "only", ONLY, NULL },
447
{ "large", LARGE, NULL },
448
{ "normal", NORMAL, NULL },
449
{ "stubnet", STUBNET, NULL },
450
{ "tag", TAG, NULL },
451
{ "external", EXTERNAL, NULL },
452
{ "lsadb", LSADB, NULL },
453
{ "ecmp", ECMP, NULL },
454
{ "weight", WEIGHT, NULL },
455
{ "nssa", NSSA, NULL },
456
{ "translator", TRANSLATOR, NULL },
457
{ "stability", STABILITY, NULL },
458
{ "global", GLOBAL, NULL },
459
{ "lsid", LSID, NULL },
460
{ "instance", INSTANCE, NULL },
461
{ "real", REAL, NULL },
462
{ "netmask", NETMASK, NULL },
463
{ "merge", MERGE, NULL },
464
{ "lsa", LSA, NULL },
465
{ "suppression", SUPPRESSION, NULL },
466
{ "rfc5838", RFC5838, NULL },
467
{ "topology", TOPOLOGY, NULL },
468
{ "state", STATE, NULL },
469
{ "pipe", PIPE, NULL },
470
{ "peer", PEER, NULL },
471
{ "radv", RADV, NULL },
472
{ "ra", RA, NULL },
473
{ "managed", MANAGED, NULL },
474
{ "other", OTHER, NULL },
475
{ "config", CONFIG, NULL },
476
{ "linger", LINGER, NULL },
477
{ "mtu", MTU, NULL },
478
{ "reachable", REACHABLE, NULL },
479
{ "retrans", RETRANS, NULL },
480
{ "timer", TIMER, NULL },
481
{ "current", CURRENT, NULL },
482
{ "valid", VALID, NULL },
483
{ "preferred", PREFERRED, NULL },
484
{ "mult", MULT, NULL },
485
{ "lifetime", LIFETIME, NULL },
486
{ "skip", SKIP, NULL },
487
{ "onlink", ONLINK, NULL },
488
{ "autonomous", AUTONOMOUS, NULL },
489
{ "rdnss", RDNSS, NULL },
490
{ "dnssl", DNSSL, NULL },
491
{ "ns", NS, NULL },
492
{ "domain", DOMAIN, NULL },
493
{ "trigger", TRIGGER, NULL },
494
{ "sensitive", SENSITIVE, NULL },
495
{ "low", LOW, NULL },
496
{ "medium", MEDIUM, NULL },
497
{ "high", HIGH, NULL },
498
{ "propagate", PROPAGATE, NULL },
499
{ "ra_preference", RA_PREFERENCE, NULL },
500
{ "ra_lifetime", RA_LIFETIME, NULL },
501
{ "RA_PREF_LOW", -((T_ENUM_RA_PREFERENCE<<16) | RA_PREF_LOW), NULL },
502
{ "RA_PREF_MEDIUM", -((T_ENUM_RA_PREFERENCE<<16) | RA_PREF_MEDIUM), NULL },
503
{ "RA_PREF_HIGH", -((T_ENUM_RA_PREFERENCE<<16) | RA_PREF_HIGH), NULL },
504
{ "rip", RIP, NULL },
505
{ "ng", NG, NULL },
506
{ "infinity", INFINITY, NULL },
507
{ "timeout", TIMEOUT, NULL },
508
{ "garbage", GARBAGE, NULL },
509
{ "mode", MODE, NULL },
510
{ "version", VERSION, NULL },
511
{ "split", SPLIT, NULL },
512
{ "horizon", HORIZON, NULL },
513
{ "poison", POISON, NULL },
514
{ "reverse", REVERSE, NULL },
515
{ "zero", ZERO, NULL },
516
{ "plaintext", PLAINTEXT, NULL },
517
{ "rip_metric", RIP_METRIC, NULL },
518
{ "rip_tag", RIP_TAG, NULL },
519
{ "static", STATIC, NULL },
520
{ "prohibit", PROHIBIT, NULL },
521
{ "blackhole", BLACKHOLE, NULL },
522
{ "unreachable", UNREACHABLE, NULL },
523
{ "kernel", KERNEL, NULL },
524
{ "krt_prefsrc", KRT_PREFSRC, NULL },
525
{ "krt_realm", KRT_REALM, NULL },
526
{ "krt_scope", KRT_SCOPE, NULL },
527
{ "krt_mtu", KRT_MTU, NULL },
528
{ "krt_window", KRT_WINDOW, NULL },
529
{ "krt_rtt", KRT_RTT, NULL },
530
{ "krt_rttvar", KRT_RTTVAR, NULL },
531
{ "krt_sstresh", KRT_SSTRESH, NULL },
532
{ "krt_cwnd", KRT_CWND, NULL },
533
{ "krt_advmss", KRT_ADVMSS, NULL },
534
{ "krt_reordering", KRT_REORDERING, NULL },
535
{ "krt_hoplimit", KRT_HOPLIMIT, NULL },
536
{ "krt_initcwnd", KRT_INITCWND, NULL },
537
{ "krt_rto_min", KRT_RTO_MIN, NULL },
538
{ "krt_initrwnd", KRT_INITRWND, NULL },
539
{ "krt_quickack", KRT_QUICKACK, NULL },
540
{ "krt_lock_mtu", KRT_LOCK_MTU, NULL },
541
{ "krt_lock_window", KRT_LOCK_WINDOW, NULL },
542
{ "krt_lock_rtt", KRT_LOCK_RTT, NULL },
543
{ "krt_lock_rttvar", KRT_LOCK_RTTVAR, NULL },
544
{ "krt_lock_sstresh", KRT_LOCK_SSTRESH, NULL },
545
{ "krt_lock_cwnd", KRT_LOCK_CWND, NULL },
546
{ "krt_lock_advmss", KRT_LOCK_ADVMSS, NULL },
547
{ "krt_lock_reordering", KRT_LOCK_REORDERING, NULL },
548
{ "krt_lock_hoplimit", KRT_LOCK_HOPLIMIT, NULL },
549
{ "krt_lock_rto_min", KRT_LOCK_RTO_MIN, NULL },
550
{ "krt_feature_ecn", KRT_FEATURE_ECN, NULL },
551
{ "krt_feature_allfrag", KRT_FEATURE_ALLFRAG, NULL },
552
{ "syslog", SYSLOG, NULL },
553
{ "trace", TRACE, NULL },
554
{ "info", INFO, NULL },
555
{ "remote", REMOTE, NULL },
556
{ "warning", WARNING, NULL },
557
{ "auth", AUTH, NULL },
558
{ "fatal", FATAL, NULL },
559
{ "bug", BUG, NULL },
560
{ "stderr", STDERR, NULL },
561
{ "soft", SOFT, NULL },
562
{ "name", NAME, NULL },
563
{ "confirm", CONFIRM, NULL },
564
{ "undo", UNDO, NULL },
565
{ "latency", LATENCY, NULL },
566
{ "watchdog", WATCHDOG, NULL },
567
{ "configure", CONFIGURE, NULL },
568
{ "down", DOWN, NULL },
569
{ "persist", PERSIST, NULL },
570
{ "scan", SCAN, NULL },
571
{ "learn", LEARN, NULL },
572
{ "device", DEVICE, NULL },
573
{ "krt_source", KRT_SOURCE, NULL },
574
{ "krt_metric", KRT_METRIC, NULL },
575
{ NULL, -1, NULL } };