alpn

alpn

Types and Values

#define MAX_ALPN_PROTOCOLS
#define MAX_ALPN_PROTOCOL_NAME
  alpn_ext_st
extern const hello_ext_entry_st ext_mod_alpn

Description

Functions

Types and Values

MAX_ALPN_PROTOCOLS

#define MAX_ALPN_PROTOCOLS 8

MAX_ALPN_PROTOCOL_NAME

#define MAX_ALPN_PROTOCOL_NAME 32

alpn_ext_st

typedef struct {
	uint8_t protocols[MAX_ALPN_PROTOCOLS][MAX_ALPN_PROTOCOL_NAME];
	unsigned protocol_size[MAX_ALPN_PROTOCOLS];
	unsigned size;
	uint8_t *selected_protocol;
	unsigned selected_protocol_size;
	unsigned flags;
} alpn_ext_st;

ext_mod_alpn

extern const hello_ext_entry_st ext_mod_alpn;