Line data Source code
1 : #ifndef HEADER_fd_src_waltz_quic_fd_quic_common_h 2 : #define HEADER_fd_src_waltz_quic_fd_quic_common_h 3 : 4 : #include "../../util/fd_util_base.h" 5 : 6 44163 : #define FD_QUIC_PARSE_FAIL (~(ulong)0) 7 97716 : #define FD_QUIC_ENCODE_FAIL ( ~(ulong)0) 8 : 9 : /* forward decls */ 10 : typedef struct fd_quic fd_quic_t; 11 : typedef struct fd_quic_conn fd_quic_conn_t; 12 : typedef struct fd_quic_config fd_quic_config_t; 13 : typedef struct fd_quic_tls_cfg fd_quic_tls_cfg_t; 14 : typedef struct fd_quic_tls fd_quic_tls_t; 15 : typedef struct fd_quic_tls_hs fd_quic_tls_hs_t; 16 : typedef struct fd_quic_tls_secret fd_quic_tls_secret_t; 17 : typedef struct fd_quic_tls_hs_data fd_quic_tls_hs_data_t; 18 : typedef struct fd_quic_pkt fd_quic_pkt_t; 19 : typedef struct fd_quic_state_private fd_quic_state_t; 20 : struct __attribute__((aligned(16))) fd_quic_range { 21 : /* offset in [ offset_lo, offset_hi ) is considered inside the range */ 22 : /* a zero-initialized range will be empty [0,0) */ 23 : ulong offset_lo; 24 : ulong offset_hi; 25 : }; 26 : 27 : typedef struct fd_quic_range fd_quic_range_t; 28 : 29 : #endif /* HEADER_fd_src_waltz_quic_fd_quic_common_h */