Add sparse endianness annotation for RADIUS header

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2012-08-07 20:54:08 +03:00
parent d56af7f8cb
commit c50b0233ed
2 changed files with 8 additions and 8 deletions

View file

@ -18,7 +18,7 @@
struct radius_hdr {
u8 code;
u8 identifier;
u16 length; /* including this header */
be16 length; /* including this header */
u8 authenticator[16];
/* followed by length-20 octets of attributes */
} STRUCT_PACKED;