alfred
ec5f2018ae
WARNS=2, de-__P()
2002-07-11 22:50:36 +00:00
fenner
1e7fe9f955
The interface index space may be sparsely populated (e.g. when an
...
interface in the middle is if_detach()'d). Return (and handle)
ENOENT when the ifmib(4) is accessed for a nonexistent interface.
MFC after: 14 days
2001-10-17 04:12:29 +00:00
rwatson
7ce2a9a97d
o Reduce userland inclusion of kernel headers -- remove unneeded include
...
of <sys/mbuf.h>.
Reviewed by: jlemon
2001-09-24 14:43:35 +00:00
peter
efabb9ccb1
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
bde
930e39f583
Removed bogus #ifdef INET - <net/if_slvar.h> no longer depends on it.
1998-07-06 20:09:36 +00:00
charnier
6d5fb19194
Hardcode progname in usage string.
1997-10-20 12:41:41 +00:00
peter
b782f4df30
Revert $FreeBSD$ to $Id$
1997-02-22 16:15:28 +00:00
jkh
808a36ef65
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
wollman
5972643f58
Update to match changes in <net/if.h>.
1997-01-03 20:19:50 +00:00
wollman
d3ecee07b3
Fix up programs which expect <net/if.h> to include <sys/time.h> to instead
...
do it themselves. (Some of these programs actually depended on this
beyond compiling the definition of struct ifinfo!) Also fix up some
other #include messes while we're at it.
1996-12-10 17:11:53 +00:00
bde
7aa4a66a12
Fixed recently-introduced bugs:
...
- `slstat' with no args dumped core.
- `slstat unit' always failed with a "sysctl linkspecific" error.
- the usage message was nonstandard.
Fixed old bugs:
- missing prototypes, Wformat errors, and other lint.
1996-11-04 17:14:43 +00:00
wollman
19def30c85
De-cruftify.
...
Use the link MIB interface rather than groveling around in kmem.
(No longer works on dead kernels, big deal.)
1996-10-11 18:47:10 +00:00
pst
10d32f7a70
Drop privileges if not using standard namelist or kernel file.
...
Submitted by: smpatel (Sujal Patel)
1996-05-30 02:20:10 +00:00
rgrimes
4f960dd75f
Remove trailing whitespace.
1995-05-30 03:57:47 +00:00
jkh
c49122881a
Some miscellaneous bug fixes inspired by Adam Glass's work. Adam's
...
work is actually more comprehensive, but I just took what was needed
for now given our compressed time schedules. Thanks, Adam!
Submitted by: glass
1994-11-19 13:57:21 +00:00
dg
1d409b9b7b
slstats for FBSD 2.0. Copied in the repository from 1.1.5, and then applied
...
patches from John Hay.
Submitted by: John Hay
1994-10-17 06:05:32 +00:00
rich
1b68951309
slstat - report serial line IP statistics: bytes in/out, packets
...
in/out, errors, compressed, and uncompressed packets in/out.
1994-06-17 06:42:39 +00:00