Public Attributes | List of all members
pcap_rmtauth Struct Reference

This structure keeps the information needed to autheticate the user on a remote machine. More...

#include <remote-ext.h>

Public Attributes

char * password
 Zero-terminated string containing the password that has to be used on the remote machine for authentication. More...
 
int type
 Type of the authentication required. More...
 
char * username
 Zero-terminated string containing the username that has to be used on the remote machine for authentication. More...
 

Detailed Description

This structure keeps the information needed to autheticate the user on a remote machine.

The remote machine can either grant or refuse the access according to the information provided. In case the NULL authentication is required, both 'username' and 'password' can be NULL pointers.

This structure is meaningless if the source is not a remote interface; in that case, the functions which requires such a structure can accept a NULL pointer as well.

Definition at line 338 of file remote-ext.h.

Member Data Documentation

◆ password

char* pcap_rmtauth::password

Zero-terminated string containing the password that has to be used on the remote machine for authentication.

This field is meaningless in case of the RPCAP_RMTAUTH_NULL authentication and it can be NULL.

Definition at line 365 of file remote-ext.h.

◆ type

int pcap_rmtauth::type

Type of the authentication required.

In order to provide maximum flexibility, we can support different types of authentication based on the value of this 'type' variable. The currently supported authentication methods are defined into the Remote Authentication Methods Section.

Definition at line 349 of file remote-ext.h.

◆ username

char* pcap_rmtauth::username

Zero-terminated string containing the username that has to be used on the remote machine for authentication.

This field is meaningless in case of the RPCAP_RMTAUTH_NULL authentication and it can be NULL.

Definition at line 357 of file remote-ext.h.


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


soem
Author(s): Arthur Ketels and M.J.G. van den Molengraft
autogenerated on Wed Mar 2 2022 01:01:49