X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fo1%2Fo1_client%2FConfig.h;fp=src%2Fo1%2Fo1_client%2FConfig.h;h=fb7250ca4adde437985f7db47c61a4ef5f388a48;hb=c5c8d87cedf8b51e40989c21c0dd8cd1dab1b073;hp=0000000000000000000000000000000000000000;hpb=66d033da61e968d157ed265efcaaaf535ec21fb7;p=o-du%2Fl2.git diff --git a/src/o1/o1_client/Config.h b/src/o1/o1_client/Config.h new file mode 100644 index 000000000..fb7250ca4 --- /dev/null +++ b/src/o1/o1_client/Config.h @@ -0,0 +1,46 @@ +/******************************************************************************* +################################################################################ +# Copyright (c) [2020] [HCL Technologies Ltd.] # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); # +# you may not use this file except in compliance with the License. # +# You may obtain a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +################################################################################ +*******************************************************************************/ + +/* This file contains definitions of startup configuration structure */ + +#ifndef __CONFIG_H__ +#define __CONFIG_H__ + +#include +#include + +#define IPV4_LEN 16 +#define PORT_LEN 10 + +typedef struct +{ + char DU_IPV4_Addr[IPV4_LEN]; + char CU_IPV4_Addr[IPV4_LEN]; + char RIC_IPV4_Addr[IPV4_LEN]; + uint16_t CU_Port; + uint16_t DU_Port; + uint16_t RIC_Port; +}StartupConfig; + +uint8_t getStartupConfig(); + +#endif + +/********************************************************************** + End of file +**********************************************************************/