Added endianness annotation for sparse

This commit is contained in:
Jouni Malinen 2009-01-03 21:00:38 +02:00
parent 5306f43fc3
commit 2eba45c8de
3 changed files with 7 additions and 7 deletions

View file

@ -38,7 +38,7 @@ struct l2_packet_data;
struct l2_ethhdr {
u8 h_dest[ETH_ALEN];
u8 h_source[ETH_ALEN];
u16 h_proto;
be16 h_proto;
} STRUCT_PACKED;
#ifdef _MSC_VER