FD.io VPP  v19.04-6-g6f05f72
Vector Packet Processing
quic.h File Reference
+ Include dependency graph for quic.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  quic_ctx_
 
struct  quic_worker_ctx_
 
struct  quic_main_
 

Macros

#define QUIC_DEBUG   1
 
#define QUIC_DEBUG_LEVEL_CLIENT   0
 
#define QUIC_DEBUG_LEVEL_SERVER   0
 
#define QUIC_DEFAULT_CA_CERT_PATH   "/etc/ssl/certs/ca-certificates.crt"
 
#define QUIC_TIMER_HANDLE_INVALID   ((u32) ~0)
 
#define QUIC_TSTAMP_RESOLUTION   0.001 /* QUIC tick resolution (1ms) */
 
#define QUIC_DBG(_lvl, _fmt, _args...)
 
#define QUIC_CONN_STATE_HANDSHAKE   0
 
#define QUIC_CONN_STATE_READY   1
 

Typedefs

typedef struct quic_ctx_ quic_ctx_t
 
typedef struct quic_worker_ctx_ quic_worker_ctx_t
 
typedef struct quic_main_ quic_main_t
 

Functions

typedef CLIB_PACKED (struct quic_ctx_id_{session_handle_t app_session;session_handle_t quic_session;u32 parent_app_wrk_idx;u32 parent_app_id;u32 listener_ctx_id;u32 timer_handle;quicly_conn_t *conn;u8 udp_is_ip4;u8 conn_state;}) quic_ctx_id_t
 
 STATIC_ASSERT (sizeof(quic_ctx_id_t)<=42,"ctx id must be less than 42")
 
quic_main_tvnet_quic_get_main (void)
 

Macro Definition Documentation

#define QUIC_CONN_STATE_HANDSHAKE   0

Definition at line 45 of file quic.h.

#define QUIC_CONN_STATE_READY   1

Definition at line 46 of file quic.h.

#define QUIC_DBG (   _lvl,
  _fmt,
  _args... 
)
Value:
if (_lvl <= QUIC_DEBUG) \
clib_warning (_fmt, ##_args)
#define QUIC_DEBUG
Definition: quic.h:26
#define clib_warning(format, args...)
Definition: error.h:59

Definition at line 38 of file quic.h.

#define QUIC_DEBUG   1

Definition at line 26 of file quic.h.

#define QUIC_DEBUG_LEVEL_CLIENT   0

Definition at line 27 of file quic.h.

#define QUIC_DEBUG_LEVEL_SERVER   0

Definition at line 28 of file quic.h.

#define QUIC_DEFAULT_CA_CERT_PATH   "/etc/ssl/certs/ca-certificates.crt"

Definition at line 30 of file quic.h.

#define QUIC_TIMER_HANDLE_INVALID   ((u32) ~0)

Definition at line 32 of file quic.h.

#define QUIC_TSTAMP_RESOLUTION   0.001 /* QUIC tick resolution (1ms) */

Definition at line 34 of file quic.h.

Typedef Documentation

typedef struct quic_ctx_ quic_ctx_t
typedef struct quic_main_ quic_main_t

Function Documentation

typedef CLIB_PACKED ( struct quic_ctx_id_{session_handle_t app_session;session_handle_t quic_session;u32 parent_app_wrk_idx;u32 parent_app_id;u32 listener_ctx_id;u32 timer_handle;quicly_conn_t *conn;u8 udp_is_ip4;u8 conn_state;}  )
STATIC_ASSERT ( sizeof(quic_ctx_id_t)<=  42,
"ctx id must be less than 42"   
)
quic_main_t* vnet_quic_get_main ( void  )

Definition at line 1577 of file quic.c.

+ Here is the call graph for this function: