switch_nat.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  switch_nat_type_t { SWITCH_NAT_TYPE_NONE, SWITCH_NAT_TYPE_PMP, SWITCH_NAT_TYPE_UPNP }
enum  switch_nat_ip_proto_t { SWITCH_NAT_UDP, SWITCH_NAT_TCP }

Functions

const char * switch_nat_get_type (void)
void switch_nat_init (switch_memory_pool_t *pool, switch_bool_t mapping)
 Initilize the NAT Traversal System.
void switch_nat_late_init (void)
 Initilize the rest of the NAT Traversal System.
void switch_nat_shutdown (void)
 Shuts down the NAT Traversal System.
char * switch_nat_status (void)
 Returns a list of nat mappings and other status info.
void switch_nat_republish (void)
 Republishes the nap mappings.
void switch_nat_reinit (void)
 re-initializes NAT subsystem
void switch_nat_set_mapping (switch_bool_t mapping)
 Update the setting if port mapping will be created.
switch_status_t switch_nat_add_mapping (switch_port_t port, switch_nat_ip_proto_t proto, switch_port_t *external_port, switch_bool_t sticky)
 Maps a port through the NAT Traversal System.
switch_bool_t switch_nat_is_initialized (void)
 Has the NAT subsystem been initialized.
switch_status_t switch_nat_del_mapping (switch_port_t port, switch_nat_ip_proto_t proto)
 Deletes a NAT mapping.


Generated on Sun May 20 04:00:12 2012 for FreeSWITCH API Documentation by  doxygen 1.4.7