dp_config Struct Reference

#include <config.h>


Detailed Description

Full Diameter Peer configuration.

Definition at line 106 of file config.h.

Data Fields

str fqdn
 own FQDN
str realm
 own Realm
str identity
 own diameter URI
int vendor_id
 own vendorid
str product_name
 own product name
int accept_unknown_peers
 if to accept connections from peers that are not configured initially
int drop_unknown_peers
 if to drop the peers that are not initially configured on disconnected; usually, you want to do this, unless you want your list of peers to grow and you want to try and connect back to everybody that connected to you before
int tc
 Tc timer duration (30 seconds should be).
int workers
 Number of worker-processes to fork.
int queue_length
 Length of the message queue; when it is filled, the server part will block until workers will finish work on at least one item in the queue.
peer_configpeers
 list of peers
int peers_cnt
 size of the list of peers
acceptor_configacceptors
 list of acceptors
int acceptors_cnt
 size of the list of acceptors
app_configapplications
 list of supporter applications
int applications_cnt
 size of list of supporter applications
routing_tabler_table
 realm routing table


Field Documentation

str dp_config::fqdn

own FQDN

Definition at line 107 of file config.h.

Referenced by AAANewMessage(), Elect(), free_dp_config(), log_dp_config(), and parse_dp_config().

str dp_config::realm

own Realm

Definition at line 108 of file config.h.

Referenced by AAANewMessage(), free_dp_config(), log_dp_config(), and parse_dp_config().

str dp_config::identity

own diameter URI

Definition at line 109 of file config.h.

Referenced by free_dp_config(), generate_sessionID(), and parse_dp_config().

int dp_config::vendor_id

own vendorid

Definition at line 110 of file config.h.

Referenced by I_Snd_CER(), log_dp_config(), parse_dp_config(), and Snd_CEA().

str dp_config::product_name

own product name

Definition at line 111 of file config.h.

Referenced by free_dp_config(), I_Snd_CER(), log_dp_config(), parse_dp_config(), and Snd_CEA().

int dp_config::accept_unknown_peers

if to accept connections from peers that are not configured initially

Definition at line 112 of file config.h.

Referenced by get_peer_from_fqdn(), log_dp_config(), parse_dp_config(), and receive_message().

int dp_config::drop_unknown_peers

if to drop the peers that are not initially configured on disconnected; usually, you want to do this, unless you want your list of peers to grow and you want to try and connect back to everybody that connected to you before

Definition at line 113 of file config.h.

Referenced by log_dp_config(), parse_dp_config(), and peer_timer().

int dp_config::tc

Tc timer duration (30 seconds should be).

Definition at line 117 of file config.h.

Referenced by log_dp_config(), parse_dp_config(), and peer_timer().

int dp_config::workers

Number of worker-processes to fork.

Definition at line 118 of file config.h.

Referenced by cdp_init(), diameter_peer_start(), log_dp_config(), and parse_dp_config().

int dp_config::queue_length

Length of the message queue; when it is filled, the server part will block until workers will finish work on at least one item in the queue.

Definition at line 119 of file config.h.

Referenced by log_dp_config(), parse_dp_config(), and worker_init().

peer_config* dp_config::peers

list of peers

Definition at line 122 of file config.h.

Referenced by free_dp_config(), log_dp_config(), parse_dp_config(), and peer_manager_init().

int dp_config::peers_cnt

size of the list of peers

Definition at line 123 of file config.h.

Referenced by cdp_init(), free_dp_config(), log_dp_config(), parse_dp_config(), and peer_manager_init().

acceptor_config* dp_config::acceptors

list of acceptors

Definition at line 125 of file config.h.

Referenced by acceptor_process(), free_dp_config(), log_dp_config(), and parse_dp_config().

int dp_config::acceptors_cnt

size of the list of acceptors

Definition at line 126 of file config.h.

Referenced by acceptor_process(), free_dp_config(), log_dp_config(), and parse_dp_config().

app_config* dp_config::applications

list of supporter applications

Definition at line 128 of file config.h.

Referenced by free_dp_config(), log_dp_config(), parse_dp_config(), Process_CER(), and Snd_CE_add_applications().

int dp_config::applications_cnt

size of list of supporter applications

Definition at line 129 of file config.h.

Referenced by log_dp_config(), parse_dp_config(), Process_CER(), and Snd_CE_add_applications().

routing_table* dp_config::r_table

realm routing table

Definition at line 131 of file config.h.

Referenced by free_dp_config(), get_routing_peer(), log_dp_config(), and parse_dp_config().


The documentation for this struct was generated from the following file:
Generated on Tue Oct 7 04:15:02 2008 for Open IMS Core CSCFs by  doxygen 1.5.2