NetBSD/sys/netiso
dyoung b3fc296326 Use malloc(9) for sockaddrs instead of pool(9), and remove dom_sa_pool
and dom_sa_len members from struct domain.  Pools of fixed-size
objects are too rigid for sockaddr_dls, whose size can vary over
a wide range.

Return sockaddr_dl to its "historical" size.  Now that I'm using
malloc(9) instead of pool(9) to allocate sockaddr_dl, I can create
a sockaddr_dl of any size in the kernel, so expanding sockaddr_dl
is useless.

Avoid using sizeof(struct sockaddr_dl) in the kernel.

Introduce sockaddr_dl_alloc() for allocating & initializing an
arbitrary sockaddr_dl on the heap.

Add an argument, the sockaddr length, to sockaddr_alloc(),
sockaddr_copy(), and sockaddr_dl_setaddr().

Constify: LLADDR() -> CLLADDR().

Where the kernel overwrites LLADDR(), use sockaddr_dl_setaddr(),
instead.  Used properly, sockaddr_dl_setaddr() will not overrun
the end of the sockaddr.
2007-08-30 02:17:34 +00:00
..
xebec TRUE -> true, FALSE -> false 2007-02-22 06:16:03 +00:00
Makefile
README
argo_debug.h
clnl.h
clnp.h Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +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 Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +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 Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +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 Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +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
clnp_subr.c Take steps to hide the radix_node implementation of the forwarding table 2007-07-19 20:48:52 +00:00
clnp_timer.c
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.h
cons_pcb.h
eonvar.h Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +00:00
esis.c Constify: LLADDR() -> CLLADDR(). 2007-08-29 22:53:35 +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
if_eon.c Replace SDL() and SIN() with "standard" macros satocsdl() and 2007-08-07 04:09:42 +00:00
iso.c Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +00:00
iso.h Use malloc(9) for sockaddrs instead of pool(9), and remove dom_sa_pool 2007-08-30 02:17:34 +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
iso_pcb.c Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +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 malloc(9) for sockaddrs instead of pool(9), and remove dom_sa_pool 2007-08-30 02:17:34 +00:00
iso_snpac.c Use malloc(9) for sockaddrs instead of pool(9), and remove dom_sa_pool 2007-08-30 02:17:34 +00:00
iso_snpac.h
iso_var.h Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +00:00
tp.trans
tp_astring.c
tp_clnp.h
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
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
tp_inet.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_input.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_ip.h
tp_iso.c Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +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
tp_output.c fix typos 2007-04-29 20:23:34 +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 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.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_seq.h
tp_stat.h
tp_states.h
tp_states.init
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_subr2.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
tp_tpdu.h
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
tp_user.h
tp_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
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

README

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