diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-07-13 02:03:50 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-08-30 14:14:58 +0200 |
commit | ee6cfdc0d9710e3a69c8e1939eb21c8f2b759885 (patch) | |
tree | ed5aeb0979a1838778649078847a1ed6caa6b1a4 /include/openbsc/gprs_sgsn.h | |
parent | 6c809185ee86d318d10205756bb6d91914d11fdf (diff) |
split off osmo-sgsn: remove files, apply build1.1.0
Change-Id: I5d27ff93e56cd13e0e70edd15e2080201e35e91f
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 57995e018..c47fb0905 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 { |