axa 3.0.2
Farsight Security Advanced Exchange Access (AXA)
|
AXA I/O context. More...
Data Fields | |
axa_io_type_t | type |
type | |
bool | is_rad |
true=server is radd, not srad | |
bool | is_client |
true=client instead of server | |
bool | nonblock |
non-blocking I/O | |
axa_socku_t | su |
peer IP or UDS address | |
char * | addr |
[user@]sshhost, host,port, socket path, or whatever of peer | |
char * | label |
text to label tracing and error messages, close to addr | |
int | bufsize |
SO_RCVBUF and SO_SNDBUF size. | |
int | i_fd |
input to server | |
int | i_events |
needed poll(2) events | |
int | o_fd |
output from server | |
int | o_events |
needed poll(2) events | |
SSL * | ssl |
TLS OpenSSL ssl. | |
char * | openssl_info |
TLS cipher, compression, etc. | |
axa_p_user_t | user |
TLS, TCP or UNIX domain socket. | |
axa_p_user_t | apikey |
apikey | |
bool | connected_tcp |
false if connect() in progress | |
bool | connected |
TLS or other connection made. | |
axa_p_pvers_t | pvers |
protocol version for this server | |
axa_p_hdr_t | recv_hdr |
received header | |
axa_p_body_t * | recv_body |
received body | |
size_t | recv_body_len |
sizeof(recv_hdr) + *recv_body | |
uint8_t * | recv_buf |
unprocessed input data | |
ssize_t | recv_buf_len |
size of recv_buf_data | |
uint8_t * | recv_start |
start of unused in recv_buf_data | |
ssize_t | recv_bytes |
length of unused data | |
uint8_t * | send_buf |
non-blocking output buffer | |
size_t | send_buf_len |
non-blocking output buffer size | |
uint8_t * | send_start |
start of unsent output | |
size_t | send_bytes |
number of unsent bytes | |
struct timeval | alive |
AXA protocol keepalive timer. | |
bool | insecure_conn |
do not use TLS | |
AXA I/O context.
axa_io_type_t axa_io::type |
type
bool axa_io::is_rad |
true=server is radd, not srad
bool axa_io::is_client |
true=client instead of server
bool axa_io::nonblock |
non-blocking I/O
axa_socku_t axa_io::su |
peer IP or UDS address
char* axa_io::addr |
[user@]sshhost, host,port, socket path, or whatever of peer
char* axa_io::label |
text to label tracing and error messages, close to addr
int axa_io::bufsize |
SO_RCVBUF and SO_SNDBUF size.
int axa_io::i_fd |
input to server
int axa_io::i_events |
needed poll(2) events
int axa_io::o_fd |
output from server
int axa_io::o_events |
needed poll(2) events
SSL* axa_io::ssl |
TLS OpenSSL ssl.
char* axa_io::openssl_info |
TLS cipher, compression, etc.
axa_p_user_t axa_io::user |
TLS, TCP or UNIX domain socket.
axa_p_user_t axa_io::apikey |
apikey
bool axa_io::connected_tcp |
false if connect() in progress
bool axa_io::connected |
TLS or other connection made.
axa_p_pvers_t axa_io::pvers |
protocol version for this server
axa_p_hdr_t axa_io::recv_hdr |
received header
axa_p_body_t* axa_io::recv_body |
received body
size_t axa_io::recv_body_len |
sizeof(recv_hdr) + *recv_body
uint8_t* axa_io::recv_buf |
unprocessed input data
ssize_t axa_io::recv_buf_len |
size of recv_buf_data
uint8_t* axa_io::recv_start |
start of unused in recv_buf_data
ssize_t axa_io::recv_bytes |
length of unused data
uint8_t* axa_io::send_buf |
non-blocking output buffer
size_t axa_io::send_buf_len |
non-blocking output buffer size
uint8_t* axa_io::send_start |
start of unsent output
size_t axa_io::send_bytes |
number of unsent bytes
struct timeval axa_io::alive |
AXA protocol keepalive timer.
bool axa_io::insecure_conn |
do not use TLS