Wireshark-bugs: [Wireshark-bugs] [Bug 6026] New: Enhance Snoop file reader to include 10Gbit dat
Date: Wed, 15 Jun 2011 16:17:17 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6026

           Summary: Enhance Snoop file reader to include 10Gbit datalink
                    value
           Product: Wireshark
           Version: 1.7.x (Experimental)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Low
         Component: Wireshark
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Build Information:
Version 1.7.0 (SVN Rev 37675 from /trunk)

Copyright 1998-2011 Gerald Combs <[email protected]> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (32-bit) with GTK+ 2.22.1, with GLib 2.26.1, with WinPcap (version
unknown), with libz 1.2.5, without POSIX capabilities, without libpcre, with
SMI
0.4.8, with c-ares 1.7.1, with Lua 5.1, without Python, with GnuTLS 2.10.3,
with
Gcrypt 1.4.6, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built
Jun
15 2011), with AirPcap.

Running on 64-bit Windows 7, build 7600, with WinPcap version 4.1.2 (packet.dll
version 4.1.0.2001), based on libpcap version 1.0 branch 1_0_rel0b (20091008),
GnuTLS 2.10.3, Gcrypt 1.4.6, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 30729

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.
--
Fluke Networks has just introduced OptiView XG which produces 10Gbit captures
in Snoop format.  The datalink field in the Snoop header has a value of 19 to
indicate 10Gbit link speed over Ethernet.  I would very much like Wireshark to
be able to read these files.  I have attached a file taken with the instrument.
 My patch includes values for 40Gbit and 100Gbit to be forward looking.  But if
you would prefer, those can be omitted.  No standards body has claimed
authority over the values for the Snoop datalink value.  I consider the
Wireshark source the authority here.

Patch:
C:\WireShark>svn diff wiretap/snoop.c
Index: wiretap/snoop.c
===================================================================
--- wiretap/snoop.c     (revision 37675)
+++ wiretap/snoop.c     (working copy)
@@ -245,6 +245,9 @@
                WTAP_ENCAP_UNKNOWN,     /* Other */
                WTAP_ENCAP_UNKNOWN,     /* Other */
                WTAP_ENCAP_IEEE_802_11_WITH_RADIO,
+               WTAP_ENCAP_ETHERNET,    /* 10 Gigabit Ethernet */
+               WTAP_ENCAP_ETHERNET,    /* 40 Gigabit Ethernet */
+               WTAP_ENCAP_ETHERNET,    /* 100 Gigabit Ethernet */
        };
        #define NUM_SHOMITI_ENCAPS (sizeof shomiti_encap / sizeof
shomiti_encap[0])
        int file_encap;

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.