FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
tls_picotls.h File Reference
+ Include dependency graph for tls_picotls.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tls_ctx_picotls_
 
struct  tls_listen_ctx_picotls_
 
struct  picotls_main_
 

Macros

#define TLS_RX_LEN(x)   ((x)->rx_content + (x)->rx_len)
 
#define TLS_RX_OFFSET(x)   ((x)->rx_content + (x)->rx_offset)
 
#define TLS_RX_IS_LEFT(x)   ((x)->rx_len != 0 && (x)->rx_len != (x)->rx_offset)
 
#define TLS_RX_LEFT_LEN(x)   ((x)->rx_len - (x)->rx_offset)
 
#define TLS_READ_OFFSET(x)   ((x)->read_buffer.base + (x)->read_buffer_offset)
 
#define TLS_READ_IS_LEFT(x)   ((x)->read_buffer.off != 0 && (x)->read_buffer.off != (x)->read_buffer_offset)
 
#define TLS_READ_LEFT_LEN(x)   ((x)->read_buffer.off - (x)->read_buffer_offset)
 
#define TLS_WRITE_OFFSET(x)   ((x)->write_buffer.base + (x)->write_buffer_offset)
 
#define TLS_WRITE_IS_LEFT(x)   ((x)->write_buffer.off != 0 && (x)->write_buffer.off != (x)->write_buffer_offset)
 

Typedefs

typedef struct tls_ctx_picotls_ picotls_ctx_t
 
typedef struct tls_listen_ctx_picotls_ picotls_listen_ctx_t
 
typedef struct picotls_main_ picotls_main_t
 

Macro Definition Documentation

◆ TLS_READ_IS_LEFT

#define TLS_READ_IS_LEFT (   x)    ((x)->read_buffer.off != 0 && (x)->read_buffer.off != (x)->read_buffer_offset)

Definition at line 16 of file tls_picotls.h.

◆ TLS_READ_LEFT_LEN

#define TLS_READ_LEFT_LEN (   x)    ((x)->read_buffer.off - (x)->read_buffer_offset)

Definition at line 17 of file tls_picotls.h.

◆ TLS_READ_OFFSET

#define TLS_READ_OFFSET (   x)    ((x)->read_buffer.base + (x)->read_buffer_offset)

Definition at line 15 of file tls_picotls.h.

◆ TLS_RX_IS_LEFT

#define TLS_RX_IS_LEFT (   x)    ((x)->rx_len != 0 && (x)->rx_len != (x)->rx_offset)

Definition at line 12 of file tls_picotls.h.

◆ TLS_RX_LEFT_LEN

#define TLS_RX_LEFT_LEN (   x)    ((x)->rx_len - (x)->rx_offset)

Definition at line 13 of file tls_picotls.h.

◆ TLS_RX_LEN

#define TLS_RX_LEN (   x)    ((x)->rx_content + (x)->rx_len)

Definition at line 10 of file tls_picotls.h.

◆ TLS_RX_OFFSET

#define TLS_RX_OFFSET (   x)    ((x)->rx_content + (x)->rx_offset)

Definition at line 11 of file tls_picotls.h.

◆ TLS_WRITE_IS_LEFT

#define TLS_WRITE_IS_LEFT (   x)    ((x)->write_buffer.off != 0 && (x)->write_buffer.off != (x)->write_buffer_offset)

Definition at line 20 of file tls_picotls.h.

◆ TLS_WRITE_OFFSET

#define TLS_WRITE_OFFSET (   x)    ((x)->write_buffer.base + (x)->write_buffer_offset)

Definition at line 19 of file tls_picotls.h.

Typedef Documentation

◆ picotls_ctx_t

◆ picotls_listen_ctx_t

◆ picotls_main_t

typedef struct picotls_main_ picotls_main_t