Asterisk - The Open Source Telephony Project GIT-master-7921072
Data Structures | Data Fields
dundi_peer Struct Reference
Collaboration diagram for dundi_peer:
Collaboration graph
[legend]

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

◆ addr

struct ast_sockaddr addr

◆ avgms

int avgms

Definition at line 330 of file pbx_dundi.c.

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

◆ dead

int dead

Definition at line 313 of file pbx_dundi.c.

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

◆ dynamic

unsigned int dynamic

Dynamic peers register with us

Definition at line 336 of file pbx_dundi.c.

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

◆ eid

dundi_eid eid

◆ include

struct permissionlist include

◆ inkey

char inkey[80]

◆ keyexpire

time_t keyexpire

When to expire/recreate key

Definition at line 326 of file pbx_dundi.c.

Referenced by update_key().

◆ lastms

int lastms

◆ 

struct { ... } list

◆ lookups

char* lookups[DUNDI_TIMING_HISTORY]

◆ lookuptimes

int lookuptimes[DUNDI_TIMING_HISTORY]

Definition at line 328 of file pbx_dundi.c.

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

◆ maxms

int maxms

Max permissible latency

Definition at line 338 of file pbx_dundi.c.

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

◆ model

int model

◆ next

struct dundi_peer* next

Definition at line 340 of file pbx_dundi.c.

◆ order

int order

◆ outkey

char outkey[80]

Definition at line 312 of file pbx_dundi.c.

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

◆ pcmodel

int pcmodel

Push/precache model

Definition at line 334 of file pbx_dundi.c.

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

◆ permit

◆ qualifyid

int qualifyid

Definition at line 315 of file pbx_dundi.c.

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

◆ qualtrans

struct dundi_transaction* qualtrans

Qualify transaction

Definition at line 332 of file pbx_dundi.c.

Referenced by deep_copy_peer(), destroy_peer(), destroy_trans(), and qualify_peer().

◆ qualtx

struct timeval qualtx

Time of transmit

Definition at line 339 of file pbx_dundi.c.

Referenced by destroy_trans(), and qualify_peer().

◆ registerexpire

int registerexpire

◆ registerid

int registerid

Definition at line 314 of file pbx_dundi.c.

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

◆ regtrans

struct dundi_transaction* regtrans

Registration transaction

Definition at line 331 of file pbx_dundi.c.

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

◆ rxenckey

unsigned char rxenckey[256]

Cache received encrypted key + sig

Definition at line 319 of file pbx_dundi.c.

Referenced by check_key().

◆ sentfullkey

int sentfullkey

◆ them_dcx

Cached AES 128 Decryption context

Definition at line 325 of file pbx_dundi.c.

Referenced by check_key(), and handle_command_response().

◆ them_ecx

Cached AES 128 Encryption context

Definition at line 324 of file pbx_dundi.c.

Referenced by check_key(), and handle_command_response().

◆ them_keycrc32

uint32_t them_keycrc32

CRC-32 of our key

Definition at line 323 of file pbx_dundi.c.

Referenced by check_key().

◆ txenckey

unsigned char txenckey[256]

Transmitted encrypted key + sig

Definition at line 318 of file pbx_dundi.c.

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

◆ us_dcx

Cached AES 128 Decryption context

Definition at line 322 of file pbx_dundi.c.

Referenced by dundi_encrypt(), and update_key().

◆ us_ecx

Cached AES 128 Encryption context

Definition at line 321 of file pbx_dundi.c.

Referenced by dundi_encrypt(), and update_key().

◆ us_eid

dundi_eid us_eid

◆ us_keycrc32

uint32_t us_keycrc32

CRC-32 of our key

Definition at line 320 of file pbx_dundi.c.

Referenced by dundi_encrypt(), and update_key().


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