2 * netsniff-ng - the packet sniffing beast
3 * Copyright (C) 2009, 2010 Daniel Borkmann
4 * Copyright (C) 2012 Christoph Jaeger <christoph@netsniff-ng.org>
5 * Subject to the GPL, version 2.
11 #include <asm/byteorder.h>
16 #if defined(__LITTLE_ENDIAN_BITFIELD)
17 __extension__
uint8_t h_ihl
:4,
19 #elif defined (__BIG_ENDIAN_BITFIELD)
20 __extension__
uint8_t h_version
:4,
23 # error "Please fix <asm/byteorder.h>"