NAT Port Mapping
B-19
Network Address Translation
Destroy a NAT Entry
NatFree
Syntax
void NatFree( HANDLE hNat );
Parameter(s)
hNat
Handle to NAT entry created with NatNew()
Return Value
nothing
Description
This function frees the supplied NAT entry. It is called to remove a STATIC NAT
entry that is no longer required.
Get a Pointer to a NAT Entry’s NATINFO Structure
NatGetPNI
Syntax
NATINFO NatGetPNI( HANDLE hNat );
Parameter(s)
hNat
Handle to NAT entry created with NatNew()
Return Value
Pointer to NATINFO structure or NULL on error.
Description
This function returns a pointer to the NATINFO structure defined above in sec-
tion B.2.3. It is used mainly by NAT proxy filter callback functions.