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... | |
NetInterface * | publicInterface |
Public interface. More... | |
uint_t | publicIpAddrIndex |
Index of the public IP address to use. More... | |
NetInterface * | privateInterfaces [NAT_MAX_PRIVATE_INTERFACES] |
Private interfaces. More... | |
uint_t | numPrivateInterfaces |
Number of private interfaces. More... | |
NatPortFwdRule * | portFwdRules |
Port redirection rules. More... | |
uint_t | numPortFwdRules |
Number of port redirection rules. More... | |
NatSession * | sessions |
NAT sessions (initiated from a private host) More... | |
uint_t | numSessions |
Number of NAT sessions. More... | |
Detailed Description
Field Documentation
◆ numPortFwdRules
◆ numPrivateInterfaces
◆ numSessions
◆ portFwdRules
NatPortFwdRule* portFwdRules |
◆ privateInterfaces
NetInterface* privateInterfaces[NAT_MAX_PRIVATE_INTERFACES] |
◆ publicInterface
NetInterface* publicInterface |
◆ publicIpAddrIndex
uint_t publicIpAddrIndex |
◆ running
bool_t running |
◆ sessions
NatSession* sessions |
The documentation for this struct was generated from the following file:
- cyclone_tcp/nat/nat.h