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>
18 * BEWARE, it is incorrect. The first 4 bits of flow_lbl
19 * are glued to priority now, forming "class".
22 #if defined(__LITTLE_ENDIAN_BITFIELD)
23 __extension__
uint8_t priority
:4,
25 #elif defined(__BIG_ENDIAN_BITFIELD)
26 __extension__
uint8_t version
:4,
29 # error "Please fix <asm/byteorder.h>"
35 struct in6_addr saddr
;
36 struct in6_addr daddr
;