2 * Copyright (c) 2014 VMware, Inc.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at:
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
20 /* Defines the userspace specific data types
21 * for files included from user space. */
22 typedef unsigned long long uint64, uint64_t, ovs_be64, u64;
23 typedef long long int64, int64_t;
24 typedef unsigned int uint32, uint32_t, ovs_be32, u32;
25 typedef unsigned short uint16, uint16_t, ovs_be16, u16;
26 typedef unsigned char uint8, uint8_t, u8;
27 typedef uint64 __u64, __be64;
28 typedef uint32 __u32, __be32;
29 typedef uint16 __u16, __be16;
32 /* Defines the userspace specific data types for file
33 * included within kernel only. */
41 #define SIZE_MAX MAXUINT32
43 #endif /* __TYPES_H_ */