NatSettings Struct Reference

NAT settings. More...

#include <nat.h>

Data Fields

NetInterfacepublicInterface
 Public interface. More...
 
uint_t publicIpAddrIndex
 Index of the public IP address to use. More...
 
NetInterfaceprivateInterfaces [NAT_MAX_PRIVATE_INTERFACES]
 Private interfaces. More...
 
uint_t numPrivateInterfaces
 Number of private interfaces. More...
 
NatPortFwdRuleportFwdRules
 Port redirection rules. More...
 
uint_t numPortFwdRules
 Number of port redirection rules. More...
 
NatSessionsessions
 NAT sessions (initiated from a private host) More...
 
uint_t numSessions
 Number of NAT sessions. More...
 

Detailed Description

NAT settings.

Definition at line 174 of file nat.h.

Field Documentation

◆ numPortFwdRules

uint_t numPortFwdRules

Number of port redirection rules.

Definition at line 181 of file nat.h.

◆ numPrivateInterfaces

uint_t numPrivateInterfaces

Number of private interfaces.

Definition at line 179 of file nat.h.

◆ numSessions

uint_t numSessions

Number of NAT sessions.

Definition at line 183 of file nat.h.

◆ portFwdRules

NatPortFwdRule* portFwdRules

Port redirection rules.

Definition at line 180 of file nat.h.

◆ privateInterfaces

Private interfaces.

Definition at line 178 of file nat.h.

◆ publicInterface

NetInterface* publicInterface

Public interface.

Definition at line 176 of file nat.h.

◆ publicIpAddrIndex

uint_t publicIpAddrIndex

Index of the public IP address to use.

Definition at line 177 of file nat.h.

◆ sessions

NatSession* sessions

NAT sessions (initiated from a private host)

Definition at line 182 of file nat.h.


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