Home
last modified time | relevance | path

Searched refs:scid_len (Results 1 – 5 of 5) sorted by relevance

/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()
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()
347 server_name: *const c_char, scid: *const u8, scid_len: size_t, in quiche_connect()
356 let scid = unsafe { slice::from_raw_parts(scid, scid_len) }; in quiche_connect()
367 scid: *const u8, scid_len: size_t, dcid: *const u8, dcid_len: size_t, in quiche_negotiate_version()
370 let scid = unsafe { slice::from_raw_parts(scid, scid_len) }; in quiche_negotiate_version()
[all …]
Dpacket.rs234 let scid_len = b.get_u8()?; in from_bytes() localVariable
235 if crate::version_is_supported(version) && scid_len > MAX_CID_LEN { in from_bytes()
238 let scid = b.get_bytes(scid_len as usize)?.to_vec(); in from_bytes()
/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,
212 size_t scid_len, quiche_config *config);
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/rust/crates/quiche/examples/
Dhttp3-server.c175 static struct conn_io *create_conn(uint8_t *scid, size_t scid_len, in create_conn() argument
183 if (scid_len != LOCAL_CONN_ID_LEN) { in create_conn()
247 size_t scid_len = sizeof(scid); in recv_cb() local
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()
Dserver.c231 size_t scid_len = sizeof(scid); in recv_cb() local
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()