Commit Graph

5 Commits

Author SHA1 Message Date
Guy Harris 099698445b Move the proto data stuff out of frame_data.[ch].
It's not tied to the frame_data structure any more, so it belongs by
itself.

Clean up some #includes while we're at it; in particular, frame_data.h
doesn't use anything related to tvbuffs, so don't have it gratuitiously
include tvbuff.h.

Change-Id: Ic32922d4a3840bac47007c5d4c546b8842245e0c
Reviewed-on: https://code.wireshark.org/review/13518
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-01-25 02:24:34 +00:00
Guy Harris 86ade2742c Dissect Ethernet-over-GFP frames with the "with the FCS" dissector.
Ethernet-over-GFP frames include the Ethernet FCS.

Ping-Bug: 9933
Change-Id: I4eb3f0428b34d7ab62b505fe20f2ba31762594f3
Reviewed-on: https://code.wireshark.org/review/13354
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-01-17 04:31:40 +00:00
John A. Thacker be0a7273f7 Correct fix for "GFP: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang"
This is the correct fix commit 0e7b7dc883.
(As committed, deleting these two lines makes the dissector return the wrong
number of bytes processed.)

Change-Id: I2e88bbc6942f6af40199d5b03a71e182c1896871
Reviewed-on: https://code.wireshark.org/review/13074
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-01-06 18:24:05 +00:00
Alexis La Goutte 0e7b7dc883 GFP: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I703d3123b2c345d0a4a5accbb5fd28cb2e1098a2
Reviewed-on: https://code.wireshark.org/review/13072
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-01-06 09:33:38 +00:00
John A. Thacker 85fd9df235 GFP: Add support for Generic Framing Procedure (ITU-T G.7041/Y.1303)
Add support for Generic Framing Procedure. Generic Framing Procedure (GFP)
is used to map octet-aligned variable length payloads (e.g. Ethernet, MPLS,
octet-aligned PPP, IP) into octet-synchronous signals such as SONET/SDH
(ITU-T G.707) and OTN (ITU-T G.709). GFP is a telecommunications industry
standard defined in ITU-T G.7041/Y.1303.
(https://www.itu.int/rec/T-REC-G.7041/)

Bug: 11961
Change-Id: Idf5b311e82b051b1ee65bde5149b3de405537b02
Reviewed-on: https://code.wireshark.org/review/13043
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-01-05 05:20:13 +00:00