Home
last modified time | relevance | path

Searched refs:scid (Results 1 – 25 of 28) sorted by relevance

12

/external/rust/crates/quiche/src/
Dffi.rs263 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 …]
Dpacket.rs145 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 …]
Dlib.rs783 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/
Dserver.rs187 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 …]
Dhttp3-server.rs195 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 …]
Dclient.c258 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()
Dclient.rs103 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()
Dhttp3-server.c175 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()
Dhttp3-client.c356 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()
Dhttp3-client.rs104 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()
Dserver.c230 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/
Dquiche.h198 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/
Dvquic.c50 unsigned char *scid, in Curl_qlogdir() argument
66 msnprintf(hex, 3, "%02x", scid[i]); in Curl_qlogdir()
Dvquic.h29 unsigned char *scid,
Dquiche.c210 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()
Dquiche.h43 uint8_t scid[QUICHE_MAX_CONN_ID_LEN]; member
Dngtcp2.h48 ngtcp2_cid scid; member
Dngtcp2.c816 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/
Dbluetooth.py164 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/
Dbluetooth.uts70 a = HCI_Hdr()/HCI_ACL_Hdr()/L2CAP_Hdr()/L2CAP_CmdHdr()/L2CAP_ConnReq(scid=1)
/external/llvm/lib/IR/
DValue.cpp48 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/
DValue.cpp53 Value::Value(Type *ty, unsigned scid) in Value() argument
54 : VTy(checkType(ty)), UseList(nullptr), SubclassID(scid), in Value()
/external/rust/crates/quiche/
DREADME.md89 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/
DValue.cpp53 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/
DValue.h199 Value(Type *Ty, unsigned scid);

12