tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: "Wire" definitions and __packed
On 04/10/2016 23:06, Joerg Sonnenberger wrote:
> I'd like to addressing this by cutting down on the first set. For this
> purpose, I want to replace many of the __packed attributes in the
> current network headers with CTASSERT of the proper size, especially for
> those structs that are clearly not wire definitions by themselve.
I tested the following structs without packed with the latest dhcpcd
trunk (not yet in NetBSD).
ip
udphdr
arphdr
in_addr
nd_router_advert
nd_opt_hdr
nd_opt_prefix_info
nd_opt_mtu
nd_opt_rdnss
nd_opt_dnssl
Works fine so far.
Roy
Home |
Main Index |
Thread Index |
Old Index