Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
folium-app
GitHub Repository: folium-app/Folium
Path: blob/a-new-beginning/SharedDependencies/Sources/libslirp/include/if.h
2 views
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_DEFAULT 1500
15
#define IF_MTU_MIN 68
16
#define IF_MTU_MAX 65521
17
#define IF_MRU_DEFAULT 1500
18
#define IF_MRU_MIN 68
19
#define IF_MRU_MAX 65521
20
#define IF_COMP IF_AUTOCOMP /* Flags for compression */
21
22
/* 2 for alignment, 14 for ethernet */
23
#define IF_MAXLINKHDR (2 + ETH_HLEN)
24
25
#endif
26
27