diff options
Diffstat (limited to 'openbsc/include/openbsc/sgsn.h')
-rw-r--r-- | openbsc/include/openbsc/sgsn.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/sgsn.h b/openbsc/include/openbsc/sgsn.h index f7af7509b..33bc72f9d 100644 --- a/openbsc/include/openbsc/sgsn.h +++ b/openbsc/include/openbsc/sgsn.h @@ -7,6 +7,12 @@ #include <osmocom/gprs/gprs_ns.h> #include <openbsc/gprs_sgsn.h> +enum sgsn_auth_policy { + SGSN_AUTH_POLICY_OPEN, + SGSN_AUTH_POLICY_CLOSED, + SGSN_AUTH_POLICY_ACL_ONLY +}; + struct sgsn_config { /* parsed from config file */ @@ -16,7 +22,7 @@ struct sgsn_config { /* misc */ struct gprs_ns_inst *nsi; - int acl_enabled; + enum sgsn_auth_policy auth_policy; struct llist_head imsi_acl; }; |