summaryrefslogtreecommitdiffstats
path: root/usr.sbin/slstat
Commit message (Collapse)AuthorAgeFilesLines
* Correct xref to systat(1) which was mispelled as ststat(1) in 1.5.jhb2005-11-291-1/+1
| | | | Submitted by: Björn König bkoenig at cs dot tu-berlin dot de
* Stop embedding struct ifnet at the top of driver softcs. Instead thebrooks2005-06-101-9/+9
| | | | | | | | | | | | | | | | | | | | struct ifnet or the layer 2 common structure it was embedded in have been replaced with a struct ifnet pointer to be filled by a call to the new function, if_alloc(). The layer 2 common structure is also allocated via if_alloc() based on the interface type. It is hung off the new struct ifnet member, if_l2com. This change removes the size of these structures from the kernel ABI and will allow us to better manage them as interfaces come and go. Other changes of note: - Struct arpcom is no longer referenced in normal interface code. Instead the Ethernet address is accessed via the IFP2ENADDR() macro. To enforce this ac_enaddr has been renamed to _ac_enaddr. - The second argument to ether_ifattach is now always the mac address from driver private storage rather than sometimes being ac_enaddr. Reviewed by: sobomax, sam
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived softwareimp2004-08-071-4/+0
| | | | (with permission of addtional copyright holders where appropriate)
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-031-4/+2
|
* style.Makefile(5)obrien2003-04-041-1/+2
|
* WARNS=2, de-__P()alfred2002-07-112-7/+6
|
* The interface index space may be sparsely populated (e.g. when anfenner2001-10-171-1/+5
| | | | | | | 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
* o Reduce userland inclusion of kernel headers -- remove unneeded includerwatson2001-09-241-1/+0
| | | | | | of <sys/mbuf.h>. Reviewed by: jlemon
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+0
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Clarify what the '-r' option does.billf1998-12-031-2/+2
| | | | | PR: docs/8108 Submitted by: Matthew Fuller <fullermd@futuresouth.com>
* Removed bogus #ifdef INET - <net/if_slvar.h> no longer depends on it.bde1998-07-061-3/+1
|
* Hardcode progname in usage string.charnier1997-10-202-11/+10
|
* Revert $FreeBSD$ to $Id$peter1997-02-223-3/+3
|
* Sort cross references.wosch1997-01-201-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-143-3/+3
| | | | | | | | 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.
* Update to match changes in <net/if.h>.wollman1997-01-031-1/+2
|
* Fix up programs which expect <net/if.h> to include <sys/time.h> to insteadwollman1996-12-101-1/+2
| | | | | | 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.
* Fixed recently-introduced bugs:bde1996-11-041-34/+32
| | | | | | | | | - `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.
* The interface number hasn't been a _single_ digit since prehistoric times.bde1996-11-041-3/+5
|
* De-cruftify.wollman1996-10-113-192/+99
| | | | | Use the link MIB interface rather than groveling around in kmem. (No longer works on dead kernels, big deal.)
* Fixed DPADD.bde1996-09-051-2/+2
|
* Convert to mdoc format.mpp1996-08-241-79/+78
|
* Drop privileges if not using standard namelist or kernel file.pst1996-05-301-1/+8
| | | | Submitted by: smpatel (Sujal Patel)
* Fix a bunch of spelling errors in a bunch of man pages.mpp1996-01-301-2/+2
|
* Remove trailing whitespace.rgrimes1995-05-301-3/+3
|
* Change a SLSTAT 1 to SLSTAT 8 .ats1994-12-121-1/+1
|
* Some miscellaneous bug fixes inspired by Adam Glass's work. Adam'sjkh1994-11-191-1/+17
| | | | | | work is actually more comprehensive, but I just took what was needed for now given our compressed time schedules. Thanks, Adam! Submitted by: glass
* Change references from `/386bsd' to `/kernel'gpalmer1994-10-171-2/+2
|
* slstats for FBSD 2.0. Copied in the repository from 1.1.5, and then applieddg1994-10-172-13/+25
| | | | | | patches from John Hay. Submitted by: John Hay
* slstat - report serial line IP statistics: bytes in/out, packetsrich1994-06-173-0/+439
in/out, errors, compressed, and uncompressed packets in/out.
OpenPOWER on IntegriCloud