NetBSD/sys/net/agr
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
..
files.agr
ieee8023_slowprotocols.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:21:38 +00:00
ieee8023_tlv.c Replace the Mach-derived boolean_t type with the C99 bool type. A 2007-02-21 22:59:35 +00:00
ieee8023_tlv.h Replace the Mach-derived boolean_t type with the C99 bool type. A 2007-02-21 22:59:35 +00:00
ieee8023ad_impl.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:21:38 +00:00
ieee8023ad_lacp_debug.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
ieee8023ad_lacp_debug.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:21:38 +00:00
ieee8023ad_lacp_impl.h Replace the Mach-derived boolean_t type with the C99 bool type. A 2007-02-21 22:59:35 +00:00
ieee8023ad_lacp_select.c TRUE -> true, FALSE -> false 2007-02-22 06:16:03 +00:00
ieee8023ad_lacp_sm_mux.c Replace the Mach-derived boolean_t type with the C99 bool type. A 2007-02-21 22:59:35 +00:00
ieee8023ad_lacp_sm_ptx.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
ieee8023ad_lacp_sm_rx.c Replace the Mach-derived boolean_t type with the C99 bool type. A 2007-02-21 22:59:35 +00:00
ieee8023ad_lacp_sm_tx.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
ieee8023ad_lacp_sm.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:21:38 +00:00
ieee8023ad_lacp_timer.c const static -> static const 2006-10-22 03:39:43 +00:00
ieee8023ad_lacp.c Constify: LLADDR -> CLLADDR. I'm aiming here to make it easier to 2007-08-26 22:59:08 +00:00
ieee8023ad_lacp.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:21:38 +00:00
ieee8023ad_marker.c TRUE -> true, FALSE -> false 2007-02-22 06:16:03 +00:00
ieee8023ad_marker.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:21:38 +00:00
ieee8023ad.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:21:38 +00:00
if_agr.c Use malloc(9) for sockaddrs instead of pool(9), and remove dom_sa_pool 2007-08-30 02:17:34 +00:00
if_agrether_hash.c agrether_hashmbuf: feed ipv6 flowlabel to hash calculation. 2007-05-05 18:23:23 +00:00
if_agrether.c Constify: LLADDR -> CLLADDR. I'm aiming here to make it easier to 2007-08-26 22:59:08 +00:00
if_agrethervar.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:21:38 +00:00
if_agrioctl.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:21:38 +00:00
if_agrmonitor.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
if_agrsoftc.c fix a typo in a comment. 2005-11-23 09:43:37 +00:00
if_agrsubr.c don't forget to maintain ama_addrs. reported by Coverity via Arnaud Lacombe. 2007-08-02 12:37:47 +00:00
if_agrsubr.h Replace the Mach-derived boolean_t type with the C99 bool type. A 2007-02-21 22:59:35 +00:00
if_agrtimer.c Merge some of the less invasive changes from the vmlocking branch: 2007-07-09 20:51:58 +00:00
if_agrvar_impl.h use mutex. 2007-05-20 07:57:03 +00:00
if_agrvar.h Multiple inclusion protection, as suggested by christos@ on tech-kern@ 2005-12-10 23:21:38 +00:00