Lines Matching refs:dcid
780 dcid: Vec<u8>, field
1003 scid: &[u8], dcid: &[u8], out: &mut [u8], in negotiate_version()
1005 packet::negotiate_version(scid, dcid, out) in negotiate_version()
1067 scid: &[u8], dcid: &[u8], new_scid: &[u8], token: &[u8], version: u32, in retry()
1070 packet::retry(scid, dcid, new_scid, token, version, out) in retry()
1138 dcid: Vec::new(), in with_tls()
1261 let mut dcid = [0; 16]; in with_tls() localVariable
1262 rand::rand_bytes(&mut dcid[..]); in with_tls()
1265 &dcid, in with_tls()
1270 conn.dcid.extend_from_slice(&dcid); in with_tls()
1479 if hdr.dcid != self.scid { in recv_single()
1483 if hdr.scid != self.dcid { in recv_single()
1516 &self.dcid, in recv_single()
1550 if packet::verify_retry_integrity(&b, &self.dcid, self.version) in recv_single()
1562 self.odcid = Some(self.dcid.clone()); in recv_single()
1564 self.dcid.resize(hdr.scid.len(), 0); in recv_single()
1565 self.dcid.copy_from_slice(&hdr.scid); in recv_single()
1567 self.rscid = Some(self.dcid.clone()); in recv_single()
1626 &hdr.dcid, in recv_single()
1694 Some(&hdr.dcid), in recv_single()
1726 self.odcid = Some(self.dcid.clone()); in recv_single()
1731 self.dcid.resize(hdr.scid.len(), 0); in recv_single()
1732 self.dcid.copy_from_slice(&hdr.scid); in recv_single()
1738 self.dcid.extend_from_slice(&hdr.scid); in recv_single()
1742 .original_destination_connection_id = Some(hdr.dcid.to_vec()); in recv_single()
2048 dcid: self.dcid.clone(), in send()
2501 Some(&hdr.dcid), in send()
3211 max_len = max_len.saturating_sub(1 + self.dcid.len()); in dgram_max_writable_len()
3673 Some(v) if v != &self.dcid => in process_frame()
4675 dcid: conn.dcid.clone(), in encode_pkt()
4852 len = crate::negotiate_version(&hdr.scid, &hdr.dcid, &mut buf).unwrap(); in version_negotiation()
6117 dcid: pipe.client.dcid.clone(), in invalid_initial_payload()
6500 let odcid = hdr.dcid.to_vec(); in retry()
6509 &hdr.dcid, in retry()
6566 &hdr.dcid, in missing_retry_source_connection_id()
6621 &hdr.dcid, in invalid_retry_source_connection_id()