X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2F5gnrrlc%2Fmac_stub.h;fp=src%2F5gnrrlc%2Fmac_stub.h;h=46b7104a5878030ea09b6d1ef27919b52e3f1cc3;hb=be7e4e372cc1d6f12f7af9c6b6d09a7ecedca58c;hp=0000000000000000000000000000000000000000;hpb=571b7d1991b8ea5cc64a76f38940d5ac9b4b84e2;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/mac_stub.h b/src/5gnrrlc/mac_stub.h new file mode 100644 index 000000000..46b7104a5 --- /dev/null +++ b/src/5gnrrlc/mac_stub.h @@ -0,0 +1,67 @@ +/******************************************************************************* +################################################################################ +# Copyright (c) [2017-2019] [Radisys] # +# # +# 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. # +################################################################################ +*******************************************************************************/ + +#ifdef EGTP_TEST + +#ifndef __MAC_STUB_H__ +#define __MAC_STUB_H__ + +#include "envopt.h" /* environment options */ +#include "envdep.h" /* environment dependent */ +#include "envind.h" /* environment independent */ + +#include "gen.h" /* general */ +#include "ssi.h" /* system services */ +#include "cm5.h" /* common timer defines */ +#include "cm_tkns.h" /* common tokens defines */ +#include "cm_mblk.h" /* common memory allocation library defines */ +#include "cm_llist.h" /* common link list defines */ +#include "cm_hash.h" /* common hash list defines */ +#include "cm_lte.h" /* common LTE defines */ +#include "cm_tpt.h" +#include "cm_inet.h" +#include "du_log.h" +#include "rgu.h" +#include "kw.h" + +#include "gen.x" /* general */ +#include "ssi.x" /* system services */ +#include "cm5.x" /* common timer library */ +#include "cm_tkns.x" /* common tokens */ +#include "cm_mblk.x" /* common memory allocation */ +#include "cm_llist.x" /* common link list */ +#include "cm_hash.x" /* common hash list */ +#include "cm_lte.x" /* common LTE includes */ +#include "cm_tpt.x" +#include "cm_inet.x" +#include "rgu.x" + + +#define DU_IP_V4_ADDR "10.0.2.20" +#define CU_IP_V4_ADDR "10.0.2.25" + +S16 macStubBOStatus(Pst *pst, SpId spId, RlcMacBOStatus *boSta); +S16 macStubSendDlData(Pst *post, SpId spId, RlcMacData *dlData); +void macStubBuildUlData(Buffer *mBuf); + +#endif /* __MAC_STUB_H__ */ +#endif /* EGTP_TEST */ + +/********************************************************************** + End of file +**********************************************************************/