Asterisk - The Open Source Telephony Project  21.4.1
Data Structures | Data Fields
dundi_peer Struct Reference

Data Structures

struct  permissionlist
 

Data Fields

struct ast_sockaddr 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
 

Detailed Description

Definition at line 305 of file pbx_dundi.c.

Field Documentation

struct ast_sockaddr addr

Address of DUNDi peer

Definition at line 307 of file pbx_dundi.c.

Referenced by do_register_expire().

unsigned int dynamic

Dynamic peers register with us

Definition at line 336 of file pbx_dundi.c.

time_t keyexpire

When to expire/recreate key

Definition at line 326 of file pbx_dundi.c.

int lastms

Last measured latency

Definition at line 337 of file pbx_dundi.c.

Referenced by do_register_expire().

int maxms

Max permissible latency

Definition at line 338 of file pbx_dundi.c.

int model

Pull model

Definition at line 333 of file pbx_dundi.c.

int pcmodel

Push/precache model

Definition at line 334 of file pbx_dundi.c.

struct dundi_transaction* qualtrans

Qualify transaction

Definition at line 332 of file pbx_dundi.c.

struct timeval qualtx

Time of transmit

Definition at line 339 of file pbx_dundi.c.

struct dundi_transaction* regtrans

Registration transaction

Definition at line 331 of file pbx_dundi.c.

Referenced by do_register().

unsigned char rxenckey[256]

Cache received encrypted key + sig

Definition at line 319 of file pbx_dundi.c.

Cached AES 128 Decryption context

Definition at line 325 of file pbx_dundi.c.

Cached AES 128 Encryption context

Definition at line 324 of file pbx_dundi.c.

uint32_t them_keycrc32

CRC-32 of our key

Definition at line 323 of file pbx_dundi.c.

unsigned char txenckey[256]

Transmitted encrypted key + sig

Definition at line 318 of file pbx_dundi.c.

Cached AES 128 Decryption context

Definition at line 322 of file pbx_dundi.c.

Cached AES 128 Encryption context

Definition at line 321 of file pbx_dundi.c.

uint32_t us_keycrc32

CRC-32 of our key

Definition at line 320 of file pbx_dundi.c.


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