5#ifndef _SSL_SESSION_ID_H_
6#define _SSL_SESSION_ID_H_
13#include <netinterface.h>
15#include <crypto/wolfssl/ssl.h>
16#include <crypto/NetBurner/SslSocket.h>
33 inline void SetSession(
IPADDR &ip,
int port, WOLFSSL_SESSION *session,
int ticketLen);
40 WOLFSSL_SESSION *m_session =
nullptr;
41#ifdef HAVE_SESSION_TICKET
46WOLFSSL_SESSION *FindSession(
IPADDR &ipAddr,
int port);
47bool SaveSession(
IPADDR &ipAddr,
int port, WOLFSSL_SESSION *session,
int ticketLen);
48void ClearSession(
IPADDR &ipAddr,
int port);
Used to hold and manipulate IPv4 and IPv6 addresses in dual stack mode.
Definition ipv6_addr.h:41
static IPADDR6 NullIP()
Static function to return a null IPADDR6 object.