]>
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)
10 * @(#) $Header: /tcpdump/master/libpcap/pcap-dag.h,v 1.7 2008-04-04 19:37:45 guy Exp $ (LBL)
13 pcap_t
*dag_create(const char *, char *);
14 int dag_platform_finddevs(pcap_if_t
**devlistp
, char *errbuf
);
21 #define TYPE_MC_HDLC 5
32 #ifndef TYPE_MC_RAW_CHANNEL
33 #define TYPE_MC_RAW_CHANNEL 8
37 #define TYPE_MC_AAL5 9
40 #ifndef TYPE_COLOR_HDLC_POS
41 #define TYPE_COLOR_HDLC_POS 10
44 #ifndef TYPE_COLOR_ETH
45 #define TYPE_COLOR_ETH 11
49 #define TYPE_MC_AAL2 12
52 #ifndef TYPE_IP_COUNTER
53 #define TYPE_IP_COUNTER 13
56 #ifndef TYPE_TCP_FLOW_COUNTER
57 #define TYPE_TCP_FLOW_COUNTER 14
60 #ifndef TYPE_DSM_COLOR_HDLC_POS
61 #define TYPE_DSM_COLOR_HDLC_POS 15
64 #ifndef TYPE_DSM_COLOR_ETH
65 #define TYPE_DSM_COLOR_ETH 16
68 #ifndef TYPE_COLOR_MC_HDLC_POS
69 #define TYPE_COLOR_MC_HDLC_POS 17
76 #ifndef TYPE_COLOR_HASH_POS
77 #define TYPE_COLOR_HASH_POS 19
80 #ifndef TYPE_COLOR_HASH_ETH
81 #define TYPE_COLOR_HASH_ETH 20
84 #ifndef TYPE_INFINIBAND
85 #define TYPE_INFINIBAND 21
97 #define TYPE_RAW_LINK 24
100 #ifndef TYPE_INFINIBAND_LINK
101 #define TYPE_INFINIBAND_LINK 25