mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 07:27:01 +07:00
24 lines
339 B
C
24 lines
339 B
C
|
#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
|