From mboxrd@z Thu Jan 1 00:00:00 1970 From: j.neuschaefer@gmx.net (Jonathan =?utf-8?Q?Neusch=C3=A4fer?=) Date: Tue, 25 Oct 2011 16:25:12 +0200 Subject: Purpose of using __be16 inside a data structure? In-Reply-To: References: Message-ID: <20111025142511.GA1833@debian.debian> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Mon, Oct 24, 2011 at 12:54:41PM -0700, Kevin O'Gorman wrote: > On Tue, Aug 9, 2011 at 12:25 AM, ??? wrote: > > > Hi all, > > > > Please tell me the difference between using unsigned short and __be16 to > > declear a variable in a data structure. [...] > accomplishes this goal. From the name, I expect this to be a 16-bit type. > It may have other attributes, such as a specific endianness (unusual except Yes, it's for 16-bit big-endian data. -- Jonathan Neusch?fer