/external/rust/crates/quiche/src/ |
D | ffi.rs | 263 scid: *mut u8, scid_len: *mut size_t, dcid: *mut u8, dcid_len: *mut size_t, in quiche_header_info() 285 if *scid_len < hdr.scid.len() { in quiche_header_info() 289 let scid = slice::from_raw_parts_mut(scid, *scid_len); in quiche_header_info() localVariable 290 let scid = &mut scid[..hdr.scid.len()]; in quiche_header_info() localVariable 291 scid.copy_from_slice(&hdr.scid); in quiche_header_info() 293 *scid_len = hdr.scid.len(); in quiche_header_info() 327 scid: *const u8, scid_len: size_t, odcid: *const u8, odcid_len: size_t, in quiche_accept() 330 let scid = unsafe { slice::from_raw_parts(scid, scid_len) }; in quiche_accept() localVariable 338 match accept(scid, odcid, config) { in quiche_accept() 347 server_name: *const c_char, scid: *const u8, scid_len: size_t, in quiche_connect() [all …]
|
D | packet.rs | 145 pub scid: Vec<u8>, field 204 scid: Vec::new(), in from_bytes() 238 let scid = b.get_bytes(scid_len as usize)?.to_vec(); in from_bytes() localVariable 278 scid, in from_bytes() 332 out.put_u8(self.scid.len() as u8)?; in to_bytes() 333 out.put_bytes(&self.scid)?; in to_bytes() 385 for b in &self.scid { in fmt() 579 scid: &[u8], dcid: &[u8], out: &mut [u8], in negotiate_version() 588 b.put_u8(scid.len() as u8)?; in negotiate_version() 589 b.put_bytes(&scid)?; in negotiate_version() [all …]
|
D | lib.rs | 783 scid: Vec<u8>, field 945 scid: &[u8], odcid: Option<&[u8]>, config: &mut Config, in accept() 947 let conn = Connection::new(scid, odcid, config, true)?; in accept() 968 server_name: Option<&str>, scid: &[u8], config: &mut Config, in connect() 970 let conn = Connection::new(scid, None, config, false)?; in connect() 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() 1120 scid: &[u8], odcid: Option<&[u8]>, config: &mut Config, is_server: bool, in new() [all …]
|
/external/rust/crates/quiche/examples/ |
D | server.rs | 187 quiche::negotiate_version(&hdr.scid, &hdr.dcid, &mut out) in main() 203 let mut scid = [0; quiche::MAX_CONN_ID_LEN]; in main() localVariable 204 scid.copy_from_slice(&conn_id); in main() 216 &hdr.scid, in main() 218 &scid, in main() 247 if scid.len() != hdr.dcid.len() { in main() 254 scid.copy_from_slice(&hdr.dcid); in main() 259 hex_dump(&scid) in main() 262 let conn = quiche::accept(&scid, odcid, &mut config).unwrap(); in main() 269 clients.insert(scid.to_vec(), (src, client)); in main() [all …]
|
D | http3-server.rs | 195 quiche::negotiate_version(&hdr.scid, &hdr.dcid, &mut out) in main() 211 let mut scid = [0; quiche::MAX_CONN_ID_LEN]; in main() localVariable 212 scid.copy_from_slice(&conn_id); in main() 224 &hdr.scid, in main() 226 &scid, in main() 255 if scid.len() != hdr.dcid.len() { in main() 262 scid.copy_from_slice(&hdr.dcid); in main() 267 hex_dump(&scid) in main() 270 let conn = quiche::accept(&scid, odcid, &mut config).unwrap(); in main() 278 clients.insert(scid.to_vec(), (src, client)); in main() [all …]
|
D | client.c | 258 uint8_t scid[LOCAL_CONN_ID_LEN]; in main() local 265 ssize_t rand_len = read(rng, &scid, sizeof(scid)); in main() 271 quiche_conn *conn = quiche_connect(host, (const uint8_t *) scid, in main() 272 sizeof(scid), config); in main()
|
D | client.rs | 103 let mut scid = [0; quiche::MAX_CONN_ID_LEN]; in main() localVariable 104 SystemRandom::new().fill(&mut scid[..]).unwrap(); in main() 107 let mut conn = quiche::connect(url.domain(), &scid, &mut config).unwrap(); in main() 113 hex_dump(&scid) in main()
|
D | http3-server.c | 175 static struct conn_io *create_conn(uint8_t *scid, size_t scid_len, in create_conn() argument 187 memcpy(conn_io->cid, scid, LOCAL_CONN_ID_LEN); in create_conn() 246 uint8_t scid[QUICHE_MAX_CONN_ID_LEN]; in recv_cb() local 247 size_t scid_len = sizeof(scid); in recv_cb() 259 &type, scid, &scid_len, dcid, &dcid_len, in recv_cb() 272 ssize_t written = quiche_negotiate_version(scid, scid_len, in recv_cb() 306 ssize_t written = quiche_retry(scid, scid_len, in recv_cb()
|
D | http3-client.c | 356 uint8_t scid[LOCAL_CONN_ID_LEN]; in main() local 363 ssize_t rand_len = read(rng, &scid, sizeof(scid)); in main() 369 quiche_conn *conn = quiche_connect(host, (const uint8_t *) scid, in main() 370 sizeof(scid), config); in main()
|
D | http3-client.rs | 104 let mut scid = [0; quiche::MAX_CONN_ID_LEN]; in main() localVariable 105 SystemRandom::new().fill(&mut scid[..]).unwrap(); in main() 108 let mut conn = quiche::connect(url.domain(), &scid, &mut config).unwrap(); in main() 114 hex_dump(&scid) in main()
|
D | server.c | 230 uint8_t scid[QUICHE_MAX_CONN_ID_LEN]; in recv_cb() local 231 size_t scid_len = sizeof(scid); in recv_cb() 243 &type, scid, &scid_len, dcid, &dcid_len, in recv_cb() 256 ssize_t written = quiche_negotiate_version(scid, scid_len, in recv_cb() 290 ssize_t written = quiche_retry(scid, scid_len, in recv_cb()
|
/external/rust/crates/quiche/include/ |
D | quiche.h | 198 uint8_t *scid, size_t *scid_len, 206 quiche_conn *quiche_accept(const uint8_t *scid, size_t scid_len, 211 quiche_conn *quiche_connect(const char *server_name, const uint8_t *scid, 215 ssize_t quiche_negotiate_version(const uint8_t *scid, size_t scid_len, 220 ssize_t quiche_retry(const uint8_t *scid, size_t scid_len, 229 quiche_conn *quiche_conn_new_with_tls(const uint8_t *scid, size_t scid_len,
|
/external/curl/lib/vquic/ |
D | vquic.c | 50 unsigned char *scid, in Curl_qlogdir() argument 66 msnprintf(hex, 3, "%02x", scid[i]); in Curl_qlogdir()
|
D | vquic.h | 29 unsigned char *scid,
|
D | quiche.c | 210 result = Curl_rand(data, qs->scid, sizeof(qs->scid)); in Curl_quic_connect() 219 qs->conn = quiche_connect(conn->host.name, (const uint8_t *) qs->scid, in Curl_quic_connect() 220 sizeof(qs->scid), qs->cfg); in Curl_quic_connect() 233 (void)Curl_qlogdir(data, qs->scid, sizeof(qs->scid), &qfd); in Curl_quic_connect()
|
D | quiche.h | 43 uint8_t scid[QUICHE_MAX_CONN_ID_LEN]; member
|
D | ngtcp2.h | 48 ngtcp2_cid scid; member
|
D | ngtcp2.c | 816 qs->scid.datalen = NGTCP2_MAX_CIDLEN; in Curl_quic_connect() 817 result = Curl_rand(data, qs->scid.data, NGTCP2_MAX_CIDLEN); in Curl_quic_connect() 821 (void)Curl_qlogdir(data, qs->scid.data, NGTCP2_MAX_CIDLEN, &qfd); in Curl_quic_connect() 834 rc = ngtcp2_conn_client_new(&qs->qconn, &qs->dcid, &qs->scid, &path, in Curl_quic_connect()
|
/external/scapy/scapy/layers/ |
D | bluetooth.py | 164 return isinstance(other, L2CAP_ConnReq) and self.dcid == other.scid 185 return isinstance(other, L2CAP_ConfReq) and self.scid == other.dcid 198 return self.scid == other.scid
|
/external/scapy/test/ |
D | bluetooth.uts | 70 a = HCI_Hdr()/HCI_ACL_Hdr()/L2CAP_Hdr()/L2CAP_CmdHdr()/L2CAP_ConnReq(scid=1)
|
/external/llvm/lib/IR/ |
D | Value.cpp | 48 Value::Value(Type *ty, unsigned scid) in Value() argument 49 : VTy(checkType(ty)), UseList(nullptr), SubclassID(scid), in Value()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Value.cpp | 53 Value::Value(Type *ty, unsigned scid) in Value() argument 54 : VTy(checkType(ty)), UseList(nullptr), SubclassID(scid), in Value()
|
/external/rust/crates/quiche/ |
D | README.md | 89 let conn = quiche::connect(Some(&server_name), &scid, &mut config)?; 92 let conn = quiche::accept(&scid, None, &mut config)?;
|
/external/llvm-project/llvm/lib/IR/ |
D | Value.cpp | 53 Value::Value(Type *ty, unsigned scid) in Value() argument 54 : VTy(checkType(ty)), UseList(nullptr), SubclassID(scid), HasValueHandle(0), in Value()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Value.h | 199 Value(Type *Ty, unsigned scid);
|