c2d16c36942bf6a473900f5770f519ba039ab2d6
[o-du/l2.git] / src / du_app / F1AP / f1ap_msg_hdl.h
1 /*******************************************************************************
2 ################################################################################
3 #   Copyright (c) [2017-2019] [Radisys]                                        #
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
19 /* This file contains all F1AP message handler related functionality */
20 #include<stdio.h>
21 #include<sys/types.h>
22 #include<ProtocolIE-Field.h>
23 #include<string.h>
24 #include "ProtocolExtensionField.h"
25 #include "F1AP-PDU.h"
26
27 #include "envopt.h"        /* Environment options */
28 #include "envdep.h"        /* Environment dependent */
29 #include "envind.h"        /* Environment independent */
30 #include "gen.h"           /* General */
31 #include "ssi.h"           /* System services */
32 #include "ss_queue.h"
33 #include "ss_task.h"
34 #include "ss_msg.h"
35
36 #include "gen.x"           /* General */
37 #include "ssi.x"   /* System services */
38 #include "ss_queue.x"
39 #include "ss_task.x"
40 #include "ss_msg.x"
41
42 #define ENC_BUF_MAX_LEN 100
43
44 extern char encBuf[ENC_BUF_MAX_LEN];
45 int  encBufSize;
46
47 S16 BuildF1SetupReq();
48 void F1InmsgHdlr(Buffer *mBuf);
49
50 #define ENCODE_FAIL -1
51 #define TRANS_ID 1
52 #define RRC_SIZE 1
53
54 /**********************************************************************
55          End of file
56 **********************************************************************/