|
|
@ -84,6 +84,7 @@ void parse_args(all_args_t* args, int argc, char* argv[])
|
|
|
|
string dns_addr;
|
|
|
|
string dns_addr;
|
|
|
|
string full_net_name;
|
|
|
|
string full_net_name;
|
|
|
|
string short_net_name;
|
|
|
|
string short_net_name;
|
|
|
|
|
|
|
|
bool request_imeisv;
|
|
|
|
string hss_db_file;
|
|
|
|
string hss_db_file;
|
|
|
|
string hss_auth_algo;
|
|
|
|
string hss_auth_algo;
|
|
|
|
string log_filename;
|
|
|
|
string log_filename;
|
|
|
@ -113,6 +114,7 @@ void parse_args(all_args_t* args, int argc, char* argv[])
|
|
|
|
("mme.encryption_algo", bpo::value<string>(&encryption_algo)->default_value("EEA0"), "Set preferred encryption algorithm for NAS layer ")
|
|
|
|
("mme.encryption_algo", bpo::value<string>(&encryption_algo)->default_value("EEA0"), "Set preferred encryption algorithm for NAS layer ")
|
|
|
|
("mme.integrity_algo", bpo::value<string>(&integrity_algo)->default_value("EIA1"), "Set preferred integrity protection algorithm for NAS")
|
|
|
|
("mme.integrity_algo", bpo::value<string>(&integrity_algo)->default_value("EIA1"), "Set preferred integrity protection algorithm for NAS")
|
|
|
|
("mme.paging_timer", bpo::value<uint16_t>(&paging_timer)->default_value(2), "Set paging timer value in seconds (T3413)")
|
|
|
|
("mme.paging_timer", bpo::value<uint16_t>(&paging_timer)->default_value(2), "Set paging timer value in seconds (T3413)")
|
|
|
|
|
|
|
|
("mme.request_imeisv", bpo::value<bool>(&request_imeisv)->default_value(false), "Enable IMEISV request in Security mode command")
|
|
|
|
("hss.db_file", bpo::value<string>(&hss_db_file)->default_value("ue_db.csv"), ".csv file that stores UE's keys")
|
|
|
|
("hss.db_file", bpo::value<string>(&hss_db_file)->default_value("ue_db.csv"), ".csv file that stores UE's keys")
|
|
|
|
("spgw.gtpu_bind_addr", bpo::value<string>(&spgw_bind_addr)->default_value("127.0.0.1"), "IP address of SP-GW for the S1-U connection")
|
|
|
|
("spgw.gtpu_bind_addr", bpo::value<string>(&spgw_bind_addr)->default_value("127.0.0.1"), "IP address of SP-GW for the S1-U connection")
|
|
|
|
("spgw.sgi_if_addr", bpo::value<string>(&sgi_if_addr)->default_value("176.16.0.1"), "IP address of TUN interface for the SGi connection")
|
|
|
|
("spgw.sgi_if_addr", bpo::value<string>(&sgi_if_addr)->default_value("176.16.0.1"), "IP address of TUN interface for the SGi connection")
|
|
|
@ -272,6 +274,7 @@ void parse_args(all_args_t* args, int argc, char* argv[])
|
|
|
|
args->mme_args.s1ap_args.short_net_name = short_net_name;
|
|
|
|
args->mme_args.s1ap_args.short_net_name = short_net_name;
|
|
|
|
args->mme_args.s1ap_args.mme_apn = mme_apn;
|
|
|
|
args->mme_args.s1ap_args.mme_apn = mme_apn;
|
|
|
|
args->mme_args.s1ap_args.paging_timer = paging_timer;
|
|
|
|
args->mme_args.s1ap_args.paging_timer = paging_timer;
|
|
|
|
|
|
|
|
args->mme_args.s1ap_args.request_imeisv = request_imeisv;
|
|
|
|
args->spgw_args.gtpu_bind_addr = spgw_bind_addr;
|
|
|
|
args->spgw_args.gtpu_bind_addr = spgw_bind_addr;
|
|
|
|
args->spgw_args.sgi_if_addr = sgi_if_addr;
|
|
|
|
args->spgw_args.sgi_if_addr = sgi_if_addr;
|
|
|
|
args->spgw_args.sgi_if_name = sgi_if_name;
|
|
|
|
args->spgw_args.sgi_if_name = sgi_if_name;
|
|
|
|