xref: /freebsd/contrib/wpa/src/utils/platform.h (revision af23369a6deaaeb612ab266eb88b8bb8d560c322)
1 /*
2  * Platform definitions for Radiotap parser
3  * Copyright (c) 2021, Jouni Malinen <j@w1.fi>
4  *
5  * This software may be distributed under the terms of the BSD license.
6  * See README for more details.
7  */
8 
9 #ifndef PLATFORM_H
10 #define PLATFORM_H
11 
12 #include "includes.h"
13 #include "common.h"
14 
15 #define get_unaligned_le16(p)	WPA_GET_LE16((void *) (p))
16 #define get_unaligned_le32(p)	WPA_GET_LE32((void *) (p))
17 
18 #endif /* PLATFORM_H */
19