What does typedef __u16 __bitwise __le16;the Linux kernel mean ?
typedef __u16 __bitwise __le16;
in fact, what does le mean here? I vaguely see that this is an unsigned 16-bit int?
Thank you for your help.
I found that ( source ) and which
Type identifiers
u16, u32 u64, , , . , , , () .
, , linux/kernel.h.
__le16 __le32 __le64 __be16 __be32 __be64
: endian
: . @Pben answer
Documentation/sparse.txt:
gcc __bitwise/__ force stuff , , gcc.
, :
. .
.
typedef __u16 __bitwise __my_type1; typedef __u16 __bitwise __my_type2;
Sparse , __my_type1 __my_type2.
with. __bitwise simply means order sensitivity, it does not indicate big-endian or little-endian.
I'm right?