u32 vs. __u32 (and what is __attribute__((bitwise) ?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

Is there a difference between u32 to __u32 ?
(I didn't see any in the source).

Maybe There is a best convention which to use ?
should I use u32 or __u32 ?

(I need data types that will be fixed in size no matter the platform,
for extracting data from binary structures)

and what are __le16 and __be16 ?
they seems to be the same. they use __attribute__((bitwise)).
what is this attribute ?

Thank You
naziir

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux