Committing in PDCP code
[o-du/l2.git] / src / 5gnrpdcp / pj_lib.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 /********************************************************************20**
20   
21         Name:     LTE PDCP file 
22     
23         Type:     C include file
24   
25         Desc:     This file contain the hash definations for PDCP 
26  
27         File:     pj_lib.h
28   
29 *********************************************************************21*/
30 /** @file pj_lib.h
31 @brief PDCP Hash definitions
32 */
33
34 #ifndef __KW_PJ_LIB_H__
35 #define __KW_PJ_LIB_H__
36
37 #if (defined(PJ_SEC_ASYNC) || defined (PJ_CMP_ASYNC))
38
39 #define OBD_SEL_LC                        0
40
41 /* Off-board Async Events */
42 #define OBD_EVT_CMP_INIT_CFM              0x90
43 #define OBD_EVT_CMP_CFM                   0x91
44 #define OBD_EVT_DECMP_CFM                 0x92
45 #define OBD_EVT_CMP_CLOSE_CFM             0x93
46 #define OBD_EVT_CMP_RESET_CFM             0x94
47
48 #define OBD_EVT_INT_INIT_CFM              0xa0
49 #define OBD_EVT_INT_PROT_CFM              0xa1
50 #define OBD_EVT_INT_VER_CFM               0xa2
51 #define OBD_EVT_INT_CLOSE_CFM             0xa3
52
53 #define OBD_EVT_CP_INIT_CFM               0xb0
54 #define OBD_EVT_UP_INIT_CFM               0xb1
55 #define OBD_EVT_CIPHER_CFM                0xb2
56 #define OBD_EVT_DECIPHER_CFM              0xb3
57 #define OBD_EVT_CIPHER_CLOSE_CFM          0xb4
58
59 #define ERRLIB                  0
60
61 #define ELIB001         (ERRLIB + 1)
62 #define ELIB002         (ERRLIB + 2)
63 #define ELIB003         (ERRLIB + 3)
64 #define ELIB004         (ERRLIB + 4)
65 #define ELIB005         (ERRLIB + 5)
66 #define ELIB006         (ERRLIB + 6)
67 #define ELIB007         (ERRLIB + 7)
68 #define ELIB008         (ERRLIB + 8)
69 #define ELIB009         (ERRLIB + 9)
70 #define ELIB010         (ERRLIB + 10)
71 #define ELIB011         (ERRLIB + 11)
72 #define ELIB012         (ERRLIB + 12)
73 #define ELIB013         (ERRLIB + 13)
74 #define ELIB014         (ERRLIB + 14)
75 #define ELIB015         (ERRLIB + 15)
76 #define ELIB016         (ERRLIB + 16)
77 #define ELIB017         (ERRLIB + 17)
78 #define ELIB018         (ERRLIB + 18)
79 #define ELIB019         (ERRLIB + 19)
80 #define ELIB020         (ERRLIB + 20)
81 #define ELIB021         (ERRLIB + 21)
82 #define ELIB022         (ERRLIB + 22)
83 #define ELIB023         (ERRLIB + 23)
84 #define ELIB024         (ERRLIB + 24)
85 #define ELIB025         (ERRLIB + 25)
86 #define ELIB026         (ERRLIB + 26)
87 #define ELIB027         (ERRLIB + 27)
88 #define ELIB028         (ERRLIB + 28)
89 #define ELIB029         (ERRLIB + 29)
90 #define ELIB030         (ERRLIB + 30)
91 #define ELIB031         (ERRLIB + 31)
92 #define ELIB032         (ERRLIB + 32)
93 #define ELIB033         (ERRLIB + 33)
94 #define ELIB034         (ERRLIB + 34)
95 #define ELIB035         (ERRLIB + 35)
96 #define ELIB036         (ERRLIB + 36)
97 #define ELIB037         (ERRLIB + 37)
98 #define ELIB038         (ERRLIB + 38)
99 #define ELIB039         (ERRLIB + 39)
100 #define ELIB040         (ERRLIB + 40)
101 #define ELIB041         (ERRLIB + 41)
102 #define ELIB042         (ERRLIB + 42)
103 #define ELIB043         (ERRLIB + 43)
104 #define ELIB044         (ERRLIB + 44)
105 #define ELIB045         (ERRLIB + 45)
106 #define ELIB046         (ERRLIB + 46)
107 #define ELIB047         (ERRLIB + 47)
108 #define ELIB048         (ERRLIB + 48)
109 #define ELIB049         (ERRLIB + 49)
110 #define ELIB050         (ERRLIB + 50)
111 #define ELIB051         (ERRLIB + 51)
112 #define ELIB052         (ERRLIB + 52)
113 #define ELIB053         (ERRLIB + 53)
114 #define ELIB054         (ERRLIB + 54)
115 #define ELIB055         (ERRLIB + 55)
116 #define ELIB056         (ERRLIB + 56)
117 #define ELIB057         (ERRLIB + 57)
118 #define ELIB058         (ERRLIB + 58)
119 #define ELIB059         (ERRLIB + 59)
120 #define ELIB060         (ERRLIB + 60)
121 #define ELIB061         (ERRLIB + 61)
122 #define ELIB062         (ERRLIB + 62)
123 #define ELIB063         (ERRLIB + 63)
124 #define ELIB064         (ERRLIB + 64)
125 #define ELIB065         (ERRLIB + 65)
126 #define ELIB066         (ERRLIB + 66)
127 #define ELIB067         (ERRLIB + 67)
128 #define ELIB068         (ERRLIB + 68)
129 #define ELIB069         (ERRLIB + 69)
130 #define ELIB070         (ERRLIB + 70)
131 #define ELIB071         (ERRLIB + 71)
132 #define ELIB072         (ERRLIB + 72)
133 #define ELIB073         (ERRLIB + 73)
134 #define ELIB074         (ERRLIB + 74)
135 #define ELIB075         (ERRLIB + 75)
136
137 #endif /* (defined(PJ_SEC_ASYNC) || defined (PJ_CMP_ASYNC)) */
138 #endif /* __KW_PJ_LIB_H__ */
139 \f  
140 /********************************************************************30**
141   
142          End of file
143 **********************************************************************/