diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-04-02 08:27:26 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-04-02 08:27:26 +0000 |
commit | 1adc05c15756c6e3f0e3239db8ddeffb68338db7 (patch) | |
tree | 54978ea0158dde9ed8235c41892fec26639a917d /wiretap/nettl.h | |
parent | 46180d236b7bf7cf6b148bfc21d1fae147a7cfc1 (diff) | |
download | wireshark-1adc05c15756c6e3f0e3239db8ddeffb68338db7.tar.gz |
From Mark C. Brown: add support for FDDI and Token Ring cards.
Set the file encapsulation the same way it's done for iptrace captures -
leave it as "unknown" to start with, and, for each packet we see, set it
to the packet's encapsulation type if the file encapsulation type is
unknown and set it to "per-packet" if the file encapsulation type is
"known" but isn't the type of that packet, so files that have all the
same type of packet have that type as the file type and packets that
*don't* have all the same type of packet have "per-packet".
svn path=/trunk/; revision=10543
Diffstat (limited to 'wiretap/nettl.h')
-rw-r--r-- | wiretap/nettl.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/wiretap/nettl.h b/wiretap/nettl.h index f8d4e1fa5e..313b97ec59 100644 --- a/wiretap/nettl.h +++ b/wiretap/nettl.h @@ -1,6 +1,6 @@ /* nettl.h * - * $Id: nettl.h,v 1.11 2004/03/27 11:16:54 guy Exp $ + * $Id: nettl.h,v 1.12 2004/04/02 08:27:26 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -80,6 +80,12 @@ #define NETTL_SUBSYS_IGELAN 0xFC #define NETTL_SUBSYS_IETHER 0xFD +/* FDDI cards */ +#define NETTL_SUBSYS_PCI_FDDI 0xB0 + +/* Token Ring cards */ +#define NETTL_SUBSYS_TOKEN 0x1F +#define NETTL_SUBSYS_PCI_TR 0xBB int nettl_open(wtap *wth, int *err, gchar **err_info); |