1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys/net
Warner Losh a20538a08a Use CTASSERT to make sure:
sizeof ether_header is 2 * ETHER_ADDR_LEN + 2 (14) bytes long
	sizeof ether_addr is ETHER_ADDR_LEN bytes long

On arm, this shows that struct ether_addr needs to be __packed.

The first condition muts be true for the bridging code to not dump core.
The second one appears to be implicitly relied upon by wi (but many
of the rids it sends down likely need __packed too to be safe) and
maybe others.  It appears to not hurt anything.
2006-12-01 07:06:35 +00:00
..
bpf_compat.h
bpf_filter.c
bpf_jitter.c
bpf_jitter.h
bpf.c Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
bpf.h
bpfdesc.h
bridgestp.c Sync with the OpenBSD port of RSTP 2006-11-27 00:35:40 +00:00
bridgestp.h Sync with the OpenBSD port of RSTP 2006-11-27 00:35:40 +00:00
bsd_comp.c Complete break-out of sys/sys/mac.h into sys/security/mac/mac_framework.h 2006-10-22 11:52:19 +00:00
ethernet.h Use CTASSERT to make sure: 2006-12-01 07:06:35 +00:00
fddi.h
firewire.h
if_arc.h
if_arcsubr.c
if_arp.h
if_atm.h
if_atmsubr.c Complete break-out of sys/sys/mac.h into sys/security/mac/mac_framework.h 2006-10-22 11:52:19 +00:00
if_bridge.c Sync with the OpenBSD port of RSTP 2006-11-27 00:35:40 +00:00
if_bridgevar.h Sync with the OpenBSD port of RSTP 2006-11-27 00:35:40 +00:00
if_clone.c
if_clone.h
if_disc.c
if_dl.h
if_ef.c
if_enc.c
if_ethersubr.c Currently, drivers that support hardware offload of VLAN tag 2006-11-18 23:17:22 +00:00
if_faith.c
if_fddisubr.c Complete break-out of sys/sys/mac.h into sys/security/mac/mac_framework.h 2006-10-22 11:52:19 +00:00
if_fwsubr.c Complete break-out of sys/sys/mac.h into sys/security/mac/mac_framework.h 2006-10-22 11:52:19 +00:00
if_gif.c Complete break-out of sys/sys/mac.h into sys/security/mac/mac_framework.h 2006-10-22 11:52:19 +00:00
if_gif.h
if_gre.c Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
if_gre.h
if_iso88025subr.c Complete break-out of sys/sys/mac.h into sys/security/mac/mac_framework.h 2006-10-22 11:52:19 +00:00
if_llc.h
if_loop.c
if_media.c
if_media.h
if_mib.c
if_mib.h
if_ppp.c Teach an IPv6 to ppp(4). 2006-11-11 15:02:04 +00:00
if_ppp.h
if_pppvar.h Teach an IPv6 to ppp(4). 2006-11-11 15:02:04 +00:00
if_sl.c Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
if_slvar.h
if_sppp.h
if_spppfr.c
if_spppsubr.c
if_stf.c Complete break-out of sys/sys/mac.h into sys/security/mac/mac_framework.h 2006-10-22 11:52:19 +00:00
if_stf.h
if_tap.c Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
if_tap.h
if_tapvar.h
if_tun.c Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
if_tun.h
if_types.h
if_var.h
if_vlan_var.h
if_vlan.c
if.c The recent issues with em(4) interface has shown that the old 4.4BSD 2006-11-30 15:02:01 +00:00
if.h
iso88025.h
netisr.c Change net.isr.direct from defaulting to 0 to 1 in 7-CURRENT. This 2006-11-28 11:19:36 +00:00
netisr.h
pfil.c
pfil.h
pfkeyv2.h
ppp_comp.h
ppp_deflate.c
ppp_defs.h
ppp_tty.c Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
radix.c
radix.h
raw_cb.c
raw_cb.h
raw_usrreq.c Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
route.c Initialize a local variable in 2 places just before it is used, not always 2006-11-23 05:57:15 +00:00
route.h
rtsock.c Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
slcompress.c
slcompress.h
slip.h
zlib.c
zlib.h