aboutsummaryrefslogtreecommitdiffstats
path: root/packet-eth.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2003-01-22 01:18:03 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2003-01-22 01:18:03 +0000
commit70c09d2c4392cd83cb68cfe71b06f28c2ed8e919 (patch)
treefc618968518a3d0ab85273e5b149c70b25814f62 /packet-eth.h
parent6514627fb509d9270dffd1ccf40253b35bbd6457 (diff)
reate a TAP for Ethernet
svn path=/trunk/; revision=6971
Diffstat (limited to 'packet-eth.h')
-rw-r--r--packet-eth.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/packet-eth.h b/packet-eth.h
index 022332fdf2..82001e8d85 100644
--- a/packet-eth.h
+++ b/packet-eth.h
@@ -1,6 +1,6 @@
/* packet-eth.h
*
- * $Id: packet-eth.h,v 1.8 2002/08/28 21:00:13 jmayer Exp $
+ * $Id: packet-eth.h,v 1.9 2003/01/22 01:18:03 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -24,6 +24,12 @@
#ifndef __PACKET_ETH_H__
#define __PACKET_ETH_H__
+typedef struct _eth_hdr {
+ gchar src[6];
+ gchar dst[6];
+ guint16 type;
+} eth_hdr;
+
void capture_eth(const guchar *, int, int, packet_counts *);
#endif