NetBSD/usr.bin/netstat
gdt c9bfbf1142 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 15:09:32 +00:00
..
atalk.c Fix many WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare). 2009-04-12 16:08:37 +00:00
bpf.c Add netstat rump client. For now, it always sets -X, i.e. will 2010-12-13 21:15:30 +00:00
fast_ipsec.c pull in AES-GCM/GMAC support from OpenBSD 2011-05-26 21:50:02 +00:00
if.c Use __dead 2011-09-16 15:39:25 +00:00
inet6.c RA flood mitigation via a limit on accepted routes: 2011-05-24 18:07:11 +00:00
inet.c PR/43968 -- add 'segqlen' of TCPCB to 'netstat -P'. 2011-10-04 21:12:40 +00:00
ipsec.c Fix many WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare). 2009-04-12 16:08:37 +00:00
iso.c Fix many WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare). 2009-04-12 16:08:37 +00:00
main.c Use __dead 2011-09-16 15:39:25 +00:00
Makefile document non-literal format strings 2011-08-16 12:03:31 +00:00
mbuf.c Add netstat rump client. For now, it always sets -X, i.e. will 2010-12-13 21:15:30 +00:00
mroute6.c
mroute.c Fix many WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare). 2009-04-12 16:08:37 +00:00
netstat_hostops.c Add netstat rump client. For now, it always sets -X, i.e. will 2010-12-13 21:15:30 +00:00
netstat_rumpops.c Add netstat rump client. For now, it always sets -X, i.e. will 2010-12-13 21:15:30 +00:00
netstat.1 Move RTF_ANNOUNCE flag so that it no longer conflicts with RTF_PROTO2. 2011-11-11 15:09:32 +00:00
netstat.h print multiple tags if exists, comma separated 2011-06-21 19:42:45 +00:00
pfsync.c Pull pfsync_stats() out of inet.c and into pfsync.c so that inet.c does 2011-03-01 19:01:59 +00:00
prog_ops.h Deal with crunch the standard way. 2010-12-15 11:22:41 +00:00
route.c print multiple tags if exists, comma separated 2011-06-21 19:42:45 +00:00
show.c Move RTF_ANNOUNCE flag so that it no longer conflicts with RTF_PROTO2. 2011-11-11 15:09:32 +00:00
unix.c Display SOCK_SEQPACKET local sockets in sockstat and netstat 2011-05-29 04:45:08 +00:00
vtw.c use getmicrouptime(9) rather than microtime(9) for TIME_WAIT duration 2011-05-11 15:08:59 +00:00
vtw.h use getmicrouptime(9) rather than microtime(9) for TIME_WAIT duration 2011-05-11 15:08:59 +00:00