Wed Oct 28 11:54:07 2009

Asterisk developer's documentation


dundi_peer Struct Reference

Collaboration diagram for dundi_peer:

Collaboration graph
[legend]

Data Fields

struct sockaddr_in addr
int avgms
int dead
unsigned int dynamic:1
dundi_eid eid
struct permissionlist include
char inkey [80]
time_t keyexpire
int lastms
struct {
   struct dundi_peer *   next
list
char * lookups [DUNDI_TIMING_HISTORY]
int lookuptimes [DUNDI_TIMING_HISTORY]
int maxms
int model
int order
char outkey [80]
int pcmodel
struct dundi_peer::permissionlist permit
int qualifyid
struct dundi_transactionqualtrans
struct timeval qualtx
int registerexpire
int registerid
struct dundi_transactionregtrans
unsigned char rxenckey [256]
int sentfullkey
ast_aes_decrypt_key them_dcx
ast_aes_encrypt_key them_ecx
uint32_t them_keycrc32
unsigned char txenckey [256]
ast_aes_decrypt_key us_dcx
ast_aes_encrypt_key us_ecx
dundi_eid us_eid
uint32_t us_keycrc32

Data Structures

struct  permissionlist

Detailed Description

Definition at line 217 of file pbx_dundi.c.


Field Documentation

struct sockaddr_in addr [read]

int avgms

Definition at line 242 of file pbx_dundi.c.

Referenced by destroy_trans(), dundi_flush(), dundi_show_peer(), and dundi_show_peers().

int dead

Definition at line 225 of file pbx_dundi.c.

Referenced by build_peer(), mark_peers(), and prune_peers().

unsigned int dynamic

Dynamic peers register with us

Definition at line 248 of file pbx_dundi.c.

Referenced by build_peer(), dundi_show_peer(), dundi_show_peers(), and handle_command_response().

struct permissionlist include [read]

char inkey[80]

time_t keyexpire

When to expire/recreate key

Definition at line 238 of file pbx_dundi.c.

Referenced by update_key().

int lastms

Last measured latency

Definition at line 249 of file pbx_dundi.c.

Referenced by append_transaction(), apply_peer(), destroy_trans(), do_register_expire(), dundi_show_peers(), and qualify_peer().

struct { ... } list

char* lookups[DUNDI_TIMING_HISTORY]

Definition at line 241 of file pbx_dundi.c.

Referenced by destroy_trans(), dundi_flush(), and dundi_show_peer().

int lookuptimes[DUNDI_TIMING_HISTORY]

Definition at line 240 of file pbx_dundi.c.

Referenced by destroy_trans(), dundi_flush(), and dundi_show_peer().

int maxms

Max permissible latency

Definition at line 250 of file pbx_dundi.c.

Referenced by append_transaction(), apply_peer(), build_peer(), destroy_trans(), dundi_show_peers(), and qualify_peer().

int model

struct dundi_peer* next [read]

Definition at line 252 of file pbx_dundi.c.

int order

char outkey[80]

Definition at line 224 of file pbx_dundi.c.

Referenced by build_peer(), check_key(), dundi_show_peer(), and update_key().

int pcmodel

Push/precache model

Definition at line 246 of file pbx_dundi.c.

Referenced by build_peer(), build_transactions(), and handle_command_response().

int qualifyid

Definition at line 227 of file pbx_dundi.c.

Referenced by build_peer(), destroy_peer(), do_qualify(), and qualify_peer().

struct dundi_transaction* qualtrans [read]

Qualify transaction

Definition at line 244 of file pbx_dundi.c.

Referenced by destroy_trans(), and qualify_peer().

struct timeval qualtx [read]

Time of transmit

Definition at line 251 of file pbx_dundi.c.

Referenced by destroy_trans(), and qualify_peer().

Definition at line 226 of file pbx_dundi.c.

Referenced by build_peer(), destroy_peer(), do_register(), and dundi_show_peer().

struct dundi_transaction* regtrans [read]

Registration transaction

Definition at line 243 of file pbx_dundi.c.

Referenced by destroy_peer(), destroy_trans(), and do_register().

unsigned char rxenckey[256]

Cache received encrypted key + sig

Definition at line 231 of file pbx_dundi.c.

Referenced by check_key().

Cached AES 128 Decryption context

Definition at line 237 of file pbx_dundi.c.

Referenced by check_key(), and handle_command_response().

Cached AES 128 Encryption context

Definition at line 236 of file pbx_dundi.c.

Referenced by check_key(), and handle_command_response().

uint32_t them_keycrc32

CRC-32 of our key

Definition at line 235 of file pbx_dundi.c.

Referenced by check_key().

unsigned char txenckey[256]

Transmitted encrypted key + sig

Definition at line 230 of file pbx_dundi.c.

Referenced by dundi_encrypt(), handle_command_response(), and update_key().

Cached AES 128 Decryption context

Definition at line 234 of file pbx_dundi.c.

Referenced by dundi_encrypt(), and update_key().

Cached AES 128 Encryption context

Definition at line 233 of file pbx_dundi.c.

Referenced by dundi_encrypt(), and update_key().

uint32_t us_keycrc32

CRC-32 of our key

Definition at line 232 of file pbx_dundi.c.

Referenced by dundi_encrypt(), and update_key().


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

Generated on Wed Oct 28 11:54:07 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6