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