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