Data Fields | |
sockaddr_in | addr |
int | avgms |
int | dead |
unsigned int | dynamic:1 |
dundi_eid | eid |
permissionlist | include |
char | inkey [80] |
time_t | keyexpire |
int | lastms |
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 |
dundi_peer::permissionlist | permit |
int | qualifyid |
dundi_transaction * | qualtrans |
timeval | qualtx |
int | registerexpire |
int | registerid |
dundi_transaction * | regtrans |
unsigned char | rxenckey [256] |
int | sentfullkey |
aes_decrypt_ctx | them_dcx |
aes_encrypt_ctx | them_ecx |
uint32_t | them_keycrc32 |
unsigned char | txenckey [256] |
aes_decrypt_ctx | us_dcx |
aes_encrypt_ctx | us_ecx |
dundi_eid | us_eid |
uint32_t | us_keycrc32 |
Data Structures | |
struct | permissionlist |
Definition at line 227 of file pbx_dundi.c.
struct sockaddr_in addr |
Address of DUNDi peer
Definition at line 229 of file pbx_dundi.c.
Referenced by append_transaction(), apply_peer(), create_transaction(), do_register_expire(), dundi_show_peer(), dundi_show_peers(), handle_command_response(), and populate_addr().
int avgms |
Definition at line 252 of file pbx_dundi.c.
Referenced by destroy_trans(), dundi_flush(), dundi_show_peer(), and dundi_show_peers().
int dead |
Definition at line 235 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 258 of file pbx_dundi.c.
Referenced by dundi_show_peer(), dundi_show_peers(), and handle_command_response().
Definition at line 228 of file pbx_dundi.c.
Referenced by append_transaction(), apply_peer(), build_peer(), build_transactions(), check_key(), complete_peer_helper(), destroy_trans(), do_register(), do_register_expire(), dundi_ie_append_eid_appropriately(), dundi_show_peer(), dundi_show_peers(), find_peer(), handle_command_response(), optimize_transactions(), populate_addr(), and update_key().
struct permissionlist include |
Definition at line 231 of file pbx_dundi.c.
Referenced by build_peer(), build_transactions(), deep_copy_peer(), destroy_peer(), dundi_ie_append_eid_appropriately(), dundi_show_peer(), handle_command_response(), and optimize_transactions().
char inkey[80] |
Definition at line 233 of file pbx_dundi.c.
Referenced by apply_peer(), build_peer(), check_key(), dundi_show_peer(), handle_command_response(), and update_key().
time_t keyexpire |
int lastms |
Last measured latency
Definition at line 259 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 251 of file pbx_dundi.c.
Referenced by destroy_trans(), dundi_flush(), and dundi_show_peer().
int lookuptimes[DUNDI_TIMING_HISTORY] |
Definition at line 250 of file pbx_dundi.c.
Referenced by destroy_trans(), dundi_flush(), and dundi_show_peer().
int maxms |
Max permissible latency
Definition at line 260 of file pbx_dundi.c.
Referenced by append_transaction(), apply_peer(), destroy_trans(), dundi_show_peers(), and qualify_peer().
int model |
Pull model
Definition at line 255 of file pbx_dundi.c.
Referenced by build_transactions(), dundi_show_peer(), dundi_show_peers(), and handle_command_response().
struct dundi_peer* next |
Definition at line 262 of file pbx_dundi.c.
int order |
Definition at line 239 of file pbx_dundi.c.
Referenced by build_transactions(), dundi_show_peer(), and optimize_transactions().
char outkey[80] |
Definition at line 234 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 256 of file pbx_dundi.c.
Referenced by build_transactions(), and handle_command_response().
struct dundi_peer::permissionlist permit |
Referenced by build_peer(), build_transactions(), deep_copy_peer(), destroy_peer(), dundi_show_peer(), and handle_command_response().
int qualifyid |
Definition at line 237 of file pbx_dundi.c.
Referenced by destroy_peer(), do_qualify(), and qualify_peer().
struct dundi_transaction* qualtrans |
Qualify transaction
Definition at line 254 of file pbx_dundi.c.
Referenced by destroy_trans(), and qualify_peer().
struct timeval qualtx |
Time of transmit
Definition at line 261 of file pbx_dundi.c.
Referenced by destroy_trans(), and qualify_peer().
int registerexpire |
Definition at line 249 of file pbx_dundi.c.
Referenced by do_register_expire(), handle_command_response(), and populate_addr().
int registerid |
Definition at line 236 of file pbx_dundi.c.
Referenced by build_peer(), destroy_peer(), do_register(), and dundi_show_peer().
struct dundi_transaction* regtrans |
Registration transaction
Definition at line 253 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 241 of file pbx_dundi.c.
Referenced by check_key().
int sentfullkey |
Definition at line 238 of file pbx_dundi.c.
Referenced by create_transaction(), dundi_encrypt(), and update_key().
Cached AES 128 Decryption context
Definition at line 247 of file pbx_dundi.c.
Referenced by check_key().
Cached AES 128 Encryption context
Definition at line 246 of file pbx_dundi.c.
Referenced by check_key().
uint32_t them_keycrc32 |
unsigned char txenckey[256] |
Transmitted encrypted key + sig
Definition at line 240 of file pbx_dundi.c.
Referenced by dundi_encrypt(), and update_key().
Cached AES 128 Decryption context
Definition at line 244 of file pbx_dundi.c.
Referenced by dundi_encrypt(), and update_key().
Cached AES 128 Encryption context
Definition at line 243 of file pbx_dundi.c.
Referenced by dundi_encrypt(), and update_key().
Definition at line 232 of file pbx_dundi.c.
Referenced by apply_peer(), build_peer(), build_transactions(), do_register(), and handle_command_response().
uint32_t us_keycrc32 |
CRC-32 of our key
Definition at line 242 of file pbx_dundi.c.
Referenced by dundi_encrypt(), and update_key().