Age | Commit message (Collapse) | Author |
|
use of -f; remove that too;
pointed out by guenther
|
|
was ever added;
the text was added 21 years ago when ip6 support was added;
marfabastewart noticed it, and guenther tracked down the commit responsible;
this commit removes that text;
|
|
and rework the man text to reflect this;
guenther supplied the details on the various modes;
deraadt suggested __progname be banished from usage();
|
|
noticed by jmc@
|
|
reminded by jmc@
|
|
My first version also displayed the number of routes per table. But
duming all routing tables to count the entries in userland is expensive.
Once the kernel can export these counters the numbers can be added to the
output of -R.
OK benno@ previous version
OK sthen@
|
|
Breakage reported by espie@, ok bluhm@
|
|
where such packet is bound to. This check is enforced if and only
IP forwarding is disabled.
Change discussed with bluhm@, claudio@, deraadt@, markus@, tobhe@
OK bluhm@, claudio@, tobhe@
|
|
format.
OK mpi@
|
|
limits. Convert kernel variables and calculations for mbuf memory
into long to allow larger values on 64 bit machines. Put a range
check into the kernel sysctl. For the interface itself int is still
sufficient. In netstat -m cast all multiplications to unsigned
long to hold the product of two unsigned int.
input and OK visa@
|
|
sack hole list length or pool limit.
OK claudio@
|
|
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
|
|
netstat -m would print the result of a signed interger overflow
if kern.maxclusters is 1048576 or above.
OK claudio@
|
|
ok krw@, jsg@
|
|
From Naoki Fukaumi, ok yasuoka@, sthen@
|
|
errors include these, do not subtract both from delivered. Avoids
an underflow in the rip6 delivered counter.
OK deraadt@ claudio@
|
|
better...
|
|
and the Bk/Ek invocation here is no longer neccessary;
|
|
to rtable, to match the man page;
|
|
if you want to see errors or queue drops on their own, use -e or
-d respectively.
ok claudio@ deraadt@
|
|
any other host, i.e. are somewhat like tcp sockets in LISTEN state.
Suggested by tedu@ asking about netstat output.
ok claudio@ tedu@
|
|
OK mpi@
|
|
diff from asou at soum.co.jp
ok claudio kn
|
|
ok markus@
|
|
Make rtable(4) usage documentation consistent with other programs.
This is to have `man -k ar~rtable' show the full list without having to
look for other variations of the same argument type.
OK bluhm
|
|
OK bluhm mpi jca
|
|
OK bluhm deraadt jca
|
|
Delete a bunch of unnecessary #includes and sort to match style(9)
while doing the above cleanup.
ok deraadt@ krw@
|
|
ok jmc@ schwarze@
|
|
|
|
This is a preliminary step for using percpu counters with the data.
OK mpi@
|
|
The kernel no longer sets watermarks on cluster pools rendering
"max" values useless. Instead, there's now a global limit on how
much memory all cluster pools combined together can allocate from
the system. The limit is set to kern.maxclusters number of 2Kb
increments which allows us to display current, peak and maximum
total memory used by the network.
OK claudio, millert
|
|
TCP_FACK was disabled by provos@ in June 1999.
TCP_FACK is an algorithm that decides that when something is lost, all
not SACKed packets until the most forward SACK are lost. It may be a
correct estimate, if network does not reorder packets.
OK visa@ mpi@ mikeb@
|
|
feedback and ok awhile ago bluhm@ job@
|
|
While we originally get a short passed from the kernel, it's probably
better for debugging purposes to show what we are actually having
which is a uin32_t hence the %u format.
OK deraadt
|
|
output.
OK mpi@
|
|
case is that we get an empty response instead of a message saying that
there is no multicast support.
ok mpi@
|
|
control block. This is documented in fstat(1) and makes it possible
to compare the values from both tools.
OK sthen@
|
|
Will make transition to percpu counters easier. ok bluhm@
|
|
Will make conversion to percpu counters easier. ok bluhm@
|
|
failed. Add a counter for that case.
OK dhill@
|
|
gcc warned about this, clang fatally errored.
|
|
incoming socket, so userspace doesn't need to set it unless it has its
own reasons for tracking the size along with the sockaddr.
ok phessler@ deraadt@ florian@
|
|
ok mpi@
|
|
fix a compiler warning about missing prototype.
OK claudio@ mpi@
|
|
|
|
From David Hill, ok bluhm@
|
|
the data structures are now readable without _KERNEL needing to be defined.
ok deraadt@
there's probably a lot more of these that can be cleaned up if
anyone is interested in looking into it.
|
|
the kernel.
OK claudio@, henning@
|
|
the relevant counters.
Ok mikeb@
|