summaryrefslogtreecommitdiffstats
path: root/sbin/routed/table.c
Commit message (Collapse)AuthorAgeFilesLines
* Spelling fixes for sbin/uqs2012-01-071-1/+1
|
* Add some consts, remove some unused stuff and other attempts to calmphk2009-04-051-2/+0
| | | | FlexeLint down.
* Modernize prototypes (ie: no extern)phk2009-04-051-4/+5
| | | | Make lots of stuff static.
* Kick WARNS level up to 6 by fixing various trivial warnings.phk2009-04-051-3/+3
|
* Use <sys/queue.h> to manage the interface list.phk2009-04-051-3/+3
|
* This main goals of this project are:qingli2008-12-151-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove #ident directives, they don't exist on the vendor branch anymore.stefanf2005-05-311-1/+0
|
* Ignore kernel routes with the RTF_WASCLONED flag set. This is a slightbms2004-06-151-4/+4
| | | | | | | | 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
* Remove advertising clause from University of California Regent's license,markm2004-04-091-4/+0
| | | | | | per letter dated July 22, 1999. Approved by: core, imp
* Sync HEAD sources to vendor branch import of routed v2.27 from rhyolite.com.bms2004-02-251-29/+45
| | | | | | | | 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)
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-1/+1
| | | | especially in troff files.
* o Move NTOHL() and associated macros into <sys/param.h>. These aremike2002-02-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Resolve conflicts.sheldonh2000-08-101-2/+4
|
* Resolve conflicts from vendor merge.sheldonh2000-08-021-7/+7
|
* Fix memory leak when route addition fails.jlemon2000-06-021-0/+1
| | | | Obtained from: NetBSD
* Add new rtmsg types which already defined in kernel.shin2000-03-301-1/+3
|
* Prevent buffer overflow.shin2000-03-301-2/+3
| | | | | PR: bin/17657 Submitted by: tanimura
* $Revision$ -> $FreeBSD$ (more cleanup needed here)peter1999-09-051-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-2/+2
|
* Merge-o-matic and add a bunch of $Id'smarkm1999-05-021-252/+389
|
* Spelling, add rcsid, remove unused #includes.charnier1998-07-281-9/+11
| | | | | | | | 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().
* Check if routed had the same problems that route(1) had.julian1997-07-181-8/+4
| | | | | | | 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.
* Merge from vendor branch.wollman1996-12-111-21/+25
|
* Merge from vendor branch and use system MD5 library.wollman1996-11-191-40/+60
|
* Layer on FreeBSD local changes from old routed.wollman1996-09-161-1/+8
|
* Virgin import of new BSD/SGI routed. This update contains a numberwollman1996-09-161-0/+1970
of important bug fixes. Obtained from: Vernon J. Schryver <vjs@mica.denver.sgi.com>
OpenPOWER on IntegriCloud