Asterisk - The Open Source Telephony Project GIT-master-7e7a603
Data Fields
peercnt Struct Reference
Collaboration diagram for peercnt:
Collaboration graph
[legend]

Data Fields

struct ast_sockaddr addr
 
uint16_t cur
 
uint16_t limit
 
unsigned char reg
 

Detailed Description

peer connection private, keeps track of all the call numbers consumed by a single ip address

Definition at line 1027 of file chan_iax2.c.

Field Documentation

◆ addr

struct ast_sockaddr addr

◆ cur

uint16_t cur

Number of call numbers currently used by this ip address

Definition at line 1031 of file chan_iax2.c.

Referenced by handle_cli_iax2_show_callno_limits(), peercnt_add(), and peercnt_remove().

◆ limit

uint16_t limit

Max call numbers allowed for this ip address

Definition at line 1033 of file chan_iax2.c.

Referenced by handle_cli_iax2_show_callno_limits(), peercnt_add(), peercnt_modify(), and set_peercnt_limit().

◆ reg

unsigned char reg

Specifies whether limit is set by a registration or not, if so normal limit setting rules do not apply to this address.

Definition at line 1036 of file chan_iax2.c.

Referenced by peercnt_modify(), and set_peercnt_limit().


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