NatSession Struct Reference
NAT session. More...
#include <nat.h>
Data Fields | |
Ipv4Protocol | protocol |
IP protocol (TCP, UDP or ICMP) More... | |
NetInterface * | privateInterface |
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
Field Documentation
◆ privateIcmpQueryId
◆ privateInterface
NetInterface* privateInterface |
◆ privateIpAddr
◆ privatePort
◆ protocol
Ipv4Protocol protocol |
◆ publicIcmpQueryId
◆ publicIpAddr
◆ publicPort
◆ remoteIpAddr
◆ remotePort
◆ timestamp
The documentation for this struct was generated from the following file:
- cyclone_tcp/nat/nat.h