NetBSD/sys/netiso
dyoung 72fa642a86 Poison struct route->ro_rt uses in the kernel by changing the name
to _ro_rt.  Use rtcache_getrt() to access a route cache's struct
rtentry *.

Introduce struct ifnet->if_dl that always points at the interface
identifier/link-layer address.  Make code that treated the first
ifaddr on struct ifnet->if_addrlist as the interface address use
if_dl, instead.

Remove stale debugging code from net/route.c.  Move the rtflush()
code into rtcache_clear() and delete rtflush().  Delete rtalloc(),
because nothing uses it any more.

Make ND6_HINT an inline, lowercase subroutine, nd6_hint.

I've done my best to convert IP Filter, the ISO stack, and the
AppleTalk stack to rtcache_getrt().  They compile, but I have not
tested them.  I have given the changes to PF, GRE, IPv4 and IPv6
stacks a lot of exercise.
2007-12-20 19:53:29 +00:00
..
xebec TRUE -> true, FALSE -> false 2007-02-22 06:16:03 +00:00
argo_debug.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-11 00:01:36 +00:00
clnl.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-11 00:01:36 +00:00
clnp_debug.c KNF: de-__P, bzero -> memset, bcmp -> memcmp. Remove extraneous 2007-02-17 22:34:07 +00:00
clnp_er.c Poison struct route->ro_rt uses in the kernel by changing the name 2007-12-20 19:53:29 +00:00
clnp_frag.c Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +00:00
clnp_input.c Use IFADDR_FOREACH(). 2007-12-04 10:31:14 +00:00
clnp_options.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
clnp_output.c Poison struct route->ro_rt uses in the kernel by changing the name 2007-12-20 19:53:29 +00:00
clnp_raw.c Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +00:00
clnp_stat.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-11 00:01:36 +00:00
clnp_subr.c Poison struct route->ro_rt uses in the kernel by changing the name 2007-12-20 19:53:29 +00:00
clnp_timer.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
clnp.h Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +00:00
cltp_usrreq.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
cltp_var.h KNF: de-__P, bzero -> memset, bcmp -> memcmp. Remove extraneous 2007-02-17 22:34:07 +00:00
cons_pcb.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-11 00:01:36 +00:00
cons.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-11 00:01:36 +00:00
eonvar.h Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +00:00
esis.c Use IFADDR_FOREACH(). 2007-12-04 10:31:14 +00:00
esis.h Take steps to hide the radix_node implementation of the forwarding table 2007-07-19 20:48:52 +00:00
files.netiso Remove netiso/if_cons.c. It depends on x25 stuff that was removed a while 2007-01-11 00:00:41 +00:00
idrp_usrreq.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
idrp_var.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
if_eon.c Poison struct route->ro_rt uses in the kernel by changing the name 2007-12-20 19:53:29 +00:00
iso_chksum.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
iso_errno.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-11 00:01:36 +00:00
iso_pcb.c Poison struct route->ro_rt uses in the kernel by changing the name 2007-12-20 19:53:29 +00:00
iso_pcb.h Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +00:00
iso_proto.c Use struct initializers. No functional change. 2007-12-07 18:49:35 +00:00
iso_snpac.c We cannot sleep in a software interrupt, so do not sockaddr_dl_alloc(..., 2007-09-02 19:42:21 +00:00
iso_snpac.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-11 00:01:36 +00:00
iso_var.h Extract common code, creating a subroutine if_purgeaddrs(ifp, 2007-12-05 23:47:17 +00:00
iso.c Use ifa_insert(), ifa_remove(). 2007-12-06 00:28:36 +00:00
iso.h de-__P()ify 2007-11-21 16:49:08 +00:00
Makefile
README
tp_astring.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
tp_clnp.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-11 00:01:36 +00:00
tp_cons.c Move #include <sys/param.h> that's included in both parts of an #if/#else 2007-03-26 22:49:22 +00:00
tp_driver.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
tp_emit.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
tp_events.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-11 00:01:36 +00:00
tp_inet.c Poison struct route->ro_rt uses in the kernel by changing the name 2007-12-20 19:53:29 +00:00
tp_input.c Do not use insque/remque from libkern; they are about to be removed. 2007-11-09 21:00:05 +00:00
tp_ip.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-11 00:01:36 +00:00
tp_iso.c Poison struct route->ro_rt uses in the kernel by changing the name 2007-12-20 19:53:29 +00:00
tp_meas.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
tp_meas.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-11 00:01:36 +00:00
tp_output.c Do not use insque/remque from libkern; they are about to be removed. 2007-11-09 21:00:05 +00:00
tp_param.h Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
tp_pcb.c Do not use insque/remque from libkern; they are about to be removed. 2007-11-09 21:00:05 +00:00
tp_pcb.h Poison struct route->ro_rt uses in the kernel by changing the name 2007-12-20 19:53:29 +00:00
tp_seq.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-11 00:01:36 +00:00
tp_stat.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-11 00:01:36 +00:00
tp_states.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-11 00:01:36 +00:00
tp_states.init
tp_subr2.c Poison struct route->ro_rt uses in the kernel by changing the name 2007-12-20 19:53:29 +00:00
tp_subr.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
tp_timer.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
tp_timer.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-11 00:01:36 +00:00
tp_tpdu.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-11 00:01:36 +00:00
tp_trace.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
tp_trace.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-11 00:01:36 +00:00
tp_user.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-11 00:01:36 +00:00
tp_usrreq.c Do not use insque/remque from libkern; they are about to be removed. 2007-11-09 21:00:05 +00:00
tp_var.h Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
tp.trans merge ktrace-lwp. 2005-12-11 12:16:03 +00:00

In case you were wondering why this code is still present:

The ISO (or OSI) stack is still in use by many router vendors (e.g., using
IS-IS the OSI equivalent of OSPF, to carry IP routes).

Chris.
chopps@NetBSD.org