2016-04-04 10:37:07 +03:00
|
|
|
/* $NetBSD: keywords.c,v 1.11 2016/04/04 07:37:07 ozaki-r Exp $ */
|
1996-11-15 21:01:36 +03:00
|
|
|
|
|
|
|
/* WARNING! This file was generated by keywords.sh */
|
|
|
|
|
|
|
|
#include "keywords.h"
|
|
|
|
|
|
|
|
struct keytab keywords[] = {
|
|
|
|
|
|
|
|
{"add", K_ADD},
|
1997-04-03 06:35:46 +04:00
|
|
|
{"atalk", K_ATALK},
|
1996-11-15 21:01:36 +03:00
|
|
|
{"blackhole", K_BLACKHOLE},
|
|
|
|
{"change", K_CHANGE},
|
2016-04-04 10:37:07 +03:00
|
|
|
{"cloning", K_CONNECTED}, /* For backward compatibility */
|
|
|
|
{"connected", K_CONNECTED},
|
1996-11-15 21:01:36 +03:00
|
|
|
{"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},
|
1999-07-02 19:29:02 +04:00
|
|
|
{"inet6", K_INET6},
|
1996-11-15 21:01:36 +03:00
|
|
|
{"link", K_LINK},
|
|
|
|
{"lock", K_LOCK},
|
|
|
|
{"lockrest", K_LOCKREST},
|
|
|
|
{"mask", K_MASK},
|
|
|
|
{"monitor", K_MONITOR},
|
|
|
|
{"mtu", K_MTU},
|
|
|
|
{"net", K_NET},
|
|
|
|
{"netmask", K_NETMASK},
|
|
|
|
{"nostatic", K_NOSTATIC},
|
1999-07-02 19:29:02 +04:00
|
|
|
{"prefixlen", K_PREFIXLEN},
|
1996-11-15 21:01:36 +03:00
|
|
|
{"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},
|
|
|
|
{"x25", K_X25},
|
|
|
|
{"xns", K_XNS},
|
2003-07-19 05:36:47 +04:00
|
|
|
{"flushall", K_FLUSHALL},
|
2016-04-04 10:37:07 +03:00
|
|
|
{"nocloning", K_NOCONNECTED}, /* For backward compatibility */
|
|
|
|
{"noconnected", K_NOCONNECTED},
|
2010-05-12 21:56:13 +04:00
|
|
|
{"noblackhole", K_NOBLACKHOLE},
|
|
|
|
{"noreject", K_NOREJECT},
|
2010-06-26 18:29:36 +04:00
|
|
|
{"mpls", K_MPLS},
|
|
|
|
{"tag", K_TAG},
|
Move RTF_ANNOUNCE flag so that it no longer conflicts with RTF_PROTO2.
RTF_ANNOUNCE was defined as RTF_PROTO2. The flag is used to indicated
that host should act as a proxy for a link level arp or ndp request.
(If RTF_PROTO2 is used as an experimental flag (as advertised),
various problems can occur.)
This commit provides a first-class definition with its own bit for
RTF_ANNOUNCE, removes the old aliasing definitions, and adds support
for the new RTF_ANNOUNCE flag to netstat(8) and route(8).,
Also, remove unused RTF_ flags that collide with RTF_PROTO1:
netinet/icmp6.h defined RTF_PROBEMTU as RTF_PROTO1
netinet/if_inarp.h defined RTF_USETRAILERS as RTF_PROTO1
(Neither of these flags are used anywhere. Both have been removed
to reduce chances of collision with RTF_PROTO1.)
Figuring this out and the diff are the work of Beverly Schwartz of
BBN.
(Passed release build, boot in VM, with no apparently related atf
failures.)
Approved for Public Release, Distribution Unlimited
This material is based upon work supported by the Defense Advanced
Research Projects Agency and Space and Naval Warfare Systems Center,
Pacific, under Contract No. N66001-09-C-2073.
2011-11-11 19:09:32 +04:00
|
|
|
{"proxy", K_PROXY},
|
1996-11-15 21:01:36 +03:00
|
|
|
{0, 0}
|
|
|
|
};
|
|
|
|
|