summaryrefslogtreecommitdiff
path: root/sbin/routed/table.c
Commit message (Collapse)AuthorAgeFilesLines
* Ignore kernel routes with the RTF_WASCLONED flag set. This is a slightBruce M Simpson2004-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 Notes: svn path=/head/; revision=130498
* Remove advertising clause from University of California Regent's license,Mark Murray2004-04-091-4/+0
| | | | | | | | | per letter dated July 22, 1999. Approved by: core, imp Notes: svn path=/head/; revision=128073
* Sync HEAD sources to vendor branch import of routed v2.27 from rhyolite.com.Bruce M Simpson2004-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) Notes: svn path=/head/; revision=126250
| * Virgin import of rhyolite.com routed v2.27vendor/SGIBruce M Simpson2004-02-251-30/+45
| | | | | | | | Notes: svn path=/vendor/SGI/dist_v_2_21/; revision=126247
* | Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,Jens Schweikhardt2003-01-011-1/+1
| | | | | | | | | | | | | | especially in troff files. Notes: svn path=/head/; revision=108533
* | o Move NTOHL() and associated macros into <sys/param.h>. These areMike Barcroft2002-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 Notes: svn path=/head/; revision=90868
* | Resolve conflicts.Sheldon Hearn2000-08-101-2/+4
|\| | | | | | | Notes: svn path=/head/; revision=64483
| * Import routed-2.22.vendor/SGI/vjs_20000806Sheldon Hearn2000-08-101-4/+8
| | | | | | | | | | Notes: svn path=/vendor/SGI/dist_v_2_21/; revision=64480 svn path=/vendor/SGI/vjs_20000806/; revision=64482; tag=vendor/SGI/vjs_20000806
* | Resolve conflicts from vendor merge.Sheldon Hearn2000-08-021-7/+7
|\| | | | | | | Notes: svn path=/head/; revision=64131
| * Import routed-2.21.vendor/SGI/vjs_20000721Sheldon Hearn2000-08-021-8/+9
| | | | | | | | | | Notes: svn path=/vendor/SGI/dist_v_2_21/; revision=64127 svn path=/vendor/SGI/vjs_20000721/; revision=64128; tag=vendor/SGI/vjs_20000721
* | Fix memory leak when route addition fails.Jonathan Lemon2000-06-021-0/+1
| | | | | | | | | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=61186
* | Add new rtmsg types which already defined in kernel.Yoshinobu Inoue2000-03-301-1/+3
| | | | | | | | Notes: svn path=/head/; revision=58821
* | Prevent buffer overflow.Yoshinobu Inoue2000-03-301-2/+3
| | | | | | | | | | | | | | | | PR: bin/17657 Submitted by: tanimura Notes: svn path=/head/; revision=58805
* | $Revision$ -> $FreeBSD$ (more cleanup needed here)Peter Wemm1999-09-051-1/+1
| | | | | | | | Notes: svn path=/head/; revision=50969
* | $Id$ -> $FreeBSD$Peter Wemm1999-08-281-2/+2
| | | | | | | | Notes: svn path=/head/; revision=50476
* | Merge-o-matic and add a bunch of $Id'sMark Murray1999-05-021-252/+389
|\| | | | | | | Notes: svn path=/head/; revision=46303
| * Latest-and-greatest routed.vendor/SGI/vjs_990324vendor/SGI/v_2_17Mark Murray1999-05-021-244/+383
| | | | | | | | | | | | | | | | | | | | | | Includes RIPv2 and Router Discovery. Submitted by: Vernon Schryver <vjs@calcite.rhyolite.com> Notes: svn path=/vendor/SGI/dist2/; revision=46286 svn path=/vendor/SGI/tags/v_2_17/; revision=46287; tag=vendor/SGI/v_2_17 svn path=/vendor/SGI/vjs_990324/; revision=46288; tag=vendor/SGI/vjs_990324
| * New version of Vern's routed. This includes more byte-order fixes,vendor/SGI/vjs_961211Garrett Wollman1996-12-111-22/+26
| | | | | | | | | | | | | | | | | | | | | | some MD5 fixes, better tracing, configurable redirect processing, and a fix to split-horizon/poisoned-reverse treatment. Submitted by: Vernon J. Schryver <vjs@mica.denver.sgi.com> Notes: svn path=/vendor/SGI/dist_v_2_21/; revision=20339 svn path=/vendor/SGI/vjs_961211/; revision=20341; tag=vendor/SGI/vjs_961211
| * Latest version of SGI routed courtesy of Vern Schryver. This versionGarrett Wollman1996-11-191-40/+61
| | | | | | | | | | | | | | | | | | | | adds the capability to use MD5 authentication as defined in the latest documents. Submitted by: Vernon J. Schryver <vjs@mica.denver.sgi.com> Notes: svn path=/vendor/SGI/dist2/; revision=19880
* | Spelling, add rcsid, remove unused #includes.Philippe 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(). Notes: svn path=/head/; revision=37908
* | Check if routed had the same problems that route(1) had.Julian Elischer1997-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. Notes: svn path=/head/; revision=27503
* | Merge from vendor branch.Garrett Wollman1996-12-111-21/+25
| | | | | | | | Notes: svn path=/head/; revision=20342
* | Merge from vendor branch and use system MD5 library.Garrett Wollman1996-11-191-40/+60
| | | | | | | | Notes: svn path=/head/; revision=19885
* | Layer on FreeBSD local changes from old routed.Garrett Wollman1996-09-161-1/+8
|/ | | | Notes: svn path=/head/; revision=18322
* Virgin import of new BSD/SGI routed. This update contains a numbervendor/SGI/vjs_960912Garrett Wollman1996-09-161-0/+1970
of important bug fixes. Obtained from: Vernon J. Schryver <vjs@mica.denver.sgi.com> Notes: svn path=/vendor/SGI/dist2/; revision=18316 svn path=/vendor/SGI/vjs_960912/; revision=18318; tag=vendor/SGI/vjs_960912