aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-01-31 01:02:14 +0000
committerGuy Harris <guy@alum.mit.edu>2003-01-31 01:02:14 +0000
commitf88816e60f1f14f2662c20740db6ecf3764e82b6 (patch)
tree4fc64f4ea929901c9f1cc62467bfce72435baa2b /wiretap/wtap.c
parent1c898c8a11d0d008719d2d563b65d7c362e530ce (diff)
downloadwireshark-f88816e60f1f14f2662c20740db6ecf3764e82b6.tar.gz
wireshark-f88816e60f1f14f2662c20740db6ecf3764e82b6.tar.bz2
wireshark-f88816e60f1f14f2662c20740db6ecf3764e82b6.zip
Add WTAP_ENCAP_FRELAY_WITH_PHDR for use with Frame Relay capture files
that have direction information. Support writing WTAP_ENCAP_FRELAY_WITH_PHDR and WTAP_ENCAP_PPP_WITH_PHDR captures out in libpcap format - we throw away the direction information, but so it goes. When reading/writing Windows Sniffer format, read and write the direction flag. svn path=/trunk/; revision=7052
Diffstat (limited to 'wiretap/wtap.c')
-rw-r--r--wiretap/wtap.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/wiretap/wtap.c b/wiretap/wtap.c
index b7cb34f826..eb152beec8 100644
--- a/wiretap/wtap.c
+++ b/wiretap/wtap.c
@@ -1,6 +1,6 @@
/* wtap.c
*
- * $Id: wtap.c,v 1.79 2003/01/23 04:04:01 guy Exp $
+ * $Id: wtap.c,v 1.80 2003/01/31 01:02:12 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
@@ -131,6 +131,9 @@ static const struct encap_type_info {
/* WTAP_ENCAP_FRELAY */
{ "Frame Relay", "frelay" },
+ /* WTAP_ENCAP_FRELAY_WITH_PHDR */
+ { "Frame Relay with Directional Info", "frelay-with-direction" },
+
/* WTAP_ENCAP_CHDLC */
{ "Cisco HDLC", "chdlc" },