Remove building with NOCRYPTO option
[minix.git] / external / bsd / libpcap / dist / pcap-dag.h
blob72c9b44470a327911ff628a785e2da5501dc3c54
1 /* $NetBSD: pcap-dag.h,v 1.2 2014/11/19 19:33:30 christos Exp $ */
3 /*
4 * pcap-dag.c: Packet capture interface for Endace DAG card.
6 * The functionality of this code attempts to mimic that of pcap-linux as much
7 * as possible. This code is only needed when compiling in the DAG card code
8 * at the same time as another type of device.
10 * Author: Richard Littin, Sean Irvine ({richard,sean}@reeltwo.com)
13 pcap_t *dag_create(const char *, char *, int *);
14 int dag_findalldevs(pcap_if_t **devlistp, char *errbuf);
16 #ifndef TYPE_AAL5
17 #define TYPE_AAL5 4
18 #endif
20 #ifndef TYPE_MC_HDLC
21 #define TYPE_MC_HDLC 5
22 #endif
24 #ifndef TYPE_MC_RAW
25 #define TYPE_MC_RAW 6
26 #endif
28 #ifndef TYPE_MC_ATM
29 #define TYPE_MC_ATM 7
30 #endif
32 #ifndef TYPE_MC_RAW_CHANNEL
33 #define TYPE_MC_RAW_CHANNEL 8
34 #endif
36 #ifndef TYPE_MC_AAL5
37 #define TYPE_MC_AAL5 9
38 #endif
40 #ifndef TYPE_COLOR_HDLC_POS
41 #define TYPE_COLOR_HDLC_POS 10
42 #endif
44 #ifndef TYPE_COLOR_ETH
45 #define TYPE_COLOR_ETH 11
46 #endif
48 #ifndef TYPE_MC_AAL2
49 #define TYPE_MC_AAL2 12
50 #endif
52 #ifndef TYPE_IP_COUNTER
53 #define TYPE_IP_COUNTER 13
54 #endif
56 #ifndef TYPE_TCP_FLOW_COUNTER
57 #define TYPE_TCP_FLOW_COUNTER 14
58 #endif
60 #ifndef TYPE_DSM_COLOR_HDLC_POS
61 #define TYPE_DSM_COLOR_HDLC_POS 15
62 #endif
64 #ifndef TYPE_DSM_COLOR_ETH
65 #define TYPE_DSM_COLOR_ETH 16
66 #endif
68 #ifndef TYPE_COLOR_MC_HDLC_POS
69 #define TYPE_COLOR_MC_HDLC_POS 17
70 #endif
72 #ifndef TYPE_AAL2
73 #define TYPE_AAL2 18
74 #endif
76 #ifndef TYPE_COLOR_HASH_POS
77 #define TYPE_COLOR_HASH_POS 19
78 #endif
80 #ifndef TYPE_COLOR_HASH_ETH
81 #define TYPE_COLOR_HASH_ETH 20
82 #endif
84 #ifndef TYPE_INFINIBAND
85 #define TYPE_INFINIBAND 21
86 #endif
88 #ifndef TYPE_IPV4
89 #define TYPE_IPV4 22
90 #endif
92 #ifndef TYPE_IPV6
93 #define TYPE_IPV6 23
94 #endif
96 #ifndef TYPE_RAW_LINK
97 #define TYPE_RAW_LINK 24
98 #endif
100 #ifndef TYPE_INFINIBAND_LINK
101 #define TYPE_INFINIBAND_LINK 25
102 #endif
106 #ifndef TYPE_PAD
107 #define TYPE_PAD 48
108 #endif