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
..
2006-09-04 19:24:34 +00:00
2006-11-27 00:35:40 +00:00
2006-11-27 00:35:40 +00:00
2006-12-01 07:06:35 +00:00
2006-11-27 00:35:40 +00:00
2006-06-02 07:50:58 +00:00
2006-11-11 15:02:04 +00:00
2006-11-11 15:02:04 +00:00