aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-11-01 02:30:18 +0000
committerGuy Harris <guy@alum.mit.edu>2003-11-01 02:30:18 +0000
commit219b6cefa2380d726788967886907b9aa751dfdc (patch)
tree8cfd28761860f069df6b8e3ebe81a3dbee7dd825 /capture.h
parent9ac0cce997ff284748ba351ab6abcfffce0eede4 (diff)
Based on a patch from Brian Fundakowski Feldman, add support for setting
link-layer type when capturing, using the "pcap_set_datalink()" and related APIs. svn path=/trunk/; revision=8848
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/capture.h b/capture.h
index b4ce1fb26a..609220dc62 100644
--- a/capture.h
+++ b/capture.h
@@ -1,7 +1,7 @@
/* capture.h
* Definitions for packet capture windows
*
- * $Id: capture.h,v 1.36 2003/09/15 23:15:31 guy Exp $
+ * $Id: capture.h,v 1.37 2003/11/01 02:30:14 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -50,6 +50,8 @@ typedef struct {
guint32 ringbuffer_num_files; /* Number of ring buffer files */
gboolean has_ring_duration; /* TRUE if ring duration specified */
gint32 ringbuffer_duration; /* Switch file after n seconds */
+ int linktype; /* Data link type to use, or -1 for
+ "use default" */
} capture_options;
extern capture_options capture_opts;