Wireshark-bugs: [Wireshark-bugs] [Bug 3253] nettl (HP-UX) enhancement: Add HSSN (AVIO) support

Date: Tue, 24 Feb 2009 04:51:18 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3253





--- Comment #7 from Mark C. Brown <mbrown@xxxxxx>  2009-02-24 04:51:17 PDT ---
(In reply to comment #5)
> Do you think this is wise?
> 
> +            /* We're going to assume it's ethernet if we don't recognize the
> +               subsystem -- We'll probably spew junks and core if it isn't...
> */
>             wth->file_encap = WTAP_ENCAP_PER_PACKET;
> -           phdr->pkt_encap = WTAP_ENCAP_NETTL_UNKNOWN;
> +           phdr->pkt_encap = WTAP_ENCAP_NETTL_ETHERNET;
> 

The current code handles all current HP-UX nettl subsystems.  This section only
applies if the record is a PDU.  The last series of HP-UX drivers (ixgbe, hssn,
igssn, icxgbe) and the forthcoming iexgbe, all use the standard nettl ethernet
record format.  So yes, my opinion is that this is a very safe assumption to
make.


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