~ubuntu-branches/ubuntu/wily/openvswitch/wily

« back to all changes in this revision

Viewing changes to datapath-windows/ovsext/Types.h

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2015-08-10 11:35:15 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20150810113515-575vj06oq29emxsn
Tags: 2.4.0~git20150810.97bab95-0ubuntu1
* New upstream snapshot from 2.4 branch:
  - d/*: Align any relevant packaging changes with upstream.
* d/*: wrap-and-sort.
* d/openvswitch-{common,vswitch}.install: Correct install location for
  bash completion files.
* d/tests/openflow.py: Explicitly use ovs-testcontroller as provided
  by 2.4.0 release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (c) 2014 VMware, Inc.
 
3
 *
 
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:
 
7
 *
 
8
 *     http://www.apache.org/licenses/LICENSE-2.0
 
9
 *
 
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.
 
15
 */
 
16
 
 
17
#ifndef __TYPES_H_
 
18
#define __TYPES_H_ 1
 
19
 
 
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;
 
30
typedef uint8 __u8;
 
31
 
 
32
/* Defines the  userspace specific data types for file
 
33
 * included within kernel only. */
 
34
typedef UINT8 BE8;
 
35
typedef UINT16 BE16;
 
36
typedef UINT32 BE32;
 
37
typedef UINT64 BE64;
 
38
 
 
39
#define ETH_ALEN 6
 
40
 
 
41
#define SIZE_MAX MAXUINT32
 
42
 
 
43
#endif /* __TYPES_H_ */