diff options
author | Shteryana Shopova <syrinx@FreeBSD.org> | 2009-12-11 07:53:44 +0000 |
---|---|---|
committer | Shteryana Shopova <syrinx@FreeBSD.org> | 2009-12-11 07:53:44 +0000 |
commit | db3a20a5183954a016ea8dd379c2fce2aaa2f9d1 (patch) | |
tree | f345d4d4a5390c125ee6b526c3d8bac3984aca9a /lib/libtacplus/taclib_private.h | |
parent | 57467e59336cecb6278637ab741895d0844e1956 (diff) |
Add support for TACACS+ accounting to libtacplus(3).
Submitted by: Michael Pounov misho@aitbg.com
OKed by: emaste
Notes
Notes:
svn path=/head/; revision=200399
Diffstat (limited to 'lib/libtacplus/taclib_private.h')
-rw-r--r-- | lib/libtacplus/taclib_private.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/libtacplus/taclib_private.h b/lib/libtacplus/taclib_private.h index bbc1990c9269..2730023a632a 100644 --- a/lib/libtacplus/taclib_private.h +++ b/lib/libtacplus/taclib_private.h @@ -132,6 +132,26 @@ struct tac_author_response { unsigned char rest[1]; }; +struct tac_acct_start { + u_int8_t action; + u_int8_t authen_action; + u_int8_t priv_lvl; + u_int8_t authen_type; + u_int8_t authen_service; + u_int8_t user_len; + u_int8_t port_len; + u_int8_t rem_addr_len; + u_int8_t av_cnt; + unsigned char rest[1]; +}; + +struct tac_acct_reply { + u_int16_t msg_len; + u_int16_t data_len; + u_int8_t status; + unsigned char rest[1]; +}; + struct tac_msg { u_int8_t version; u_int8_t type; @@ -145,6 +165,8 @@ struct tac_msg { struct tac_authen_cont authen_cont; struct tac_author_request author_request; struct tac_author_response author_response; + struct tac_acct_start acct_start; + struct tac_acct_reply acct_reply; unsigned char body[BODYSIZE]; } u; }; |