Hai Shalom | 6084025 | 2021-02-19 19:02:11 -0800 | [diff] [blame] | 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 | |
Dmitry Shmidt | f9bdef9 | 2014-04-25 10:46:36 -0700 | [diff] [blame] | 9 | #ifndef PLATFORM_H |
| 10 | #define PLATFORM_H |
Dmitry Shmidt | 7dba0e5 | 2014-04-14 10:49:15 -0700 | [diff] [blame] | 11 | |
Dmitry Shmidt | f9bdef9 | 2014-04-25 10:46:36 -0700 | [diff] [blame] | 12 | #include "includes.h" |
| 13 | #include "common.h" |
| 14 | |
Hai Shalom | 6084025 | 2021-02-19 19:02:11 -0800 | [diff] [blame] | 15 | #define get_unaligned_le16(p) WPA_GET_LE16((void *) (p)) |
| 16 | #define get_unaligned_le32(p) WPA_GET_LE32((void *) (p)) |
Dmitry Shmidt | f9bdef9 | 2014-04-25 10:46:36 -0700 | [diff] [blame] | 17 | |
| 18 | #endif /* PLATFORM_H */ |