diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-07-13 02:41:37 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-07-13 02:41:37 +0200 |
commit | 2b6d39c9e0b741b124739064983470bc717826c8 (patch) | |
tree | ebb171f4124c4c3a5da53b2f994a830198767d7e /include/openbsc/gprs_sgsn.h | |
parent | 63c09b18f3bca32548260af11a42b2fb03ffb376 (diff) |
add specific code bits
Change-Id: I42c3f261bbee8eb73dd6b0096de72c11704cd0a2
Diffstat (limited to 'include/openbsc/gprs_sgsn.h')
-rw-r--r-- | include/openbsc/gprs_sgsn.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/openbsc/gprs_sgsn.h b/include/openbsc/gprs_sgsn.h index 52fba66d5..bf61c26c8 100644 --- a/include/openbsc/gprs_sgsn.h +++ b/include/openbsc/gprs_sgsn.h @@ -10,8 +10,7 @@ #include <osmocom/crypt/gprs_cipher.h> #include <osmocom/gsm/protocol/gsm_23_003.h> - -#include <openbsc/gsm_data.h> +#include <osmocom/crypt/auth.h> #define GSM_EXTENSION_LENGTH 15 #define GSM_APN_LENGTH 102 @@ -119,6 +118,13 @@ struct service_info { struct ranap_ue_conn_ctx; +struct gsm_auth_tuple { + int use_count; + int key_seq; + struct osmo_auth_vector vec; +}; +#define GSM_KEY_SEQ_INVAL 7 /* GSM 04.08 - 10.5.1.2 */ + /* According to TS 03.60, Table 5: SGSN MM and PDP Contexts */ /* Extended by 3GPP TS 23.060, Table 6: SGSN MM and PDP Contexts */ struct sgsn_mm_ctx { |