blob: 3f792fd14e671b7375aa33a113b90ccc48c0f246 [file] [log] [blame]
anjana_sreekumar@infosys.com991c2062020-01-08 11:42:57 +05301/*
2 * Copyright (c) 2003-2018, Great Software Laboratory Pvt. Ltd.
3 * Copyright (c) 2017 Intel Corporation
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18#ifndef __MME_APP_H_
19#define __MME_APP_H_
20
21#include <stdbool.h>
22#include <map>
23#include <array>
24
25#include "s1ap_structs.h"
26
27/**
28 * MME main application configuration parameters structures.
29 * All fields in this will be filled in from input json file.
30 */
31typedef struct mme_config
32{
33 unsigned int mme_ip_addr;
34 unsigned short mme_sctp_port;
35 unsigned int s11_sgw_ip;
36 unsigned int s11_pgw_ip;
37 unsigned int enb_ip;
38 unsigned short enb_port;
39 unsigned short mme_egtp_def_port;
40 char *mme_egtp_def_hostname;
41 char *mme_name;
42
43 char mcc_dig1;
44 char mcc_dig2;
45 char mcc_dig3;
46 char mnc_dig1;
47 char mnc_dig2;
48 char mnc_dig3;
49 struct PLMN plmn_id;
50
51 unsigned int mme_s1ap_ip;
52 unsigned int mme_egtp_ip;
53 unsigned short mme_group_id;
54 unsigned char mme_code;
55} mme_config;
56
57const size_t fifoQSize_c = 1000;
58
59void stat_init();
60
61
62#endif /*__MME_APP_H_*/