NatSession Struct Reference

NAT session. More...

#include <nat.h>

Data Fields

Ipv4Protocol protocol
 IP protocol (TCP, UDP or ICMP) More...
 
NetInterfaceprivateInterface
 Private interface. More...
 
Ipv4Addr privateIpAddr
 Internal IP address. More...
 
uint16_t privatePort
 Internal TCP or UDP port number. More...
 
uint16_t privateIcmpQueryId
 Internal ICMP query identifier. More...
 
Ipv4Addr publicIpAddr
 External IP address. More...
 
uint16_t publicPort
 External TCP or UDP port number. More...
 
uint16_t publicIcmpQueryId
 External ICMP query identifier. More...
 
Ipv4Addr remoteIpAddr
 Remote IP address. More...
 
uint16_t remotePort
 Remote TCP or UDP port number. More...
 
systime_t timestamp
 Timestamp to manage session timeout. More...
 

Detailed Description

NAT session.

Definition at line 154 of file nat.h.

Field Documentation

◆ privateIcmpQueryId

uint16_t privateIcmpQueryId

Internal ICMP query identifier.

Definition at line 160 of file nat.h.

◆ privateInterface

NetInterface* privateInterface

Private interface.

Definition at line 157 of file nat.h.

◆ privateIpAddr

Ipv4Addr privateIpAddr

Internal IP address.

Definition at line 158 of file nat.h.

◆ privatePort

uint16_t privatePort

Internal TCP or UDP port number.

Definition at line 159 of file nat.h.

◆ protocol

Ipv4Protocol protocol

IP protocol (TCP, UDP or ICMP)

Definition at line 156 of file nat.h.

◆ publicIcmpQueryId

uint16_t publicIcmpQueryId

External ICMP query identifier.

Definition at line 163 of file nat.h.

◆ publicIpAddr

Ipv4Addr publicIpAddr

External IP address.

Definition at line 161 of file nat.h.

◆ publicPort

uint16_t publicPort

External TCP or UDP port number.

Definition at line 162 of file nat.h.

◆ remoteIpAddr

Ipv4Addr remoteIpAddr

Remote IP address.

Definition at line 164 of file nat.h.

◆ remotePort

uint16_t remotePort

Remote TCP or UDP port number.

Definition at line 165 of file nat.h.

◆ timestamp

systime_t timestamp

Timestamp to manage session timeout.

Definition at line 166 of file nat.h.


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