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

Macros defined

Source code


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


  4. #ifndef _NGX_EVENT_QUIC_ACK_H_INCLUDED_
  5. #define _NGX_EVENT_QUIC_ACK_H_INCLUDED_


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


  8. ngx_int_t ngx_quic_handle_ack_frame(ngx_connection_t *c,
  9.     ngx_quic_header_t *pkt, ngx_quic_frame_t *f);

  10. void ngx_quic_congestion_ack(ngx_connection_t *c,
  11.     ngx_quic_frame_t *frame);
  12. void ngx_quic_resend_frames(ngx_connection_t *c, ngx_quic_send_ctx_t *ctx);
  13. void ngx_quic_set_lost_timer(ngx_connection_t *c);
  14. void ngx_quic_pto_handler(ngx_event_t *ev);
  15. ngx_msec_t ngx_quic_pto(ngx_connection_t *c, ngx_quic_send_ctx_t *ctx);

  16. ngx_int_t ngx_quic_ack_packet(ngx_connection_t *c,
  17.     ngx_quic_header_t *pkt);
  18. ngx_int_t ngx_quic_generate_ack(ngx_connection_t *c,
  19.     ngx_quic_send_ctx_t *ctx);

  20. #endif /* _NGX_EVENT_QUIC_ACK_H_INCLUDED_ */