1 #ifndef _TOOLS_LINUX_TYPES_H_
2 #define _TOOLS_LINUX_TYPES_H_
8 #define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */
22 * We define u64 as uint64_t for every architecture
23 * so that we can print it with "%"PRIx64 without getting warnings.
41 #define __bitwise__ __attribute__((bitwise))
45 #ifdef __CHECK_ENDIAN__
46 #define __bitwise __bitwise__
56 typedef __u16 __bitwise __le16
;
57 typedef __u16 __bitwise __be16
;
58 typedef __u32 __bitwise __le32
;
59 typedef __u32 __bitwise __be32
;
60 typedef __u64 __bitwise __le64
;
61 typedef __u64 __bitwise __be64
;
68 # define __aligned_u64 __u64 __attribute__((aligned(8)))
72 struct list_head
*next
, *prev
;
76 struct hlist_node
*first
;
80 struct hlist_node
*next
, **pprev
;
83 #endif /* _TOOLS_LINUX_TYPES_H_ */
This page took 0.043023 seconds and 5 git commands to generate.