OpenVAS Scanner 23.40.3
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 62 of file network.c.

Field Documentation

◆ buf

char* openvas_connection::buf

NULL if unbuffered

Definition at line 80 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 81 of file network.c.

Referenced by read_stream_connection_min(), and stream_set_buffer().

◆ bufptr

int openvas_connection::bufptr

Definition at line 81 of file network.c.

Referenced by read_stream_connection_min(), and stream_set_buffer().

◆ bufsz

int openvas_connection::bufsz

Definition at line 81 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 78 of file network.c.

Referenced by 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 70 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 76 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: