FD.io VPP  v16.09
Vector Packet Processing
fix_types.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Cisco and/or its affiliates.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at:
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 #ifndef __included_fix_types_h__
16 #define __included_fix_types_h__
17 
18 /* deal with various imported type choices */
19 #define cerrno int
20 #define trans_layer_rc int
21 #define EOK 0
22 #define CERR_IS_NOTOK(a) (a != EOK)
23 #define PACKED
24 #define OK_pushHW EOK
25 #define Not_OK (-1)
26 
27 typedef unsigned char uint8_t;
28 typedef unsigned short int uint16_t;
29 typedef unsigned int uint32_t;
30 
31 #ifdef __powerpc64__
32 typedef unsigned long uint64_t;
33 #endif
34 
35 #endif /* __included_fix_types_h__ */
unsigned int uint32_t
Definition: fix_types.h:29
unsigned char uint8_t
Definition: fix_types.h:27
unsigned short int uint16_t
Definition: fix_types.h:28