Line data Source code
1 : #ifndef HEADER_fd_src_app_fdctl_run_tiles_fd_quic_tile_h 2 : #define HEADER_fd_src_app_fdctl_run_tiles_fd_quic_tile_h 3 : 4 : #include "fd_tpu.h" 5 : #include "../stem/fd_stem.h" 6 : #include "../../waltz/quic/fd_quic.h" 7 : 8 : typedef struct { 9 : fd_tpu_reasm_t * reasm; 10 : 11 : fd_stem_context_t * stem; 12 : 13 : fd_quic_t * quic; 14 : fd_aio_t quic_tx_aio[1]; 15 : 16 : # define ED25519_PRIV_KEY_SZ (32) 17 0 : # define ED25519_PUB_KEY_SZ (32) 18 : uchar tls_priv_key[ ED25519_PRIV_KEY_SZ ]; 19 : uchar tls_pub_key [ ED25519_PUB_KEY_SZ ]; 20 : fd_sha512_t sha512[1]; /* used for signing */ 21 : 22 : uchar buffer[ FD_NET_MTU ]; 23 : 24 : ulong round_robin_cnt; 25 : ulong round_robin_id; 26 : 27 : fd_wksp_t * in_mem; 28 : ulong in_chunk0; 29 : ulong in_wmark; 30 : 31 : fd_frag_meta_t * net_out_mcache; 32 : ulong * net_out_sync; 33 : ulong net_out_depth; 34 : ulong net_out_seq; 35 : 36 : fd_wksp_t * net_out_mem; 37 : ulong net_out_chunk0; 38 : ulong net_out_wmark; 39 : ulong net_out_chunk; 40 : 41 : fd_wksp_t * verify_out_mem; 42 : 43 : struct { 44 : ulong txns_received_udp; 45 : ulong txns_received_quic_fast; 46 : ulong txns_received_quic_frag; 47 : ulong frag_ok_cnt; 48 : ulong frag_gap_cnt; 49 : ulong frag_dup_cnt; 50 : long reasm_active; 51 : ulong reasm_overrun; 52 : ulong reasm_abandoned; 53 : ulong reasm_started; 54 : ulong udp_pkt_too_small; 55 : ulong udp_pkt_too_large; 56 : ulong quic_pkt_too_small; 57 : ulong quic_txn_too_small; 58 : ulong quic_txn_too_large; 59 : } metrics; 60 : } fd_quic_ctx_t; 61 : 62 : #endif /* HEADER_fd_src_app_fdctl_run_tiles_fd_quic_tile_h */