NatContext Struct Reference

NAT context. More...

#include <nat.h>

Data Fields

bool_t running
 This flag tells whether the NAT is running or not. More...
 
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 context.

Definition at line 191 of file nat.h.

Field Documentation

◆ numPortFwdRules

uint_t numPortFwdRules

Number of port redirection rules.

Definition at line 199 of file nat.h.

◆ numPrivateInterfaces

uint_t numPrivateInterfaces

Number of private interfaces.

Definition at line 197 of file nat.h.

◆ numSessions

uint_t numSessions

Number of NAT sessions.

Definition at line 201 of file nat.h.

◆ portFwdRules

NatPortFwdRule* portFwdRules

Port redirection rules.

Definition at line 198 of file nat.h.

◆ privateInterfaces

Private interfaces.

Definition at line 196 of file nat.h.

◆ publicInterface

NetInterface* publicInterface

Public interface.

Definition at line 194 of file nat.h.

◆ publicIpAddrIndex

uint_t publicIpAddrIndex

Index of the public IP address to use.

Definition at line 195 of file nat.h.

◆ running

bool_t running

This flag tells whether the NAT is running or not.

Definition at line 193 of file nat.h.

◆ sessions

NatSession* sessions

NAT sessions (initiated from a private host)

Definition at line 200 of file nat.h.


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