summaryrefslogtreecommitdiff
path: root/sbin/route/keywords.h
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/route/keywords.h')
-rw-r--r--sbin/route/keywords.h60
1 files changed, 54 insertions, 6 deletions
diff --git a/sbin/route/keywords.h b/sbin/route/keywords.h
index 4e91c159ce2..d83ad8628a9 100644
--- a/sbin/route/keywords.h
+++ b/sbin/route/keywords.h
@@ -1,12 +1,11 @@
-/* $OpenBSD: keywords.h,v 1.13 2005/03/30 05:20:18 henning Exp $ */
+/* $OpenBSD: keywords.h,v 1.14 2005/03/30 06:02:52 henning Exp $ */
/* WARNING! This file was generated by keywords.sh */
-extern struct keytab {
- char *kt_cp;
- int kt_i;
-} keywords[];
-
+struct keytab {
+ char *kt_cp;
+ int kt_i;
+};
#define K_ADD 1
#define K_BLACKHOLE 2
@@ -52,3 +51,52 @@ extern struct keytab {
#define K_SSTHRESH 42
#define K_STATIC 43
#define K_XRESOLVE 44
+
+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 }
+};
+