Codename Pineapple

Home page | Mailing list | Docs

Last updated: Sat Feb 3 05:02:04 2007

Asterisk developer's documentation :: Codename Pineapple


sip_network Struct Reference

#include <sip3.h>

Collaboration diagram for sip_network:

Collaboration graph
[legend]

Detailed Description

Network interface settings.

Definition at line 1260 of file sip3.h.

Data Fields

in_addr __ourip
sockaddr_in bindaddr
sockaddr_in debugaddr
time_t externexpire
char externhost [MAXHOSTNAMELEN]
sockaddr_in externip
int externrefresh
ast_halocaladdr
ast_mutex_t lock
char networkbuf [SIP_MSG_BUFSIZE]
int ourport
char outboundproxy [MAXHOSTNAMELEN]
sockaddr_in outboundproxyip
int * read_id
unsigned int req_counter
int sipsock


Field Documentation

struct in_addr __ourip
 

Our IP

Definition at line 1269 of file sip3.h.

Referenced by sip_alloc(), sip_poke_peer(), sip_send_mwi_to_peer(), sipsock_init(), transmit_register(), and transmit_response_using_temp().

struct sockaddr_in bindaddr
 

Bind address

Definition at line 1263 of file sip3.h.

Referenced by dialog_activate_media(), reload_config(), reset_ip_interface(), sip_ouraddrfor(), sip_show_settings(), sipsock_init(), sipsocket_open(), and transmit_register().

struct sockaddr_in debugaddr
 

Debugging ???

Definition at line 1272 of file sip3.h.

Referenced by sip_debug_test_addr(), sip_do_debug(), sip_do_debug_device(), and sip_do_debug_ip().

time_t externexpire
 

Expiration time for DNS resolution of externhost

Definition at line 1266 of file sip3.h.

Referenced by reload_config(), reset_ip_interface(), and sip_ouraddrfor().

char externhost[MAXHOSTNAMELEN]
 

Extern host name in case of us being behind NAT

Definition at line 1265 of file sip3.h.

Referenced by reload_config(), reset_ip_interface(), and sip_ouraddrfor().

struct sockaddr_in externip
 

External IP address (outside of NAT)

Definition at line 1264 of file sip3.h.

Referenced by reload_config(), reset_ip_interface(), and sip_ouraddrfor().

int externrefresh
 

How often to re-resolve

Definition at line 1267 of file sip3.h.

Referenced by reload_config(), reset_ip_interface(), and sip_ouraddrfor().

struct ast_ha* localaddr
 

Our local addresses (locanet= )

Definition at line 1268 of file sip3.h.

Referenced by reload_config(), reset_ip_interface(), and sip_ouraddrfor().

ast_mutex_t lock
 

Network private lock

Definition at line 1261 of file sip3.h.

Referenced by sipnet_lock(), and sipnet_unlock().

char networkbuf[SIP_MSG_BUFSIZE]
 

Receive buffer

Definition at line 1275 of file sip3.h.

Referenced by sipsock_read().

int ourport
 

Our port

Definition at line 1270 of file sip3.h.

Referenced by sipnet_ourport(), and sipnet_ourport_set().

char outboundproxy[MAXHOSTNAMELEN]
 

Outbound proxy name or IP in text

Definition at line 1274 of file sip3.h.

Referenced by reload_config().

struct sockaddr_in outboundproxyip
 

First SIP route hop

Definition at line 1271 of file sip3.h.

Referenced by reload_config(), and reset_ip_interface().

int* read_id
 

ID of IO entry for sipsock socket FD

Definition at line 1273 of file sip3.h.

Referenced by do_sip_monitor().

unsigned int req_counter
 

Counter of allocated requests

Definition at line 1276 of file sip3.h.

Referenced by siprequest_alloc(), and siprequest_free().

int sipsock
 

Network socket for this interface

Definition at line 1262 of file sip3.h.

Referenced by __sip_xmit(), close_sip_sockets(), do_sip_monitor(), sipsock_init(), sipsock_read(), sipsocket_initialized(), and sipsocket_open().


The documentation for this struct was generated from the following file:

Asterisk is a trademark for Digium, inc.. | Edvina.net | Asterisk.org | This documentation was generated with Doxygen