mirror of
https://github.com/cryb-to/cryb-otp.git
synced 2025-02-22 10:41:10 +00:00
Add accounting attributes.
This commit is contained in:
parent
be6f32b5bd
commit
d4945f9775
2 changed files with 56 additions and 1 deletions
|
@ -91,7 +91,26 @@ typedef enum rad_attr_code {
|
|||
rac_framed_appletalk_link = 37,
|
||||
rac_framed_appletalk_network = 38,
|
||||
rac_framed_appletalk_zone = 39,
|
||||
/* reserved for accounting = 40...59, */
|
||||
rac_acct_status_type = 40,
|
||||
rac_acct_delay_time = 41,
|
||||
rac_acct_input_octets = 42,
|
||||
rac_acct_output_octets = 43,
|
||||
rac_acct_session_id = 44,
|
||||
rac_acct_authentic = 45,
|
||||
rac_acct_session_time = 46,
|
||||
rac_acct_input_packets = 47,
|
||||
rac_acct_output_packets = 48,
|
||||
rac_acct_terminate_cause = 49,
|
||||
rac_acct_multi_session_id = 50,
|
||||
rac_acct_link_count = 51,
|
||||
/* reserved for accounting = 52, */
|
||||
/* reserved for accounting = 53, */
|
||||
/* reserved for accounting = 54, */
|
||||
/* reserved for accounting = 55, */
|
||||
/* reserved for accounting = 56, */
|
||||
/* reserved for accounting = 57, */
|
||||
/* reserved for accounting = 58, */
|
||||
/* reserved for accounting = 59, */
|
||||
rac_chap_challenge = 60,
|
||||
rac_nas_port_type = 61,
|
||||
rac_port_limit = 62,
|
||||
|
|
|
@ -206,6 +206,42 @@ static struct rad_attr_def {
|
|||
[rac_framed_appletalk_zone] = {
|
||||
.name = "Framed-AppleTalk-Zone",
|
||||
},
|
||||
[rac_acct_status_type] = {
|
||||
.name = "Acct-Status-Type",
|
||||
},
|
||||
[rac_acct_delay_time] = {
|
||||
.name = "Acct-Delay-Time",
|
||||
},
|
||||
[rac_acct_input_octets] = {
|
||||
.name = "Acct-Input-Octets",
|
||||
},
|
||||
[rac_acct_output_octets] = {
|
||||
.name = "Acct-Output-Octets",
|
||||
},
|
||||
[rac_acct_session_id] = {
|
||||
.name = "Acct-Session-Id",
|
||||
},
|
||||
[rac_acct_authentic] = {
|
||||
.name = "Acct-Authentic",
|
||||
},
|
||||
[rac_acct_session_time] = {
|
||||
.name = "Acct-Session-Time",
|
||||
},
|
||||
[rac_acct_input_packets] = {
|
||||
.name = "Acct-Input-Packets",
|
||||
},
|
||||
[rac_acct_output_packets] = {
|
||||
.name = "Acct-Output-Packets",
|
||||
},
|
||||
[rac_acct_terminate_cause] = {
|
||||
.name = "Acct-Terminate-Cause",
|
||||
},
|
||||
[rac_acct_multi_session_id] = {
|
||||
.name = "Acct-Multi-Session-Id",
|
||||
},
|
||||
[rac_acct_link_count] = {
|
||||
.name = "Acct-Link-Count",
|
||||
},
|
||||
[rac_chap_challenge] = {
|
||||
.name = "CHAP-Challenge",
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue