diff options
author | bz <bz@FreeBSD.org> | 2009-03-01 09:51:50 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2009-03-01 09:51:50 +0000 |
commit | 09ea36e39bdb3780880351eb02b6ebba2bdedff2 (patch) | |
tree | 5d51795984f63eb908894dd855398ad800126fa1 /sys/net/vnet.h | |
parent | 45be9ed4334db5c7016a3cfd17a5bbd1bc8026bc (diff) | |
download | FreeBSD-src-09ea36e39bdb3780880351eb02b6ebba2bdedff2.zip FreeBSD-src-09ea36e39bdb3780880351eb02b6ebba2bdedff2.tar.gz |
Add the infrastructure and expected sizeof() values for each supported
architecture to implement size-guards on the vimage vnet_* structures.
As CTASSERT_EQUAL() needs special compile time options we back it
by CTASSERT() in the default case. Unfortunately CTASSERT() triggers
first, thus add an option to allow compilation with CTASSERT_EQUAL() only.
See the comments how to get new values if you trigger the assert
and what to do in that case.
Reviewed by: rwatson, zec (earlier versions)
Diffstat (limited to 'sys/net/vnet.h')
0 files changed, 0 insertions, 0 deletions