llvm-libunwind: use conventional (non-Darwin) X86 register numbers
[freebsd-src.git] / contrib / libpcap / pcap-dag.h
blob68520dc8214d423ea4a374205e9a3161c13c7da0
1 /*
2 * pcap-dag.c: Packet capture interface for Endace DAG card.
4 * The functionality of this code attempts to mimic that of pcap-linux as much
5 * as possible. This code is only needed when compiling in the DAG card code
6 * at the same time as another type of device.
8 * Author: Richard Littin, Sean Irvine ({richard,sean}@reeltwo.com)
9 */
11 pcap_t *dag_create(const char *, char *, int *);
12 int dag_findalldevs(pcap_if_t **devlistp, char *errbuf);
14 #ifndef TYPE_AAL5
15 #define TYPE_AAL5 4
16 #endif
18 #ifndef TYPE_MC_HDLC
19 #define TYPE_MC_HDLC 5
20 #endif
22 #ifndef TYPE_MC_RAW
23 #define TYPE_MC_RAW 6
24 #endif
26 #ifndef TYPE_MC_ATM
27 #define TYPE_MC_ATM 7
28 #endif
30 #ifndef TYPE_MC_RAW_CHANNEL
31 #define TYPE_MC_RAW_CHANNEL 8
32 #endif
34 #ifndef TYPE_MC_AAL5
35 #define TYPE_MC_AAL5 9
36 #endif
38 #ifndef TYPE_COLOR_HDLC_POS
39 #define TYPE_COLOR_HDLC_POS 10
40 #endif
42 #ifndef TYPE_COLOR_ETH
43 #define TYPE_COLOR_ETH 11
44 #endif
46 #ifndef TYPE_MC_AAL2
47 #define TYPE_MC_AAL2 12
48 #endif
50 #ifndef TYPE_IP_COUNTER
51 #define TYPE_IP_COUNTER 13
52 #endif
54 #ifndef TYPE_TCP_FLOW_COUNTER
55 #define TYPE_TCP_FLOW_COUNTER 14
56 #endif
58 #ifndef TYPE_DSM_COLOR_HDLC_POS
59 #define TYPE_DSM_COLOR_HDLC_POS 15
60 #endif
62 #ifndef TYPE_DSM_COLOR_ETH
63 #define TYPE_DSM_COLOR_ETH 16
64 #endif
66 #ifndef TYPE_COLOR_MC_HDLC_POS
67 #define TYPE_COLOR_MC_HDLC_POS 17
68 #endif
70 #ifndef TYPE_AAL2
71 #define TYPE_AAL2 18
72 #endif
74 #ifndef TYPE_COLOR_HASH_POS
75 #define TYPE_COLOR_HASH_POS 19
76 #endif
78 #ifndef TYPE_COLOR_HASH_ETH
79 #define TYPE_COLOR_HASH_ETH 20
80 #endif
82 #ifndef TYPE_INFINIBAND
83 #define TYPE_INFINIBAND 21
84 #endif
86 #ifndef TYPE_IPV4
87 #define TYPE_IPV4 22
88 #endif
90 #ifndef TYPE_IPV6
91 #define TYPE_IPV6 23
92 #endif
94 #ifndef TYPE_RAW_LINK
95 #define TYPE_RAW_LINK 24
96 #endif
98 #ifndef TYPE_INFINIBAND_LINK
99 #define TYPE_INFINIBAND_LINK 25
100 #endif
104 #ifndef TYPE_PAD
105 #define TYPE_PAD 48
106 #endif