History log of /freebsd-10-stable/release/picobsd/tinyware/ns/ns.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 191565 27-Apr-2009 luigi

fix various build errors (missing or wrong return types for
various functions returning void, missing headers, and so on).

MFC after: 4 weeks (not before 7.3 is out, anyways)


# 186119 15-Dec-2008 qingli

This main goals of this project are:
1. separating L2 tables (ARP, NDP) from the L3 routing tables
2. removing as much locking dependencies among these layers as
possible to allow for some parallelism in the search operations
3. simplify the logic in the routing code,

The most notable end result is the obsolescent of the route
cloning (RTF_CLONING) concept, which translated into code reduction
in both IPv4 ARP and IPv6 NDP related modules, and size reduction in
struct rtentry{}. The change in design obsoletes the semantics of
RTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userland
applications such as "arp" and "ndp" have been modified to reflect
those changes. The output from "netstat -r" shows only the routing
entries.

Quite a few developers have contributed to this project in the
past: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, and
Andre Oppermann. And most recently:

- Kip Macy revised the locking code completely, thus completing
the last piece of the puzzle, Kip has also been conducting
active functional testing
- Sam Leffler has helped me improving/refactoring the code, and
provided valuable reviews
- Julian Elischer setup the perforce tree for me and has helped
me maintaining that branch before the svn conversion


# 150636 27-Sep-2005 mlaier

Remove bridge(4) from the tree. if_bridge(4) is a full functional
replacement and has additional features which make it superior.

Discussed on: -arch
Reviewed by: thompsa
X-MFC-after: never (RELENG_6 as transition period)


# 93287 27-Mar-2002 abial

Function declared void shouldn't return any value...


# 87832 13-Dec-2001 luigi

Add a '-l' flag to show CPU load for the various states, similar to what
"top" does (thinking of it, i could have as well used the same format line!)

This only makes sense when "-w" option is also specified, because the
load is computed as the difference between subsequent samples.

I think this (and the "-d" feature which shows differences in the
network statistics counts) would also make sense in the standard
vmstat and netstat.


# 84769 10-Oct-2001 luigi

Add a -d flag to show deltas as opposed to cumulative counters
in interface statistics. Most useful when used with the -w flag e.g.

ns -i -w 1 -d


# 75878 23-Apr-2001 joe

Apply style guidelines (using gident to help).


# 75876 23-Apr-2001 joe

Fix a syntax error.


# 71702 27-Jan-2001 luigi

Add dummy -n option, for compatibility with the standard netstat


# 70911 10-Jan-2001 abial

Fix so that the netmask is displayed correctly when it does not
consist of contiguous bits in little endian format. Before the fix
the netmask of 0xfffffff0 (0xf0ffffff in little endian format) was
displayed /24 instead of /28.

Also, add a missing include.

Submitted by: Maxime Soule <Maxime.Soule@IPricot.com>


# 58423 21-Mar-2000 luigi

Fix bogus reporting of interface names, the field returned
in sdl_data is not 0-terminated


# 50479 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 50186 22-Aug-1999 dwhite

Major PicoBSD update by luigi with some debugging help from myself.

. Now builds on -STABLE (-CURRENT is broken due to bugs)
. etc directory contents centralized instead of in each
type directory (can exclude & override as desired)
. Removed extraneous language files (lang files for rc really necessary?)
. dialog-based build tool with support for custom floppy builds
. MFS image loads as a mfs_root module instead of compiled into kernel

THIS IS BROKEN ON CURRENT. I'll MFC to -STABLE immediately following.
luigi tells me I have an OK from jkh on the MFC.

Submitted by: luigi


# 49653 12-Aug-1999 luigi

Fix a problem in printing interface names.


# 40121 09-Oct-1998 abial

Fix for bad calculation of netmask bits. I'm amazed it worked thus far...


# 38900 07-Sep-1998 abial

* Add code to display statistics continuously, every some seconds.
* Fix a number of mem leaks.
* Update README.

Submitted by: Luigi Rizzo <luigi@iet.unipi.it>


# 38746 02-Sep-1998 abial

Ugh... Small correction to the previous commit.
_Now_ it compiles on 2.2.7...


# 38745 02-Sep-1998 abial

Added code to display interface table and link layer info, as well
as bridging statistics when using Luigi's bridging code.

Also added some ifdef's to (hopefully) get it to compile under 2.2.x

Submitted by: Luigi Rizzo <luigi@iet.unipi.it>


# 38590 27-Aug-1998 abial

This commit was generated by cvs2svn to compensate for changes in r38589,
which included commits to RCS files with non-trunk default branches.


# 38589 27-Aug-1998 abial

Initial import of PicoBSD v0.4 tree.