Thu Oct 11 06:50:48 2012

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 294 of file pbx_dundi.c.


Field Documentation

struct sockaddr_in addr [read]

int avgms

Definition at line 319 of file pbx_dundi.c.

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

int dead

Definition at line 302 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 325 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 315 of file pbx_dundi.c.

Referenced by update_key().

int lastms

Last measured latency

Definition at line 326 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 318 of file pbx_dundi.c.

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

int lookuptimes[DUNDI_TIMING_HISTORY]

Definition at line 317 of file pbx_dundi.c.

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

int maxms

Max permissible latency

Definition at line 327 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 329 of file pbx_dundi.c.

int order

char outkey[80]

Definition at line 301 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 323 of file pbx_dundi.c.

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

int qualifyid

Definition at line 304 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 321 of file pbx_dundi.c.

Referenced by destroy_trans(), and qualify_peer().

struct timeval qualtx [read]

Time of transmit

Definition at line 328 of file pbx_dundi.c.

Referenced by destroy_trans(), and qualify_peer().

Definition at line 303 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 320 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 308 of file pbx_dundi.c.

Referenced by check_key().

Cached AES 128 Decryption context

Definition at line 314 of file pbx_dundi.c.

Referenced by check_key(), and handle_command_response().

Cached AES 128 Encryption context

Definition at line 313 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 312 of file pbx_dundi.c.

Referenced by check_key().

unsigned char txenckey[256]

Transmitted encrypted key + sig

Definition at line 307 of file pbx_dundi.c.

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

Cached AES 128 Decryption context

Definition at line 311 of file pbx_dundi.c.

Referenced by dundi_encrypt(), and update_key().

Cached AES 128 Encryption context

Definition at line 310 of file pbx_dundi.c.

Referenced by dundi_encrypt(), and update_key().

uint32_t us_keycrc32

CRC-32 of our key

Definition at line 309 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 Thu Oct 11 06:50:48 2012 for Asterisk - the Open Source PBX by  doxygen 1.5.6