summaryrefslogtreecommitdiffstats
path: root/include/net/gue.h
blob: b6c332788084b8457ac07193354fed96822beba0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef __NET_GUE_H
#define __NET_GUE_H

struct guehdr {
	union {
		struct {
#if defined(__LITTLE_ENDIAN_BITFIELD)
			__u8	hlen:4,
			version:4;
#elif defined (__BIG_ENDIAN_BITFIELD)
			__u8	version:4,
				hlen:4;
#else
#error  "Please fix <asm/byteorder.h>"
#endif
			__u8    next_hdr;
			__u16   flags;
		};
		__u32 word;
	};
};

#endif