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

Macros defined

Source code


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


  4. #ifndef _NGX_EVENT_QUIC_SOCKET_H_INCLUDED_
  5. #define _NGX_EVENT_QUIC_SOCKET_H_INCLUDED_


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


  8. ngx_int_t ngx_quic_open_sockets(ngx_connection_t *c,
  9.     ngx_quic_connection_t *qc, ngx_quic_header_t *pkt);
  10. void ngx_quic_close_sockets(ngx_connection_t *c);

  11. ngx_quic_socket_t *ngx_quic_create_socket(ngx_connection_t *c,
  12.     ngx_quic_connection_t *qc);
  13. ngx_int_t ngx_quic_listen(ngx_connection_t *c, ngx_quic_connection_t *qc,
  14.     ngx_quic_socket_t *qsock);
  15. void ngx_quic_close_socket(ngx_connection_t *c, ngx_quic_socket_t *qsock);

  16. ngx_quic_socket_t *ngx_quic_find_socket(ngx_connection_t *c, uint64_t seqnum);


  17. #endif /* _NGX_EVENT_QUIC_SOCKET_H_INCLUDED_ */