diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2009-12-27 15:41:59 +0100 |
---|---|---|
committer | Harald Welte <laforge@netfilter.org> | 2010-01-03 10:17:35 +0100 |
commit | 70881b7e8acf5ef6cdd57a084a99055d7decc1c2 (patch) | |
tree | 98afcad5ad9b3f728f0185b4316b7a5b601703b2 /openbsc/include | |
parent | 77d334ac4d64fec8a0708160fc2753c6354eb869 (diff) |
db: Add issued/use_count/key_seq fields to AuthTuples
Theses will be useful to know if we can reuse the tuples or if
we should renew. The 'issued' is currently purely informative.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index cc023b3ab..a50d9f21d 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -605,6 +605,8 @@ struct gsm_auth_info { }; struct gsm_auth_tuple { + int use_count; + int key_seq; u_int8_t rand[16]; u_int8_t sres[8]; u_int8_t kc[8]; |