Home
last modified time | relevance | path

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

12

/third_party/node/deps/ngtcp2/ngtcp2/lib/
Dngtcp2_cid.c59 void ngtcp2_scid_init(ngtcp2_scid *scid, uint64_t seq, const ngtcp2_cid *cid) { in ngtcp2_scid_init() argument
60 scid->pe.index = NGTCP2_PQ_BAD_INDEX; in ngtcp2_scid_init()
61 scid->seq = seq; in ngtcp2_scid_init()
62 scid->cid = *cid; in ngtcp2_scid_init()
63 scid->retired_ts = UINT64_MAX; in ngtcp2_scid_init()
64 scid->flags = NGTCP2_SCID_FLAG_NONE; in ngtcp2_scid_init()
Dngtcp2_log.c39 void ngtcp2_log_init(ngtcp2_log *log, const ngtcp2_cid *scid, in ngtcp2_log_init() argument
42 if (scid) { in ngtcp2_log_init()
43 ngtcp2_encode_hex(log->scid, scid->data, scid->datalen); in ngtcp2_log_init()
45 log->scid[0] = '\0'; in ngtcp2_log_init()
99 timestamp_cast(log->last_ts - log->ts), (const char *)log->scid, "frm", \
103 timestamp_cast(log->last_ts - log->ts), (const char *)log->scid, "pkt", \
107 timestamp_cast(log->last_ts - log->ts), (const char *)log->scid, "cry"
748 uint8_t scid[sizeof(hd->scid.data) * 2 + 1]; in log_pkt_hd() local
766 (const char *)ngtcp2_encode_hex(scid, hd->scid.data, hd->scid.datalen), in log_pkt_hd()
798 timestamp_cast(log->last_ts - log->ts), log->scid, in ngtcp2_log_info()
Dngtcp2_log.h49 uint8_t scid[NGTCP2_MAX_CIDLEN * 2 + 1]; member
89 void ngtcp2_log_init(ngtcp2_log *log, const ngtcp2_cid *scid,
Dngtcp2_conn.c1049 const ngtcp2_cid *scid, const ngtcp2_path *path, in conn_new() argument
1112 ngtcp2_ksl_init(&(*pconn)->scid.set, cid_less, sizeof(ngtcp2_cid), mem); in conn_new()
1114 ngtcp2_pq_init(&(*pconn)->scid.used, retired_ts_less, mem); in conn_new()
1126 ngtcp2_log_init(&(*pconn)->log, scid, settings->log_printf, in conn_new()
1229 ngtcp2_scid_init(scident, 0, scid); in conn_new()
1231 rv = ngtcp2_ksl_insert(&(*pconn)->scid.set, NULL, &scident->cid, scident); in conn_new()
1336 (*pconn)->oscid = *scid; in conn_new()
1375 delete_scid(&(*pconn)->scid.set, mem); in conn_new()
1376 ngtcp2_ksl_free(&(*pconn)->scid.set); in conn_new()
1387 ngtcp2_conn **pconn, const ngtcp2_cid *dcid, const ngtcp2_cid *scid, in ngtcp2_conn_client_new_versioned() argument
[all …]
Dngtcp2_pkt.c111 dest->scid = &data[6 + dcidlen + 1]; in ngtcp2_pkt_decode_version_cid()
135 dest->scid = NULL; in ngtcp2_pkt_decode_version_cid()
142 const ngtcp2_cid *dcid, const ngtcp2_cid *scid, in ngtcp2_pkt_hd_init() argument
152 if (scid) { in ngtcp2_pkt_hd_init()
153 hd->scid = *scid; in ngtcp2_pkt_hd_init()
155 ngtcp2_cid_zero(&hd->scid); in ngtcp2_pkt_hd_init()
308 ngtcp2_cid_init(&dest->scid, p, scil); in ngtcp2_pkt_decode_hd_long()
369 ngtcp2_cid_zero(&dest->scid); in ngtcp2_pkt_decode_hd_short()
387 size_t len = NGTCP2_MIN_LONG_HEADERLEN + hd->dcid.datalen + hd->scid.datalen - in ngtcp2_pkt_encode_hd_long()
419 *p++ = (uint8_t)hd->scid.datalen; in ngtcp2_pkt_encode_hd_long()
[all …]
Dngtcp2_cid.h117 void ngtcp2_scid_init(ngtcp2_scid *scid, uint64_t seq, const ngtcp2_cid *cid);
Dngtcp2_ppe.c56 ppe->len_offset = 1 + 4 + 1 + hd->dcid.datalen + 1 + hd->scid.datalen; in ngtcp2_ppe_encode_hd()
Dngtcp2_conn.h424 } scid; member
Dngtcp2_pkt.h419 const ngtcp2_cid *dcid, const ngtcp2_cid *scid,
/third_party/node/src/quic/
Dpacket.cc248 vec.len + (2 * NGTCP2_MAX_CIDLEN) + path_descriptor.scid.length() + 8; in CreateRetryPacket()
259 path_descriptor.scid, in CreateRetryPacket()
303 path_descriptor.scid, in CreateImmediateConnectionClosePacket()
379 path_descriptor.scid.length() + (sizeof(sv)) + 7; in CreateVersionNegotiationPacket()
394 path_descriptor.scid, in CreateVersionNegotiationPacket()
395 path_descriptor.scid.length(), in CreateVersionNegotiationPacket()
Dpacket.h26 const CID& scid; member
/third_party/nghttp2/src/
Dshrpx_quic_connection_handler.cc74 send_version_negotiation(faddr, vc.version, vc.dcid, vc.dcidlen, vc.scid, in handle_packet()
200 send_connection_close(faddr, hd.version, hd.dcid, hd.scid, remote_addr, in handle_packet()
208 send_retry(faddr, vc.version, vc.dcid, vc.dcidlen, vc.scid, in handle_packet()
238 send_connection_close(faddr, hd.version, hd.dcid, hd.scid, in handle_packet()
269 send_retry(faddr, vc.version, vc.dcid, vc.dcidlen, vc.scid, in handle_packet()
290 send_retry(faddr, vc.version, vc.dcid, vc.dcidlen, vc.scid, in handle_packet()
311 send_retry(faddr, vc.version, vc.dcid, vc.dcidlen, vc.scid, in handle_packet()
Dshrpx_http3_upstream.cc609 ngtcp2_cid scid; in init() local
611 if (generate_quic_connection_id(scid, SHRPX_QUIC_SCIDLEN, in init()
624 auto fd = open_qlog_file(quicconf.upstream.qlog.dir, scid); in init()
704 params.stateless_reset_token, scid, qkm.secret.data(), qkm.secret.size()); in init()
723 rv = ngtcp2_conn_server_new(&conn_, &initial_hd.scid, &scid, &path, in init()
741 quic_connection_handler->add_connection_id(scid, handler_); in init()
1811 vc.dcid, vc.dcidlen, vc.scid, vc.scidlen, in on_read()
2848 const ngtcp2_cid &scid) const { in open_qlog_file()
2856 path += util::format_hex(scid.data, scid.datalen); in open_qlog_file()
Dh2load_quic.cc382 ngtcp2_cid scid, dcid; in quic_init() local
383 if (generate_cid(scid) != 0) { in quic_init()
451 rv = ngtcp2_conn_client_new(&quic.conn, &dcid, &scid, &path, quic_version, in quic_init()
Dshrpx_http3_upstream.h145 int open_qlog_file(const StringRef &dir, const ngtcp2_cid &scid) const;
/third_party/curl/lib/vquic/
Dvquic.h38 unsigned char *scid,
Dcurl_quiche.c99 uint8_t scid[QUICHE_MAX_CONN_ID_LEN]; member
1390 result = Curl_rand(data, ctx->scid, sizeof(ctx->scid)); in cf_connect_start()
1402 ctx->qconn = quiche_conn_new_with_tls((const uint8_t *)ctx->scid, in cf_connect_start()
1403 sizeof(ctx->scid), NULL, 0, in cf_connect_start()
1417 (void)Curl_qlogdir(data, ctx->scid, sizeof(ctx->scid), &qfd); in cf_connect_start()
Dvquic.c545 unsigned char *scid, in Curl_qlogdir() argument
561 msnprintf(hex, 3, "%02x", scid[i]); in Curl_qlogdir()
Dcurl_ngtcp2.c140 ngtcp2_cid scid; member
2440 ctx->scid.datalen = NGTCP2_MAX_CIDLEN; in cf_connect_start()
2441 result = Curl_rand(data, ctx->scid.data, NGTCP2_MAX_CIDLEN); in cf_connect_start()
2445 (void)Curl_qlogdir(data, ctx->scid.data, NGTCP2_MAX_CIDLEN, &qfd); in cf_connect_start()
2469 rc = ngtcp2_conn_client_new(&ctx->qconn, &ctx->dcid, &ctx->scid, in cf_connect_start()
/third_party/node/deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/
Dngtcp2.h1175 ngtcp2_cid scid; member
2313 const uint8_t *scid; member
2480 size_t dcidlen, const uint8_t *scid, size_t scidlen, const uint32_t *sv,
3606 const ngtcp2_cid *scid, uint64_t error_code, const uint8_t *reason,
3638 const ngtcp2_cid *scid, const ngtcp2_cid *odcid, const uint8_t *token,
3688 ngtcp2_conn **pconn, const ngtcp2_cid *dcid, const ngtcp2_cid *scid,
3717 ngtcp2_conn **pconn, const ngtcp2_cid *dcid, const ngtcp2_cid *scid,
/third_party/node/deps/ngtcp2/ngtcp2/crypto/includes/ngtcp2/
Dngtcp2_crypto.h746 const ngtcp2_cid *scid, uint64_t error_code, const uint8_t *reason,
763 const ngtcp2_cid *scid, const ngtcp2_cid *odcid, const uint8_t *token,
/third_party/node/deps/ngtcp2/ngtcp2/crypto/
Dshared.c1222 const ngtcp2_cid *scid, uint64_t error_code, const uint8_t *reason, in ngtcp2_crypto_write_connection_close() argument
1238 initial_secret, scid, in ngtcp2_crypto_write_connection_close()
1261 dest, destlen, version, dcid, scid, error_code, reason, reasonlen, in ngtcp2_crypto_write_connection_close()
1277 const ngtcp2_cid *scid, in ngtcp2_crypto_write_retry() argument
1307 spktlen = ngtcp2_pkt_write_retry(dest, destlen, version, dcid, scid, odcid, in ngtcp2_crypto_write_retry()
1348 ngtcp2_conn_get_client_chosen_version(conn), &hd->scid) != 0) { in ngtcp2_crypto_recv_retry_cb()
/third_party/node/deps/openssl/openssl/apps/
Dcms.c1338 ASN1_STRING *scid; in receipt_request_print() local
1353 CMS_ReceiptRequest_get0_values(rr, &scid, &allorfirst, in receipt_request_print()
1356 idlen = ASN1_STRING_length(scid); in receipt_request_print()
1357 id = (const char *)ASN1_STRING_get0_data(scid); in receipt_request_print()
/third_party/openssl/apps/
Dcms.c1341 ASN1_STRING *scid; in receipt_request_print() local
1356 CMS_ReceiptRequest_get0_values(rr, &scid, &allorfirst, in receipt_request_print()
1359 idlen = ASN1_STRING_length(scid); in receipt_request_print()
1360 id = (const char *)ASN1_STRING_get0_data(scid); in receipt_request_print()
/third_party/skia/third_party/externals/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()

12