dyoung
95edb940c2
Get rid of radix_node_head.rnh_walktree, because it is only ever
...
set to rn_walktree.
Introduce rt_walktree(), which applies a subroutine to every route
in a particular address family. Use it instead of rn_walktree()
virtually everywhere. This helps to hide the routing table
implementation.
2007-06-09 03:07:21 +00:00
dyoung
7cfeb3c2ed
Clean this code up some.
...
Extract subroutine rn_delete1() to ease RADIX_MPATH integration,
should we ever do that.
Remove RN_DEBUG code that does not compile.
Join some lines of the type
type var1;
type var2;
type var3;
making
type var1, var2, var3.
Break lines of the type if (expr) stmt1; else stmt2; so that normal
people can read them.
2007-02-17 07:46:38 +00:00
christos
a4b205c85a
don't leak kernel variable declarations to userland.
2006-10-22 20:55:09 +00:00
elad
976bf6cfdd
Multiple inclusion protection, as suggested by christos@ on tech-kern@
...
few days ago.
2005-12-10 23:21:38 +00:00
christos
333e176687
- sprinkle const
...
- remove unneeded casts
- use more mem*() instead of b*() funcs.
2005-05-29 21:22:52 +00:00
matt
7cf8938ddd
ANSI-fy and some additional de-__P and constification.
2004-04-21 21:03:43 +00:00
matt
e3b919c754
Constify if.c radix.c and route.c (and fix related fallout).
2004-04-21 04:17:28 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
itojun
60fa2b29af
fix typo in function name (rn_satsifies_leaf -> satisfies). indent.
...
split rn_inithead() into two function - i'm putting some hook around here.
2000-12-17 10:23:19 +00:00
itojun
ad037eb274
avoid namespace pollution by radix.h. the #ifndef _KERNEL portion was to
...
use radix.c in userland compilation, however, noone is using it.
(routed has its own radix.c)
2000-11-06 11:07:37 +00:00
christos
964633009c
Sync with Lite2.
1997-04-02 21:17:28 +00:00
christos
206e75c6f1
Net prototypes
1996-02-13 21:59:53 +00:00
mycroft
0181b81de4
Newer version from CSRG.
1995-05-17 15:50:06 +00:00
jtc
7c04233887
KERNEL -> _KERNEL
1995-03-26 20:23:52 +00:00
cgd
cf92afd66e
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:29:24 +00:00
mycroft
07b4f2ab54
Update to 4.4-Lite networking code, with a few local changes.
1994-05-13 06:02:48 +00:00
cgd
a82018489a
add rcs ids to everything, and clean up headers
1993-05-20 03:05:46 +00:00
mycroft
235bd1db44
Add consistent multiple-inclusion protection.
1993-04-19 03:45:34 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00