xref: /linux/include/net/gue.h (revision a02001086bbfb4da35d1228bebc2f1b442db455f)
1 #ifndef __NET_GUE_H
2 #define __NET_GUE_H
3 
4 struct 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
24