File: ip.h

package info (click to toggle)
openbgpd 8.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,176 kB
  • sloc: ansic: 51,348; sh: 11,743; yacc: 5,515; makefile: 327
file content (73 lines) | stat: -rw-r--r-- 1,408 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/*
 * Public domain
 * netinet/ip.h compatibility shim
 */

#include_next <netinet/ip.h>

#ifndef IPTOS_DSCP_CS0
#define	IPTOS_DSCP_CS0		0x00
#endif
#ifndef IPTOS_DSCP_LE
#define	IPTOS_DSCP_LE		0x04
#endif
#ifndef IPTOS_DSCP_CS1
#define	IPTOS_DSCP_CS1		0x20
#endif
#ifndef IPTOS_DSCP_AF11
#define	IPTOS_DSCP_AF11		0x28
#endif
#ifndef IPTOS_DSCP_AF12
#define	IPTOS_DSCP_AF12		0x30
#endif
#ifndef IPTOS_DSCP_AF13
#define	IPTOS_DSCP_AF13		0x38
#endif
#ifndef IPTOS_DSCP_CS2
#define	IPTOS_DSCP_CS2		0x40
#endif
#ifndef IPTOS_DSCP_AF21
#define	IPTOS_DSCP_AF21		0x48
#endif
#ifndef IPTOS_DSCP_AF22
#define	IPTOS_DSCP_AF22		0x50
#endif
#ifndef IPTOS_DSCP_AF23
#define	IPTOS_DSCP_AF23		0x58
#endif
#ifndef IPTOS_DSCP_CS3
#define	IPTOS_DSCP_CS3		0x60
#endif
#ifndef IPTOS_DSCP_AF31
#define	IPTOS_DSCP_AF31		0x68
#endif
#ifndef IPTOS_DSCP_AF32
#define	IPTOS_DSCP_AF32		0x70
#endif
#ifndef IPTOS_DSCP_AF33
#define	IPTOS_DSCP_AF33		0x78
#endif
#ifndef IPTOS_DSCP_CS4
#define	IPTOS_DSCP_CS4		0x80
#endif
#ifndef IPTOS_DSCP_AF41
#define	IPTOS_DSCP_AF41		0x88
#endif
#ifndef IPTOS_DSCP_AF42
#define	IPTOS_DSCP_AF42		0x90
#endif
#ifndef IPTOS_DSCP_AF43
#define	IPTOS_DSCP_AF43		0x98
#endif
#ifndef IPTOS_DSCP_CS5
#define	IPTOS_DSCP_CS5		0xa0
#endif
#ifndef IPTOS_DSCP_EF
#define	IPTOS_DSCP_EF		0xb8
#endif
#ifndef IPTOS_DSCP_CS6
#define	IPTOS_DSCP_CS6		0xc0
#endif
#ifndef IPTOS_DSCP_CS7
#define	IPTOS_DSCP_CS7		0xe0
#endif