History log of /freebsd-10.1-release/sbin/routed/table.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

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

# 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


# 229778 07-Jan-2012 uqs

Spelling fixes for sbin/


# 190718 05-Apr-2009 phk

Add some consts, remove some unused stuff and other attempts to calm
FlexeLint down.


# 190715 05-Apr-2009 phk

Modernize prototypes (ie: no extern)

Make lots of stuff static.


# 190712 05-Apr-2009 phk

Kick WARNS level up to 6 by fixing various trivial warnings.


# 190711 05-Apr-2009 phk

Use <sys/queue.h> to manage the interface list.


# 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


# 146838 31-May-2005 stefanf

Remove #ident directives, they don't exist on the vendor branch anymore.


# 130498 14-Jun-2004 bms

Ignore kernel routes with the RTF_WASCLONED flag set. This is a slight
modification of a patch which was already applied for BSD/OS in the
Rhyolite.com sources; this file is already off the vendor branch.

PR: bin/57484
Submitted by: Richard Perini


# 128073 09-Apr-2004 markm

Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core, imp


# 126250 25-Feb-2004 bms

Sync HEAD sources to vendor branch import of routed v2.27 from rhyolite.com.
Update <protocols/routed.h> for the MD5 changes requested in bin/35843.
Preserve local changes.

Education by: obrien, markm, pointy-stick
PR: bin/35843 (and doubtless others)


# 108533 01-Jan-2003 schweikh

Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.


# 90868 18-Feb-2002 mike

o Move NTOHL() and associated macros into <sys/param.h>. These are
deprecated in favor of the POSIX-defined lowercase variants.
o Change all occurrences of NTOHL() and associated marcros in the
source tree to use the lowercase function variants.
o Add missing license bits to sparc64's <machine/endian.h>.
Approved by: jake
o Clean up <machine/endian.h> files.
o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>.
o Remove prototypes for non-existent bswapXX() functions.
o Include <machine/endian.h> in <arpa/inet.h> to define the
POSIX-required ntohl() family of functions.
o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>,
and <sys/param.h>.
o Prepend underscores to the ntohl() family to help deal with
complexities associated with having MD (asm and inline) versions, and
having to prevent exposure of these functions in other headers that
happen to make use of endian-specific defines.
o Create weak aliases to the canonical function name to help deal with
third-party software forgetting to include an appropriate header.
o Remove some now unneeded pollution from <sys/types.h>.
o Add missing <arpa/inet.h> includes in userland.

Tested on: alpha, i386
Reviewed by: bde, jake, tmm


# 64526 11-Aug-2000 sheldonh

(null commit)

Reflect that the update to routed-2.22 addresses a problem discussed
in PR bin/16941. The updated release also incorporates our local
buffer overflow fix (implemented differently) and puts us in a
position where we are completely synchronized with the master
distribution, apart from the stupid spammage of the #ident
definitions, which are supposed to indicate the release version,
not individual source file revisions.

This distribution was not moved into contrib because of objections
from wollman. He feels that the software is original Berkeley
code that shouldn't be imported into contrib just because it
has an external maintainer.


# 64483 10-Aug-2000 sheldonh

Resolve conflicts.


# 64131 02-Aug-2000 sheldonh

Resolve conflicts from vendor merge.


# 61186 02-Jun-2000 jlemon

Fix memory leak when route addition fails.

Obtained from: NetBSD


# 58821 30-Mar-2000 shin

Add new rtmsg types which already defined in kernel.


# 58805 29-Mar-2000 shin

Prevent buffer overflow.

PR: bin/17657
Submitted by: tanimura


# 50969 05-Sep-1999 peter

$Revision$ -> $FreeBSD$ (more cleanup needed here)


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 46303 02-May-1999 markm

Merge-o-matic and add a bunch of $Id's


# 37908 28-Jul-1998 charnier

Spelling, add rcsid, remove unused #includes.
Convert 1000000 usec to 1 sec 0 usec.
Use provided safe malloc (rtmalloc()) instead of malloc(): exit on allocation
failure.
Correct use of .Nm
Add usage() and use errx().


# 27503 18-Jul-1997 julian

Check if routed had the same problems that route(1) had.
The answer is not really, but almost.
it sent data that was ok, though it was a hack,
but it was bug-compatible with the kernel on receiving them. This also
had been fixed with a hack.. I hacked it better I think.


# 20342 11-Dec-1996 wollman

Merge from vendor branch.


# 19885 19-Nov-1996 wollman

Merge from vendor branch and use system MD5 library.


# 18322 16-Sep-1996 wollman

Layer on FreeBSD local changes from old routed.


# 18317 16-Sep-1996 wollman

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


# 18316 16-Sep-1996 wollman

Virgin import of new BSD/SGI routed. This update contains a number
of important bug fixes.

Obtained from: Vernon J. Schryver <vjs@mica.denver.sgi.com>