src/event/quic/ngx_event_quic_ack.h - nginx

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_congestion_idle(ngx_connection_t *c, ngx_uint_t idle);
  13. void ngx_quic_resend_frames(ngx_connection_t *c, ngx_quic_send_ctx_t *ctx);
  14. void ngx_quic_set_lost_timer(ngx_connection_t *c);
  15. void ngx_quic_pto_handler(ngx_event_t *ev);
  16. ngx_msec_t ngx_quic_pto(ngx_connection_t *c, ngx_quic_send_ctx_t *ctx);

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

  21. #endif /* _NGX_EVENT_QUIC_ACK_H_INCLUDED_ */