Debian Codegraph @

src/utils/platform.h

raw
1 /*
2 * Platform definitions for Radiotap parser
3 * Copyright (c) 2021, Jouni Malinen <[email protected]>
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 */