myport Struct Reference

Defines a port object. More...


Data Fields

volatile int socket
 Socket used for connection. More...

int type
 Socket type used for connection (UDP/TCP). More...

int family
 Socket family used for connection (INET/UNIX). More...

char * hostname
 Hostname to check. More...

int port
 Portnumber. More...

char * request
 Specific protocol request. More...

char * pathname
 Pathname, in case of an UNIX socket. More...

char * address
 Object used for testing a port's service. More...

myport::myprotocolprotocol
myport * next
 next port in chain. More...


Detailed Description

Defines a port object.

Definition at line 132 of file monitor.h.


Field Documentation

char* myport::address
 

Object used for testing a port's service.

Definition at line 140 of file monitor.h.

int myport::family
 

Socket family used for connection (INET/UNIX).

Definition at line 135 of file monitor.h.

Referenced by create_generic_socket(), and printprocess().

char* myport::hostname
 

Hostname to check.

Definition at line 136 of file monitor.h.

Referenced by create_generic_socket(), and printprocess().

struct myport* myport::next
 

next port in chain.

Definition at line 149 of file monitor.h.

Referenced by printprocess().

char* myport::pathname
 

Pathname, in case of an UNIX socket.

Definition at line 139 of file monitor.h.

Referenced by create_generic_socket(), and printprocess().

int myport::port
 

Portnumber.

Definition at line 137 of file monitor.h.

Referenced by create_generic_socket(), and printprocess().

struct myport::myprotocol * myport::protocol
 

Referenced by printprocess().

char* myport::request
 

Specific protocol request.

Definition at line 138 of file monitor.h.

Referenced by check_http(), and printprocess().

volatile int myport::socket
 

Socket used for connection.

Definition at line 133 of file monitor.h.

Referenced by check_connection_io(), check_ftp(), check_http(), check_imap(), check_nntp(), check_pop(), and check_smtp().

int myport::type
 

Socket type used for connection (UDP/TCP).

Definition at line 134 of file monitor.h.

Referenced by check_connection_io(), and create_generic_socket().


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