root / slirp / if.h @ 64e58fe5
History | View | Annotate | Download (636 Bytes)
1 | f0cbd3ec | bellard | /*
|
---|---|---|---|
2 | f0cbd3ec | bellard | * Copyright (c) 1995 Danny Gasparovski.
|
3 | 5fafdf24 | ths | *
|
4 | 5fafdf24 | ths | * Please read the file COPYRIGHT for the
|
5 | f0cbd3ec | bellard | * terms and conditions of the copyright.
|
6 | f0cbd3ec | bellard | */
|
7 | f0cbd3ec | bellard | |
8 | f0cbd3ec | bellard | #ifndef _IF_H_
|
9 | f0cbd3ec | bellard | #define _IF_H_
|
10 | f0cbd3ec | bellard | |
11 | f0cbd3ec | bellard | #define IF_COMPRESS 0x01 /* We want compression */ |
12 | f0cbd3ec | bellard | #define IF_NOCOMPRESS 0x02 /* Do not do compression */ |
13 | f0cbd3ec | bellard | #define IF_AUTOCOMP 0x04 /* Autodetect (default) */ |
14 | f0cbd3ec | bellard | #define IF_NOCIDCOMP 0x08 /* CID compression */ |
15 | f0cbd3ec | bellard | |
16 | 9634d903 | blueswir1 | #define IF_MTU 1500 |
17 | 9634d903 | blueswir1 | #define IF_MRU 1500 |
18 | 9634d903 | blueswir1 | #define IF_COMP IF_AUTOCOMP /* Flags for compression */ |
19 | 9634d903 | blueswir1 | |
20 | 0d62c4cf | Jan Kiszka | /* 2 for alignment, 14 for ethernet, 40 for TCP/IP */
|
21 | 9634d903 | blueswir1 | #define IF_MAXLINKHDR (2 + 14 + 40) |
22 | 9634d903 | blueswir1 | |
23 | f0cbd3ec | bellard | #define ifs_init(ifm) ((ifm)->ifs_next = (ifm)->ifs_prev = (ifm))
|
24 | f0cbd3ec | bellard | |
25 | f0cbd3ec | bellard | #endif |