aboutsummaryrefslogtreecommitdiffstats
path: root/capture.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-12-08 22:35:30 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-12-08 22:35:30 +0000
commit5af0a7cc1627d9e86bc8d9e0320990c36a1c95db (patch)
treebf80dca00dfe10d6592fa23968a12fecc1ecb28a /capture.c
parentd8bacf75611bd7172d9ad33642dc57af1fee7723 (diff)
Add a capture routine for IP-over-FC, and call it from the capture code.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6767 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture.c')
-rw-r--r--capture.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/capture.c b/capture.c
index 3186857a58..e7b0dde4c4 100644
--- a/capture.c
+++ b/capture.c
@@ -1,7 +1,7 @@
/* capture.c
* Routines for packet capture windows
*
- * $Id: capture.c,v 1.195 2002/10/19 07:52:12 guy Exp $
+ * $Id: capture.c,v 1.196 2002/12/08 22:35:30 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -160,6 +160,7 @@
#include "packet-ieee80211.h"
#include "packet-chdlc.h"
#include "packet-prism.h"
+#include "packet-ipfc.h"
#ifdef WIN32
#include "capture-wpcap.h"
@@ -2246,6 +2247,9 @@ capture_pcap_cb(guchar *user, const struct pcap_pkthdr *phdr,
case WTAP_ENCAP_ATM_SNIFFER:
capture_atm(&pseudo_header, pd, whdr.caplen, &ld->counts);
break;
+ case WTAP_ENCAP_IP_OVER_FC:
+ capture_ipfc(pd, whdr.caplen, &ld->counts);
+ break;
/* XXX - some ATM drivers on FreeBSD might prepend a 4-byte ATM
pseudo-header to DLT_ATM_RFC1483, with LLC header following;
we might have to implement that at some point. */