• Home
  • Raw
  • Download

Lines Matching defs:Connection

775 pub struct Connection {  struct
777 version: u32,
780 dcid: Vec<u8>,
783 scid: Vec<u8>,
786 trace_id: String,
789 pkt_num_spaces: [packet::PktNumSpace; packet::EPOCH_COUNT],
792 peer_transport_params: TransportParams,
795 local_transport_params: TransportParams,
798 handshake: tls::Handshake,
801 recovery: recovery::Recovery,
804 application_protos: Vec<Vec<u8>>,
807 recv_count: usize,
810 sent_count: usize,
813 rx_data: u64,
816 max_rx_data: u64,
820 max_rx_data_next: u64,
823 almost_full: bool,
826 tx_data: u64,
829 max_tx_data: u64,
833 max_send_bytes: usize,
836 streams: stream::StreamMap,
840 odcid: Option<Vec<u8>>,
844 rscid: Option<Vec<u8>>,
847 token: Option<Vec<u8>>,
850 error: Option<u64>,
853 app_error: Option<u64>,
856 app_reason: Vec<u8>,
859 challenge: Option<Vec<u8>>,
862 blocked_limit: Option<u64>,
865 idle_timer: Option<time::Instant>,
868 draining_timer: Option<time::Instant>,
871 is_server: bool,
874 derived_initial_secrets: bool,
878 did_version_negotiation: bool,
881 did_retry: bool,
884 got_peer_conn_id: bool,
887 verified_peer_address: bool,
890 peer_verified_address: bool,
893 parsed_peer_transport_params: bool,
896 handshake_done_sent: bool,
899 handshake_confirmed: bool,
903 ack_eliciting_sent: bool,
906 closed: bool,
909 grease: bool,
912 keylog: Option<Box<dyn std::io::Write + Send>>,
916 qlog_streamer: Option<qlog::QlogStreamer>,
920 qlogged_peer_params: bool,
946 ) -> Result<Pin<Box<Connection>>> { in accept()
969 ) -> Result<Pin<Box<Connection>>> { in connect()
1118 impl Connection { impl
1121 ) -> Result<Pin<Box<Connection>>> { in new()
1129 ) -> Result<Pin<Box<Connection>>> { in with_tls()
4628 conn: &mut Connection, buf: &mut [u8], len: usize, in recv_send()
4660 conn: &mut Connection, pkt_type: packet::Type, frames: &[frame::Frame], in encode_pkt()
4722 conn: &mut Connection, buf: &mut [u8], len: usize, in decode_pkt()