Searched refs:LOCAL_CONN_ID_LEN (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/quiche/examples/ |
D | http3-server.c | 46 #define LOCAL_CONN_ID_LEN 16 macro 66 uint8_t cid[LOCAL_CONN_ID_LEN]; 183 if (scid_len != LOCAL_CONN_ID_LEN) { in create_conn() 187 memcpy(conn_io->cid, scid, LOCAL_CONN_ID_LEN); in create_conn() 189 quiche_conn *conn = quiche_accept(conn_io->cid, LOCAL_CONN_ID_LEN, in create_conn() 202 HASH_ADD(hh, conns->h, cid, LOCAL_CONN_ID_LEN, conn_io); in create_conn() 258 int rc = quiche_header_info(buf, read, LOCAL_CONN_ID_LEN, &version, in recv_cb() 300 uint8_t new_cid[LOCAL_CONN_ID_LEN]; in recv_cb() 302 if (gen_cid(new_cid, LOCAL_CONN_ID_LEN) == NULL) { in recv_cb() 308 new_cid, LOCAL_CONN_ID_LEN, in recv_cb()
|
D | server.c | 46 #define LOCAL_CONN_ID_LEN 16 macro 66 uint8_t cid[LOCAL_CONN_ID_LEN]; 180 memcpy(conn_io->cid, dcid, LOCAL_CONN_ID_LEN); in create_conn() 182 quiche_conn *conn = quiche_accept(conn_io->cid, LOCAL_CONN_ID_LEN, in create_conn() 195 HASH_ADD(hh, conns->h, cid, LOCAL_CONN_ID_LEN, conn_io); in create_conn() 242 int rc = quiche_header_info(buf, read, LOCAL_CONN_ID_LEN, &version, in recv_cb() 284 uint8_t new_cid[LOCAL_CONN_ID_LEN]; in recv_cb() 286 if (gen_cid(new_cid, LOCAL_CONN_ID_LEN) == NULL) { in recv_cb() 292 new_cid, LOCAL_CONN_ID_LEN, in recv_cb()
|
D | client.c | 45 #define LOCAL_CONN_ID_LEN 16 macro 258 uint8_t scid[LOCAL_CONN_ID_LEN]; in main()
|
D | http3-client.c | 45 #define LOCAL_CONN_ID_LEN 16 macro 356 uint8_t scid[LOCAL_CONN_ID_LEN]; in main()
|