Common structure elements. More...
#include <security_events_defs.h>
Data Fields | |
const char * | account_id |
Account ID, specific to the service type. More... | |
enum ast_security_event_type | event_type |
The security event sub-type. More... | |
struct ast_security_event_ipv4_addr | local_addr |
Local address the request came in on. More... | |
const char * | module |
Module, Normally the AST_MODULE define. More... | |
struct ast_security_event_ipv4_addr | remote_addr |
Remote address the request came from. More... | |
const char * | service |
Service that generated the event. More... | |
const char * | session_id |
Session ID, specific to the service type. More... | |
struct timeval * | session_tv |
Session timeval, when the session started. More... | |
uint32_t | version |
security event version More... | |
Common structure elements.
This is the structure header for all event descriptor structures defined below. The contents of this structure are very important and must not change. Even though these structures are exposed via a public API, we have a version field that can be used to ensure ABI safety. If the event descriptors need to be changed or updated in the future, we can safely do so and can detect ABI changes at runtime.
Definition at line 159 of file security_events_defs.h.
const char* account_id |
Account ID, specific to the service type.
Definition at line 180 of file security_events_defs.h.
enum ast_security_event_type event_type |
The security event sub-type.
Definition at line 161 of file security_events_defs.h.
Referenced by add_ie(), alloc_event(), ast_security_event_report(), handle_security_event(), report_auth_success(), report_failed_acl(), report_failed_challenge_response(), report_inval_password(), report_invalid_user(), report_req_bad_format(), report_req_not_allowed(), and report_session_limit().
struct ast_security_event_ipv4_addr local_addr |
Local address the request came in on.
Definition at line 195 of file security_events_defs.h.
const char* module |
Module, Normally the AST_MODULE define.
Definition at line 175 of file security_events_defs.h.
struct ast_security_event_ipv4_addr remote_addr |
Remote address the request came from.
Definition at line 200 of file security_events_defs.h.
const char* service |
Service that generated the event.
Examples: "SIP", "AMI"
Definition at line 170 of file security_events_defs.h.
Referenced by alloc_event().
const char* session_id |
Session ID, specific to the service type.
Definition at line 185 of file security_events_defs.h.
struct timeval* session_tv |
Session timeval, when the session started.
Definition at line 190 of file security_events_defs.h.
uint32_t version |
security event version
Definition at line 163 of file security_events_defs.h.
Referenced by alloc_event(), and ast_security_event_report().