Lines Matching refs:quiche_conn
203 typedef struct Connection quiche_conn; typedef
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,
229 quiche_conn *quiche_conn_new_with_tls(const uint8_t *scid, size_t scid_len,
235 bool quiche_conn_set_keylog_path(quiche_conn *conn, const char *path);
238 void quiche_conn_set_keylog_fd(quiche_conn *conn, int fd);
241 bool quiche_conn_set_qlog_path(quiche_conn *conn, const char *path,
245 void quiche_conn_set_qlog_fd(quiche_conn *conn, int fd, const char *log_title,
249 ssize_t quiche_conn_recv(quiche_conn *conn, uint8_t *buf, size_t buf_len);
252 ssize_t quiche_conn_send(quiche_conn *conn, uint8_t *out, size_t out_len);
258 ssize_t quiche_conn_stream_recv(quiche_conn *conn, uint64_t stream_id,
262 ssize_t quiche_conn_stream_send(quiche_conn *conn, uint64_t stream_id,
271 int quiche_conn_stream_shutdown(quiche_conn *conn, uint64_t stream_id,
274 ssize_t quiche_conn_stream_capacity(quiche_conn *conn, uint64_t stream_id);
277 bool quiche_conn_stream_finished(quiche_conn *conn, uint64_t stream_id);
282 quiche_stream_iter *quiche_conn_readable(quiche_conn *conn);
285 quiche_stream_iter *quiche_conn_writable(quiche_conn *conn);
288 uint64_t quiche_conn_timeout_as_nanos(quiche_conn *conn);
291 uint64_t quiche_conn_timeout_as_millis(quiche_conn *conn);
294 void quiche_conn_on_timeout(quiche_conn *conn);
297 int quiche_conn_close(quiche_conn *conn, bool app, uint64_t err,
301 void quiche_conn_application_proto(quiche_conn *conn, const uint8_t **out,
305 bool quiche_conn_is_established(quiche_conn *conn);
309 bool quiche_conn_is_in_early_data(quiche_conn *conn);
312 bool quiche_conn_is_closed(quiche_conn *conn);
320 int quiche_conn_stream_init_application_data(quiche_conn *conn,
325 void *quiche_conn_stream_application_data(quiche_conn *conn, uint64_t stream_id);
355 void quiche_conn_stats(quiche_conn *conn, quiche_stats *out);
358 ssize_t quiche_conn_dgram_max_writable_len(quiche_conn *conn);
361 ssize_t quiche_conn_dgram_recv(quiche_conn *conn, uint8_t *buf,
365 ssize_t quiche_conn_dgram_send(quiche_conn *conn, const uint8_t *buf,
369 void quiche_conn_dgram_purge_outgoing(quiche_conn *conn,
373 void quiche_conn_free(quiche_conn *conn);
450 quiche_h3_conn *quiche_h3_accept(quiche_conn *quiche_conn,
454 quiche_h3_conn *quiche_h3_conn_new_with_transport(quiche_conn *quiche_conn,
468 int quiche_h3_conn_poll(quiche_h3_conn *conn, quiche_conn *quic_conn,
501 int64_t quiche_h3_send_request(quiche_h3_conn *conn, quiche_conn *quic_conn,
506 int quiche_h3_send_response(quiche_h3_conn *conn, quiche_conn *quic_conn,
512 quiche_conn *quic_conn, uint64_t stream_id,
517 ssize_t quiche_h3_send_body(quiche_h3_conn *conn, quiche_conn *quic_conn,
522 ssize_t quiche_h3_recv_body(quiche_h3_conn *conn, quiche_conn *quic_conn,
526 ssize_t quiche_h3_send_dgram(quiche_h3_conn *conn, quiche_conn *quic_conn,
530 ssize_t quiche_h3_recv_dgram(quiche_h3_conn *conn, quiche_conn *quic_conn,