#include <tls.h>
Data Fields | |
| nussl_session * | nufw_client |
| GMutex * | tls_lock |
| in6_addr | peername |
| unsigned char | proto_version |
| gint | usage |
| gboolean | alive |
| time_t | connect_timestamp |
Definition at line 99 of file tls.h.
| gboolean nufw_session_t::alive |
This flag is used to indicate that current session is dead and wait for cleaning (when set to FALSE). This is needed to avoid a structure destruction whereas there is connection_t that depends on it to send answer to nufw server.
Definition at line 121 of file tls.h.
Referenced by tls_nufw_accept().
Definition at line 101 of file tls.h.
Referenced by clean_nufw_session(), tls_nufw_accept(), and treat_nufw_request().
| struct in6_addr nufw_session_t::peername |
Definition at line 109 of file tls.h.
Referenced by create_message_packet(), take_decision(), and tls_nufw_accept().
| unsigned char nufw_session_t::proto_version |
| GMutex* nufw_session_t::tls_lock |
This lock has to be used before any call to gnutls_record function on TLS session pointed by the nufw_session_t
Definition at line 107 of file tls.h.
Referenced by clean_nufw_session(), and tls_nufw_accept().
usage stores the number of packets currently depending of this session for their answer. It is modified by atomic operation.
Definition at line 115 of file tls.h.
Referenced by acquire_nufw_session_by_socket(), get_nufw_session(), and tls_nufw_accept().
1.4.7