%% ------------------------------------------------------------------- %% This is a generated file. %% ------------------------------------------------------------------- -hrl_name('diameter_rfc6734.hrl'). %%% ------------------------------------------------------- %%% Grouped AVP records: %%% ------------------------------------------------------- -record('Key', {'Key-Type', 'Keying-Material', 'Key-Lifetime' = [], 'Key-Name' = [], 'Key-SPI' = [], 'AVP' = []}). %%% ------------------------------------------------------- %%% Grouped AVP records from diameter_gen_base_rfc6733: %%% ------------------------------------------------------- -record('Proxy-Info', {'Proxy-Host', 'Proxy-State', 'AVP' = []}). -record('Failed-AVP', {'AVP' = []}). -record('Experimental-Result', {'Vendor-Id', 'Experimental-Result-Code'}). -record('Vendor-Specific-Application-Id', {'Vendor-Id', 'Auth-Application-Id' = [], 'Acct-Application-Id' = []}). %%% ------------------------------------------------------- %%% ENUM Macros: %%% ------------------------------------------------------- -define('KEY-TYPE_DSRK', 0). -define('KEY-TYPE_RRK', 1). -define('KEY-TYPE_RMSK', 2). %%% ------------------------------------------------------- %%% ENUM Macros from diameter_gen_base_rfc6733: %%% ------------------------------------------------------- -ifndef('DISCONNECT-CAUSE_REBOOTING'). -define('DISCONNECT-CAUSE_REBOOTING', 0). -endif. -ifndef('DISCONNECT-CAUSE_BUSY'). -define('DISCONNECT-CAUSE_BUSY', 1). -endif. -ifndef('DISCONNECT-CAUSE_DO_NOT_WANT_TO_TALK_TO_YOU'). -define('DISCONNECT-CAUSE_DO_NOT_WANT_TO_TALK_TO_YOU', 2). -endif. -ifndef('REDIRECT-HOST-USAGE_DONT_CACHE'). -define('REDIRECT-HOST-USAGE_DONT_CACHE', 0). -endif. -ifndef('REDIRECT-HOST-USAGE_ALL_SESSION'). -define('REDIRECT-HOST-USAGE_ALL_SESSION', 1). -endif. -ifndef('REDIRECT-HOST-USAGE_ALL_REALM'). -define('REDIRECT-HOST-USAGE_ALL_REALM', 2). -endif. -ifndef('REDIRECT-HOST-USAGE_REALM_AND_APPLICATION'). -define('REDIRECT-HOST-USAGE_REALM_AND_APPLICATION', 3). -endif. -ifndef('REDIRECT-HOST-USAGE_ALL_APPLICATION'). -define('REDIRECT-HOST-USAGE_ALL_APPLICATION', 4). -endif. -ifndef('REDIRECT-HOST-USAGE_ALL_HOST'). -define('REDIRECT-HOST-USAGE_ALL_HOST', 5). -endif. -ifndef('REDIRECT-HOST-USAGE_ALL_USER'). -define('REDIRECT-HOST-USAGE_ALL_USER', 6). -endif. -ifndef('AUTH-REQUEST-TYPE_AUTHENTICATE_ONLY'). -define('AUTH-REQUEST-TYPE_AUTHENTICATE_ONLY', 1). -endif. -ifndef('AUTH-REQUEST-TYPE_AUTHORIZE_ONLY'). -define('AUTH-REQUEST-TYPE_AUTHORIZE_ONLY', 2). -endif. -ifndef('AUTH-REQUEST-TYPE_AUTHORIZE_AUTHENTICATE'). -define('AUTH-REQUEST-TYPE_AUTHORIZE_AUTHENTICATE', 3). -endif. -ifndef('AUTH-SESSION-STATE_STATE_MAINTAINED'). -define('AUTH-SESSION-STATE_STATE_MAINTAINED', 0). -endif. -ifndef('AUTH-SESSION-STATE_NO_STATE_MAINTAINED'). -define('AUTH-SESSION-STATE_NO_STATE_MAINTAINED', 1). -endif. -ifndef('RE-AUTH-REQUEST-TYPE_AUTHORIZE_ONLY'). -define('RE-AUTH-REQUEST-TYPE_AUTHORIZE_ONLY', 0). -endif. -ifndef('RE-AUTH-REQUEST-TYPE_AUTHORIZE_AUTHENTICATE'). -define('RE-AUTH-REQUEST-TYPE_AUTHORIZE_AUTHENTICATE', 1). -endif. -ifndef('TERMINATION-CAUSE_LOGOUT'). -define('TERMINATION-CAUSE_LOGOUT', 1). -endif. -ifndef('TERMINATION-CAUSE_SERVICE_NOT_PROVIDED'). -define('TERMINATION-CAUSE_SERVICE_NOT_PROVIDED', 2). -endif. -ifndef('TERMINATION-CAUSE_BAD_ANSWER'). -define('TERMINATION-CAUSE_BAD_ANSWER', 3). -endif. -ifndef('TERMINATION-CAUSE_ADMINISTRATIVE'). -define('TERMINATION-CAUSE_ADMINISTRATIVE', 4). -endif. -ifndef('TERMINATION-CAUSE_LINK_BROKEN'). -define('TERMINATION-CAUSE_LINK_BROKEN', 5). -endif. -ifndef('TERMINATION-CAUSE_AUTH_EXPIRED'). -define('TERMINATION-CAUSE_AUTH_EXPIRED', 6). -endif. -ifndef('TERMINATION-CAUSE_USER_MOVED'). -define('TERMINATION-CAUSE_USER_MOVED', 7). -endif. -ifndef('TERMINATION-CAUSE_SESSION_TIMEOUT'). -define('TERMINATION-CAUSE_SESSION_TIMEOUT', 8). -endif. -ifndef('SESSION-SERVER-FAILOVER_REFUSE_SERVICE'). -define('SESSION-SERVER-FAILOVER_REFUSE_SERVICE', 0). -endif. -ifndef('SESSION-SERVER-FAILOVER_TRY_AGAIN'). -define('SESSION-SERVER-FAILOVER_TRY_AGAIN', 1). -endif. -ifndef('SESSION-SERVER-FAILOVER_ALLOW_SERVICE'). -define('SESSION-SERVER-FAILOVER_ALLOW_SERVICE', 2). -endif. -ifndef('SESSION-SERVER-FAILOVER_TRY_AGAIN_ALLOW_SERVICE'). -define('SESSION-SERVER-FAILOVER_TRY_AGAIN_ALLOW_SERVICE', 3). -endif. -ifndef('ACCOUNTING-RECORD-TYPE_EVENT_RECORD'). -define('ACCOUNTING-RECORD-TYPE_EVENT_RECORD', 1). -endif. -ifndef('ACCOUNTING-RECORD-TYPE_START_RECORD'). -define('ACCOUNTING-RECORD-TYPE_START_RECORD', 2). -endif. -ifndef('ACCOUNTING-RECORD-TYPE_INTERIM_RECORD'). -define('ACCOUNTING-RECORD-TYPE_INTERIM_RECORD', 3). -endif. -ifndef('ACCOUNTING-RECORD-TYPE_STOP_RECORD'). -define('ACCOUNTING-RECORD-TYPE_STOP_RECORD', 4). -endif. -ifndef('ACCOUNTING-REALTIME-REQUIRED_DELIVER_AND_GRANT'). -define('ACCOUNTING-REALTIME-REQUIRED_DELIVER_AND_GRANT', 1). -endif. -ifndef('ACCOUNTING-REALTIME-REQUIRED_GRANT_AND_STORE'). -define('ACCOUNTING-REALTIME-REQUIRED_GRANT_AND_STORE', 2). -endif. -ifndef('ACCOUNTING-REALTIME-REQUIRED_GRANT_AND_LOSE'). -define('ACCOUNTING-REALTIME-REQUIRED_GRANT_AND_LOSE', 3). -endif.