Commit Graph

27 Commits

Author SHA1 Message Date
Guy Harris b4d3b4244b Get rid of some other uses of ethertype() for protocols that don't have
a trailer.

Clean up the NHRP dissector's handling of the protocol ID to fully
implement RFC 2332 (and mention that 2332 is the RFC for NHRP).  Don't
compute the checksum unless we have all the packet data, and don't use
the captured length as the actual packet length.  Check for an invalid
extension offset value.  Get rid of some unneeded
tvb_ensure_bytes_exist() calls.  Dissect - and set the columns -
regardless of whether we're building the protocol tree.  Mark the packet
in error reports as an error packet.

svn path=/trunk/; revision=28273
2009-05-05 03:50:06 +00:00
Guy Harris 4992896fa2 Don't use ethertype() - it's a bit of overkill.
svn path=/trunk/; revision=28254
2009-05-03 01:16:34 +00:00
Guy Harris 3593815455 Add the mesh header dissector for OLPC mesh network packets, and have
the LLC dissector recognize and handle those packets.

svn path=/trunk/; revision=28253
2009-05-02 21:51:51 +00:00
Guy Harris 701612195f Clean up white space.
svn path=/trunk/; revision=28236
2009-05-01 18:09:51 +00:00
Jaap Keuter 607981ea05 From Carles Kishimoto:
Dissector for the proprietary protocol FEFD (Far End Failure Detction) from Force10networks.

svn path=/trunk/; revision=27571
2009-03-01 15:32:17 +00:00
Jaap Keuter 23df06b7a6 From Steve Karg:
Added MS/TP decoding for the WTAP BACnet MS/TP datalink, and added decoding for
BACnet MS/TP datalink from a Cimetrics U+4 which spews SNAP protocol packets.

svn path=/trunk/; revision=25291
2008-05-14 05:44:42 +00:00
Jaap Keuter f94b46363e Turbocell dissector, initially by Colin Slater for Ethereal 0.10.7, extended with help from sample capture by Jerome Poulin.
svn path=/trunk/; revision=24886
2008-04-10 23:56:10 +00:00
Anders Broman 1950ffc214 Apply the small performance enhancment patches for:
- if offset is 0, tvb_length is the same as tvb_length_remaining, just faster.
Replace 
- col_append_fstr() with faster  col_append_str() 
- col_add_str() with col_set_str()
when it's safe

svn path=/trunk/; revision=23252
2007-10-23 05:50:00 +00:00
Richard van der Hoff cf9760900c From Chris Maynard <christopher.maynard@gtech.com>: Incorrect display filter field naming convention.
svn path=/trunk/; revision=23087
2007-10-07 23:30:14 +00:00
Ronnie Sahlberg 494e873eb0 move the ITL and the ITLQ structure to packet-scsi.h where it belongs
svn path=/trunk/; revision=19492
2006-10-11 10:38:59 +00:00
Anders Broman 06bdcadce0 From David Pelton:
Add  the ieee802a_add_oui function to libwireshark.def, and also adds the OUI that I am using to a couple of internal lists (in epan/oui.h and dissectors/packet-llc.c).

From me:
Resorted the oui  lists, some witespace changes and added Ericsson OUI:s.

svn path=/trunk/; revision=19262
2006-09-20 06:13:02 +00:00
Ronnie Sahlberg feab79e328 change a whole bunch of ethereal into wireshark
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00
Ronnie Sahlberg 60e65f4869 updates to get the fc and scsi dissectors
and get rid of some breakage in the design


let the scsi transport keep track of itl (initiator, target, lun) matching
and let it pass a itl structure to scsi   that is persistent across packets.

let scsi use this itl structure to track device type for a specific itl instead of the (must have been) broken hashtable.

update both iscsi and fc to track the itl structure for scsi and schange the scsi signature to accept itl as a parameter.


more to come.



svn path=/trunk/; revision=17942
2006-04-21 11:08:24 +00:00
Anders Broman 480e4e949a From Martin André
the attached patch implements a dissector for the Fast Handovers for Mobile IPv6 protocol (RFC4068). This patch was produced against version 0.10.13 and extends the following files:
- packet-icmpv6.c
- packet-ipv6.h
- packet-mip6.c
- packet-mip6.h

svn path=/trunk/; revision=16302
2005-10-25 06:00:53 +00:00
Guy Harris b7b80d94be Move a pile of protocol-related headers from the top-level source
directory to the epan directory.  Some of them should perhaps ultimately
be moved to epan/dissectors, if they pertain only to stuff exported by a
particular dissector.

Fix Gerald's e-mail address in files we're moving.

svn path=/trunk/; revision=15844
2005-09-17 00:02:31 +00:00
Jörg Mayer 9653fbb81b Add classification of an aironet proprietary L2 protocol
in both, Ethernet V2 and IEEE802.3 SNAP packets.

svn path=/trunk/; revision=15561
2005-08-27 05:17:35 +00:00
Ulf Lamping 77a3d0991c add OUI's for Siemens and Xerox (and a hyperlink to the IEEE page)
svn path=/trunk/; revision=15532
2005-08-25 21:01:42 +00:00
Jörg Mayer 39e5ff4ed1 Add Extreme OUI, reorder alphabetically
svn path=/trunk/; revision=15297
2005-08-11 23:18:46 +00:00
Jörg Mayer 34493e8f9e char -> const char warning fixes
svn path=/trunk/; revision=15126
2005-07-28 07:53:38 +00:00
Ulf Lamping 05f0ad566e "fix" bug #244: the implementation was correct but a bit hard to understand. I've added some small explanations, so it should be understandable somewhat better
svn path=/trunk/; revision=14972
2005-07-20 22:11:48 +00:00
Guy Harris 839dd9002c Add a capture_fr() routine when capturing on Frame Relay.
svn path=/trunk/; revision=13845
2005-03-21 03:55:50 +00:00
Guy Harris 586da2f14e Handle the case where nobody registers any OUIs and oui_info_table is
thus null.

svn path=/trunk/; revision=12966
2005-01-06 08:21:25 +00:00
Ulf Lamping 78ff68d4b5 a lot of warnings removed, most of them about pointer to int casts without using the appropriate GLib macros
svn path=/trunk/; revision=12832
2004-12-25 13:49:30 +00:00
Guy Harris 7c3027c5e9 Export two versions of the Ethereal dissector, for use with encapsulated
Ethernet frames, one for encapsulated frames that include an FCS and one
for encapsulated frames that don't include an FCS.  Use the appropriate
versions.

In the ISL dissector, do the same sort of processing we do in the
Ethernet dissector to figure out whether the frame has a trailer or not
and whether it has an FCS or not.

svn path=/trunk/; revision=12593
2004-11-24 09:13:52 +00:00
Guy Harris c6bd115a94 From Mark C. Brown: add HP's OUI.
Update Gerald's e-mail address.

svn path=/trunk/; revision=12256
2004-10-11 07:15:08 +00:00
Guy Harris 53ab91826b Move the xDLC helper routines into epan.
svn path=/trunk/; revision=12127
2004-09-28 23:48:02 +00:00
Gilbert Ramirez 669db206cb Move dissectors to epan/dissectors directory.
Also move ncp222.py, x11-fields, process-x11-fields.pl,
make-reg-dotc, and make-reg-dotc.py.

Adjust #include lines in files that include packet-*.h
files.

svn path=/trunk/; revision=11410
2004-07-18 18:06:47 +00:00