]>
The Tcpdump Group git mirrors - libpcap/blob - pcap-dag.h
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)
11 pcap_t
*dag_create(const char *, char *, int *);
12 int dag_findalldevs(pcap_if_t
**devlistp
, char *errbuf
);
19 #define TYPE_MC_HDLC 5
30 #ifndef TYPE_MC_RAW_CHANNEL
31 #define TYPE_MC_RAW_CHANNEL 8
35 #define TYPE_MC_AAL5 9
38 #ifndef TYPE_COLOR_HDLC_POS
39 #define TYPE_COLOR_HDLC_POS 10
42 #ifndef TYPE_COLOR_ETH
43 #define TYPE_COLOR_ETH 11
47 #define TYPE_MC_AAL2 12
50 #ifndef TYPE_IP_COUNTER
51 #define TYPE_IP_COUNTER 13
54 #ifndef TYPE_TCP_FLOW_COUNTER
55 #define TYPE_TCP_FLOW_COUNTER 14
58 #ifndef TYPE_DSM_COLOR_HDLC_POS
59 #define TYPE_DSM_COLOR_HDLC_POS 15
62 #ifndef TYPE_DSM_COLOR_ETH
63 #define TYPE_DSM_COLOR_ETH 16
66 #ifndef TYPE_COLOR_MC_HDLC_POS
67 #define TYPE_COLOR_MC_HDLC_POS 17
74 #ifndef TYPE_COLOR_HASH_POS
75 #define TYPE_COLOR_HASH_POS 19
78 #ifndef TYPE_COLOR_HASH_ETH
79 #define TYPE_COLOR_HASH_ETH 20
82 #ifndef TYPE_INFINIBAND
83 #define TYPE_INFINIBAND 21
95 #define TYPE_RAW_LINK 24
98 #ifndef TYPE_INFINIBAND_LINK
99 #define TYPE_INFINIBAND_LINK 25