1 | /* SPDX-License-Identifier: BSD-3-Clause */ |
2 | /* |
3 | * Copyright (c) 1995 Danny Gasparovski. |
4 | */ |
5 | |
6 | #ifndef IF_H |
7 | #define IF_H |
8 | |
9 | #define IF_COMPRESS 0x01 /* We want compression */ |
10 | #define IF_NOCOMPRESS 0x02 /* Do not do compression */ |
11 | #define IF_AUTOCOMP 0x04 /* Autodetect (default) */ |
12 | #define IF_NOCIDCOMP 0x08 /* CID compression */ |
13 | |
14 | #define IF_MTU 1500 |
15 | #define IF_MRU 1500 |
16 | #define IF_COMP IF_AUTOCOMP /* Flags for compression */ |
17 | |
18 | /* 2 for alignment, 14 for ethernet */ |
19 | #define IF_MAXLINKHDR (2 + ETH_HLEN) |
20 | |
21 | #endif |
22 | |