The following table shows the network address translation functions with a description of the purpose of each.
| Programming element | Description |
|---|---|
| CreateHandler | This function is called by the NAT driver when a mapping associated with a registered editor is created. |
| CreateTicket | This function creates a port mapping for an inbound session. |
| DataHandler | This function is called by the network address translation (NAT) driver for each packet received during a session controlled by a NAT editor. |
| DeleteHandler | This function is called by the network address translation (NAT) driver when a mapping associated with an editor is removed. |
| DeleteTicket | This function removes a network address translation (NAT) editor port mapping. |
| DisassociateSession | This function stops an editor from editing data on a specific session. |
| EditorDeregister | This function removes the registration from an editor. |
| EditorInitialize | This function allows the OS to initialize the network address translation (NAT) editor. |
| EditSession | This function replaces one range of bytes in a packet with another range of bytes. |
| LogConnectionCreation | This function is used by client dynamic-link libraries (DLLs) that monitor connection creation. |
| LogConnectionDeletion | This function is used by client dynamic-link libraries (DLLs) that monitor connection deletion. |
| LogDroppedPacket | This function is used by client dynamic-link libraries (DLLs) that monitor dropped packets. |
| LogInit | This function is called once to initialize client logging. |
| QueryInfoSession | This function obtains statistics for a session. |
| RegisterEditor | This function allows a network address translation (NAT) editor to register with the NAT driver when a pointer to this function is passed to the EditorInitialize function. |
| TimeoutSession | This function causes a session to time out. |
See Also
Send Feedback on this topic to the authors