OpenVAS Scanner  7.0.0~git
openvas_connection Struct Reference
Collaboration diagram for openvas_connection:
Collaboration graph

Data Fields

int fd
 
openvas_encaps_t transport
 
char * priority
 
int timeout
 
int port
 
gnutls_session_t tls_session
 
gnutls_certificate_credentials_t tls_cred
 
pid_t pid
 
char * buf
 
int bufsz
 
int bufcnt
 
int bufptr
 
int last_err
 

Detailed Description

OpenVAS "FILE" structure

Definition at line 75 of file network.c.

Field Documentation

◆ buf

char* openvas_connection::buf

NULL if unbuffered

Definition at line 93 of file network.c.

Referenced by read_stream_connection_min(), release_connection_fd(), and stream_set_buffer().

◆ bufcnt

int openvas_connection::bufcnt

Definition at line 94 of file network.c.

Referenced by read_stream_connection_min(), and stream_set_buffer().

◆ bufptr

int openvas_connection::bufptr

Definition at line 94 of file network.c.

Referenced by read_stream_connection_min(), and stream_set_buffer().

◆ bufsz

int openvas_connection::bufsz

Definition at line 94 of file network.c.

Referenced by read_stream_connection_min(), stream_get_buffer_sz(), and stream_set_buffer().

◆ fd

◆ last_err

◆ pid

pid_t openvas_connection::pid

Owner - for debugging only

Definition at line 91 of file network.c.

Referenced by get_connection_fd(), read_stream_connection_unbuffered(), and release_connection_fd().

◆ port

int openvas_connection::port

◆ priority

char* openvas_connection::priority

Malloced "priority" string for certain transports.

Definition at line 83 of file network.c.

Referenced by open_SSL_connection(), open_stream_connection_ext(), openvas_deregister_connection(), openvas_register_connection(), release_connection_fd(), and socket_negotiate_ssl().

◆ timeout

int openvas_connection::timeout

◆ tls_cred

gnutls_certificate_credentials_t openvas_connection::tls_cred

GnuTLS credentials

Definition at line 89 of file network.c.

Referenced by open_SSL_connection(), openvas_register_connection(), and release_connection_fd().

◆ tls_session

◆ transport


The documentation for this struct was generated from the following file: