blob: b6c332788084b8457ac07193354fed96822beba0 [file] [log] [blame]
Tom Herbert37dd0242014-10-03 15:48:09 -07001#ifndef __NET_GUE_H
2#define __NET_GUE_H
3
4struct guehdr {
5 union {
6 struct {
7#if defined(__LITTLE_ENDIAN_BITFIELD)
8 __u8 hlen:4,
9 version:4;
10#elif defined (__BIG_ENDIAN_BITFIELD)
11 __u8 version:4,
12 hlen:4;
13#else
14#error "Please fix <asm/byteorder.h>"
15#endif
16 __u8 next_hdr;
17 __u16 flags;
18 };
19 __u32 word;
20 };
21};
22
23#endif