1321936Shselasky/*-
2321936Shselasky * Copyright (c) 2010 Isilon Systems, Inc.
3321936Shselasky * Copyright (c) 2010 iX Systems, Inc.
4321936Shselasky * Copyright (c) 2010 Panasas, Inc.
5321936Shselasky * All rights reserved.
6321936Shselasky *
7321936Shselasky * Redistribution and use in source and binary forms, with or without
8321936Shselasky * modification, are permitted provided that the following conditions
9321936Shselasky * are met:
10321936Shselasky * 1. Redistributions of source code must retain the above copyright
11321936Shselasky *    notice unmodified, this list of conditions, and the following
12321936Shselasky *    disclaimer.
13321936Shselasky * 2. Redistributions in binary form must reproduce the above copyright
14321936Shselasky *    notice, this list of conditions and the following disclaimer in the
15321936Shselasky *    documentation and/or other materials provided with the distribution.
16321936Shselasky *
17321936Shselasky * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18321936Shselasky * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19321936Shselasky * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20321936Shselasky * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21321936Shselasky * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22321936Shselasky * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23321936Shselasky * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24321936Shselasky * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25321936Shselasky * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26321936Shselasky * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27321936Shselasky */
28321936Shselasky#ifndef	_INFINIBAND_TYPES_H_
29321936Shselasky#define	_INFINIBAND_TYPES_H_
30321936Shselasky
31321936Shselasky#include <sys/cdefs.h>
32321936Shselasky#include <sys/types.h>
33321936Shselasky
34321936Shselaskytypedef int8_t s8;
35321936Shselaskytypedef uint8_t u8;
36321936Shselaskytypedef int8_t __s8;
37321936Shselaskytypedef uint8_t __u8;
38321936Shselasky
39321936Shselaskytypedef int16_t s16;
40321936Shselaskytypedef uint16_t u16;
41321936Shselaskytypedef int16_t __s16;
42321936Shselaskytypedef uint16_t __u16;
43321936Shselasky
44321936Shselaskytypedef int32_t s32;
45321936Shselaskytypedef uint32_t u32;
46321936Shselaskytypedef int32_t __s32;
47321936Shselaskytypedef uint32_t __u32;
48321936Shselasky
49321936Shselaskytypedef int64_t s64;
50321936Shselaskytypedef uint64_t u64;
51321936Shselaskytypedef int64_t __s64;
52321936Shselaskytypedef uint64_t __u64;
53321936Shselasky
54321936Shselaskytypedef uint16_t __le16;
55321936Shselaskytypedef uint16_t __be16;
56321936Shselaskytypedef uint32_t __le32;
57321936Shselaskytypedef uint32_t __be32;
58321936Shselaskytypedef uint64_t __le64;
59321936Shselaskytypedef uint64_t __be64;
60321936Shselasky
61321936Shselasky#endif	/* _INFINIBAND_TYPES_H_ */
62