Asterisk - The Open Source Telephony Project  18.5.0
Public Member Functions | Data Fields
ip_identify_match Struct Reference

Structure for an IP identification matching object. More...

Collaboration diagram for ip_identify_match:
Collaboration graph
[legend]

Public Member Functions

 SORCERY_OBJECT (details)
 Sorcery object details. More...
 

Data Fields

struct ast_string_field_pool__field_mgr_pool
 Stringfields. More...
 
const ast_string_field endpoint_name
 
struct ao2_containerhosts
 Hosts to be resolved when applying configuration. More...
 
unsigned int is_regex:1
 
const ast_string_field match_header
 
const ast_string_field match_header_name
 
const ast_string_field match_header_value
 
struct ast_hamatches
 Networks or addresses that should match this. More...
 
regex_t regex_buf
 
unsigned int srv_lookups
 Perform SRV resolution of hostnames. More...
 

Detailed Description

Structure for an IP identification matching object.

Definition at line 125 of file res_pjsip_endpoint_identifier_ip.c.

Member Function Documentation

◆ SORCERY_OBJECT()

SORCERY_OBJECT ( details  )

Sorcery object details.

Field Documentation

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

Stringfields.

Definition at line 138 of file res_pjsip_endpoint_identifier_ip.c.

◆ endpoint_name

const ast_string_field endpoint_name

◆ hosts

struct ao2_container* hosts

Hosts to be resolved when applying configuration.

Definition at line 144 of file res_pjsip_endpoint_identifier_ip.c.

Referenced by ip_identify_apply(), ip_identify_destroy(), ip_identify_match_handler(), and ip_identify_match_srv_lookup().

◆ is_regex

unsigned int is_regex

Non-zero if match_header has a regular expression (i.e., regex_buf is valid)

Definition at line 148 of file res_pjsip_endpoint_identifier_ip.c.

Referenced by header_identify_match_check(), ip_identify_apply(), and ip_identify_destroy().

◆ match_header

const ast_string_field match_header

If matching by header struct ast_string_field_mgr __field_mgr the header/value to match against

Definition at line 138 of file res_pjsip_endpoint_identifier_ip.c.

Referenced by cli_print_body(), header_identify_match_check(), ip_identify_apply(), and load_module().

◆ match_header_name

const ast_string_field match_header_name

SIP header name of the match_header string

Definition at line 138 of file res_pjsip_endpoint_identifier_ip.c.

Referenced by header_identify_match_check(), and ip_identify_apply().

◆ match_header_value

const ast_string_field match_header_value

SIP header value of the match_header string

Definition at line 138 of file res_pjsip_endpoint_identifier_ip.c.

Referenced by header_identify_match_check(), and ip_identify_apply().

◆ matches

struct ast_ha* matches

◆ regex_buf

regex_t regex_buf

Compiled match_header regular expression when is_regex is non-zero

Definition at line 138 of file res_pjsip_endpoint_identifier_ip.c.

Referenced by header_identify_match_check(), ip_identify_apply(), and ip_identify_destroy().

◆ srv_lookups

unsigned int srv_lookups

Perform SRV resolution of hostnames.

Definition at line 146 of file res_pjsip_endpoint_identifier_ip.c.

Referenced by ip_identify_apply(), and load_module().


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