Line data Source code
1 : #ifndef HEADER_fd_src_util_net_fd_gre_h 2 : #define HEADER_fd_src_util_net_fd_gre_h 3 : 4 : #include "../bits/fd_bits.h" 5 : 6 36 : #define FD_GRE_HDR_FLG_VER_BASIC ((ushort)0x0000) 7 : 8 : union fd_gre_hdr { 9 : struct { 10 : ushort flags_version; /* should be FD_GRE_HDR_FLG_VER_BASIC in net order */ 11 : ushort protocol; /* should be FD_ETH_HDR_TYPE_IP in net order */ 12 : }; 13 : uchar uc[4]; 14 : }; 15 : 16 : typedef union fd_gre_hdr fd_gre_hdr_t; 17 : 18 : #endif /* HEADER_fd_src_util_net_fd_gre_h */