summaryrefslogtreecommitdiff
path: root/sbin/route/keywords.h
blob: 5f065485cbaa4e331ca288c9ed25496fe32d33dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/* $OpenBSD: keywords.h,v 1.17 2005/03/30 08:04:16 henning Exp $ */

/* WARNING!  This file was generated by keywords.sh  */

struct keytab {
        char    *kt_cp;
        int      kt_i;
};

enum {
	K_NULL,
	K_ADD,
	K_BLACKHOLE,
	K_CHANGE,
	K_CLONING,
	K_DELETE,
	K_DST,
	K_EXPIRE,
	K_FLUSH,
	K_GATEWAY,
	K_GENMASK,
	K_GET,
	K_HOST,
	K_HOPCOUNT,
	K_IFACE,
	K_INTERFACE,
	K_IFA,
	K_IFP,
	K_INET,
	K_INET6,
	K_IPX,
	K_LABEL,
	K_LINK,
	K_LLINFO,
	K_LOCK,
	K_LOCKREST,
	K_MONITOR,
	K_MPATH,
	K_MTU,
	K_NET,
	K_NETMASK,
	K_NOSTATIC,
	K_PREFIXLEN,
	K_PROTO1,
	K_PROTO2,
	K_RECVPIPE,
	K_REJECT,
	K_RTT,
	K_RTTVAR,
	K_SA,
	K_SENDPIPE,
	K_SHOW,
	K_SSTHRESH,
	K_STATIC,
	K_XRESOLVE,
};

struct keytab keywords[] = {
	{ "add",	K_ADD },
	{ "blackhole",	K_BLACKHOLE },
	{ "change",	K_CHANGE },
	{ "cloning",	K_CLONING },
	{ "delete",	K_DELETE },
	{ "dst",	K_DST },
	{ "expire",	K_EXPIRE },
	{ "flush",	K_FLUSH },
	{ "gateway",	K_GATEWAY },
	{ "genmask",	K_GENMASK },
	{ "get",	K_GET },
	{ "host",	K_HOST },
	{ "hopcount",	K_HOPCOUNT },
	{ "iface",	K_IFACE },
	{ "interface",	K_INTERFACE },
	{ "ifa",	K_IFA },
	{ "ifp",	K_IFP },
	{ "inet",	K_INET },
	{ "inet6",	K_INET6 },
	{ "ipx",	K_IPX },
	{ "label",	K_LABEL },
	{ "link",	K_LINK },
	{ "llinfo",	K_LLINFO },
	{ "lock",	K_LOCK },
	{ "lockrest",	K_LOCKREST },
	{ "monitor",	K_MONITOR },
	{ "mpath",	K_MPATH },
	{ "mtu",	K_MTU },
	{ "net",	K_NET },
	{ "netmask",	K_NETMASK },
	{ "nostatic",	K_NOSTATIC },
	{ "prefixlen",	K_PREFIXLEN },
	{ "proto1",	K_PROTO1 },
	{ "proto2",	K_PROTO2 },
	{ "recvpipe",	K_RECVPIPE },
	{ "reject",	K_REJECT },
	{ "rtt",	K_RTT },
	{ "rttvar",	K_RTTVAR },
	{ "sa",	K_SA },
	{ "sendpipe",	K_SENDPIPE },
	{ "show",	K_SHOW },
	{ "ssthresh",	K_SSTHRESH },
	{ "static",	K_STATIC },
	{ "xresolve",	K_XRESOLVE },
	{ 0, 0 }
};