src/event/quic/ngx_event_quic_output.h - nginx source code

Macros defined

Source code


  1. /*
  2. * Copyright (C) Nginx, Inc.
  3. */


  4. #ifndef _NGX_EVENT_QUIC_OUTPUT_H_INCLUDED_
  5. #define _NGX_EVENT_QUIC_OUTPUT_H_INCLUDED_


  6. #include <ngx_config.h>
  7. #include <ngx_core.h>


  8. ngx_int_t ngx_quic_output(ngx_connection_t *c);

  9. ngx_int_t ngx_quic_negotiate_version(ngx_connection_t *c,
  10.     ngx_quic_header_t *inpkt);

  11. ngx_int_t ngx_quic_send_stateless_reset(ngx_connection_t *c,
  12.     ngx_quic_conf_t *conf, ngx_quic_header_t *pkt);
  13. ngx_int_t ngx_quic_send_cc(ngx_connection_t *c);
  14. ngx_int_t ngx_quic_send_early_cc(ngx_connection_t *c,
  15.     ngx_quic_header_t *inpkt, ngx_uint_t err, const char *reason);

  16. ngx_int_t ngx_quic_send_retry(ngx_connection_t *c,
  17.     ngx_quic_conf_t *conf, ngx_quic_header_t *pkt);
  18. ngx_int_t ngx_quic_send_new_token(ngx_connection_t *c, ngx_quic_path_t *path);

  19. ngx_int_t ngx_quic_send_ack(ngx_connection_t *c,
  20.     ngx_quic_send_ctx_t *ctx);
  21. ngx_int_t ngx_quic_send_ack_range(ngx_connection_t *c,
  22.     ngx_quic_send_ctx_t *ctx, uint64_t smallest, uint64_t largest);

  23. ngx_int_t ngx_quic_frame_sendto(ngx_connection_t *c, ngx_quic_frame_t *frame,
  24.     size_t min, ngx_quic_path_t *path);
  25. size_t ngx_quic_path_limit(ngx_connection_t *c, ngx_quic_path_t *path,
  26.     size_t size);

  27. #endif /* _NGX_EVENT_QUIC_OUTPUT_H_INCLUDED_ */