| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
We alreay have it in route(8) and shouldn't have another one.
(Actually the removed list is forgot to be updated.)
|
|
they are created on the fly. This makes it clear what the route is for
and allows an optimisation in ip_output() by avoiding a call to
in_broadcast() because most of the time we do talk to a host.
It also avoids a needless allocation for the storage of llinfo_arp and
thus vanishes from arp(8) - it showed as incomplete anyway so this
is a nice side effect.
Guard against this and routes marked with RTF_BLACKHOLE in
ip_fastforward().
While here, guard against routes marked with RTF_BLACKHOLE in
ip6_fastforward().
RTF_BROADCAST is IPv4 only, so don't bother checking that here.
|
|
|
|
|
|
nowadays sysctl(3) is the default information retrieval method.
- Fix description about default value for -N; it is no longer a single value
these days, so just say see kvm_openfiles(3) rahter than repeating
several lines description here.
|
|
but /dev/mem. Actually, passing /dev/kmem to -M doesn't work.
|
|
Bump man page date.
|
|
|
|
|
|
|
|
XXX Should the date be updated?
|
|
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.
|
|
|
|
|
|
No functional change.
|
|
|
|
|
|
|
|
(netstat had -h some 15 years ago, but since then it has been just
a fancy way of calling usage())
|
|
|
|
This commit mostly adds code written by Claudio Jeker for OpenBSD to
support sysctl in the interface printing parts (-i, -I, -w). The port has
been ported to NetBSD with tiny adjustments -- of course all bugs etc.
are mine.
Also add and document a -X flag to force sysctl usage. The documentation
notes this flag may be removed at any time and its presence should not be
relied on.
Some misc. comments/#ifdef changes/code snippet moves as well.
Please note that no functionality should change as the routing and
interface printing code is still not fully supported.
Mailing list reference:
http://mail-index.netbsd.org/tech-userlevel/2009/09/09/msg002604.html
|
|
|
|
|
|
|
|
Covers PR 40627.
|
|
|
|
|
|
Bump date.
|
|
|
|
|
|
|
|
private mail.
|
|
Reviewed by wiz@
|
|
Patches provided by Joel Baker in PR 22365, verified by myself.
|
|
|
|
for correct formatting of the SYNOPSIS any longer.
|
|
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
|
|
|
|
due to queue full) about software interrupt queues such as ipintrq.
|
|
|
|
|
|
|
|
|
|
|
|
Whitespace, punctuation and spelling fixes while I'm here.
|
|
let static routes overwrite cloned routes, as cloned routes can come back again
if necessary. behavior same as freebsd/bsdi, code partially from bsdi42.
(NRL rt->rt_parent was not added)
should fix PR 11916 and maybe some other PRs with ARP behavior.
recompilation of usr.sbin/route6d is suggested.
|
|
|