# Authentication methods supported by the RPCAP protocol
[Exported Structures and Definitions]

## Defines
#define | RPCAP_RMTAUTH_NULL 0
| It defines the NULL authentication.
#define | RPCAP_RMTAUTH_PWD 1
| It defines the username/password authentication.

## Define Documentation

#define RPCAP_RMTAUTH_NULL 0

It defines the NULL authentication.

This value has to be used within the 'type' member of the pcap_rmtauth structure. The 'NULL' authentication has to be equal to 'zero', so that old applications can just put every field of struct pcap_rmtauth to zero, and it does work.

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

#define RPCAP_RMTAUTH_PWD 1

It defines the username/password authentication.

With this type of authentication, the RPCAP protocol will use the username/ password provided to authenticate the user on the remote machine. If the authentication is successful (and the user has the right to open network devices) the RPCAP connection will continue; otherwise it will be dropped.

This value has to be used within the 'type' member of the pcap_rmtauth structure.

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

documentation. Copyright (c) 2002-2005 Politecnico di Torino. Copyright (c) 2005-2009 CACE Technologies. All rights reserved.