ttNtNatEntry
typedef struct tsNtNatEntry
{
ttUserIpAddress ntNatIpPrivate;
ttUserIpAddress ntNatIpPublic;
ttUserIpAddress ntNatIpRemote;
ttUser32Bit ntNatTtl;
ttUserIpPort ntNatIpPrivatePort;
ttUserIpPort ntNatIpPublicPort;
ttUserIpPort ntNatIpRemotePort;
ttUser8Bit ntNatType;
ttUser8Bit ntNatSpawnType;
ttUser8Bit ntNatFlags;
} ttNtNatEntry;
typedef ttNtNatEntry TM_FAR * ttNtNatEntryPtr;
Members
- ntNatIpPrivate
- The private IP address of the trigger.
- ntNatIpPublic
- The public IP address of the trigger.
- ntNatIpRemote
- The remote IP address of the trigger.
- ntNatTtl
- The TTL associated with the trigger.
- ntNatIpPrivatePort
- The private port of the trigger.
- ntNatIpPublicPort
- The public port of the trigger. For NAPT triggers, this parameter holds the minimum number of the associated port range.
- ntNatIpRemotePort
- The remote port of the trigger. For NAPT triggers, this parameter holds the maximum number of the associated port range.
- ntNatType
- The trigger type. Can be one of the following:
- TM_NTRTYPE_STATIC
- TM_NTRTYPE_DYNAMIC
- TM_NTRTYPE_DYNAMIC_OUTBOUND
- TM_NTRTYPE_TCPSESSION
- TM_NTRTYPE_UDPSESSION
- TM_NTRTYPE_ICMPIDSESSION
- TM_NTRTYPE_NAPT
- TM_NTRTYPE_INNERTCPSERVER
- TM_NTRTYPE_INNERUDPSERVER
- TM_NTRTYPE_INNERFTPSERVER
- ntNatSpawnType
- The trigger type for the spawned trigger. Can be one of the following:
- TM_NTRTYPE_STATIC
- TM_NTRTYPE_DYNAMIC
- TM_NTRTYPE_DYNAMIC_OUTBOUND
- TM_NTRTYPE_TCPSESSION
- TM_NTRTYPE_UDPSESSION
- TM_NTRTYPE_ICMPIDSESSION
- TM_NTRTYPE_NAPT
- TM_NTRTYPE_INNERTCPSERVER
- TM_NTRTYPE_INNERUDPSERVER
- TM_NTRTYPE_INNERFTPSERVER
- ntNatFlags
- Can be one of the following:
- TM_NTRFLAG_ACTIVE: The trigger is active.
- TM_NTRFLAG_TCPSEQ: The trigger is performing TCP sequence/ACK number adjustment.
- TM_NTRFLAG_TCPFIN: The trigger has seen a TCP FIN or RST.