Commit graph

42 commits

Author SHA1 Message Date
Alexis La Goutte
52594e8d9b From Francesco Fondelli via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6966
MPLS-TP Protection State Coordination (PSC) Protocol, RFC 6378

svn path=/trunk/; revision=41635
2012-03-18 11:41:18 +00:00
Alexis La Goutte
55ca59ffb9 From Francesco Fondelli via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6787
Move Y.1711 out of MPLS dissector

ITU-T Y.1711 code was "embedded" into the MPLS dissector in 2006. 
This patch moves it into its own dissector.

From me :
Fix a Clang warning

svn path=/trunk/; revision=41486
2012-03-11 19:05:32 +00:00
Alexis La Goutte
af2910972a Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41307
2012-03-02 11:05:50 +00:00
Alexis La Goutte
b5efd24a00 From Francesco Fondelli via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6881
Support for MPLS Packet Loss and Delay Measurement, RFC 6374

Support for MPLS Packet Loss and Delay Measurement, RFC 6374.
Any packetformat is supported: DLM, ILM, DM, DLM+DM and ILM+DM.

From me :
* Prefer proto_tree_add_item when it is possible
* add Modelines information

svn path=/trunk/; revision=41260
2012-03-01 13:36:18 +00:00
Alexis La Goutte
86e2ba54d4 From Alexander Koeppe via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6689
Avoid string.h in packet-mpls.c

svn path=/trunk/; revision=40261
2011-12-21 14:28:51 +00:00
Anders Broman
e5fcc57d87 One more contributor...
svn path=/trunk/; revision=40100
2011-12-06 07:07:19 +00:00
Anders Broman
10c7707559 Add a contributor.
svn path=/trunk/; revision=40068
2011-12-02 05:46:11 +00:00
Anders Broman
3db35fc5f3 From Krishnamurthy Mayya:
Add Copyright.

svn path=/trunk/; revision=40055
2011-11-30 20:00:42 +00:00
Anders Broman
094e30816d Fix Checkapi found errors.
svn path=/trunk/; revision=40030
2011-11-28 18:10:57 +00:00
Anders Broman
c610654cc8 From Krishnamurthy Mayya:
Part of patch:
2. BFD extension has been added as per RFC 6428, to decode the BFD packet with
ACH encapsulation(without IP/UDP header encapsulation). The channel type in ACH
header identifies the BFD payload as BFD CC or CV packet. Also decoding for
MPLS-TP source MEP-ID TLV in BFD CV packet has been added.

applied with a change to add packet-bfd.h

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6610#add_comment

svn path=/trunk/; revision=40029
2011-11-28 17:59:54 +00:00
Anders Broman
947399180f from Shobhank Sharma:
- Removed some mpls preferences which are no longer relevant/needed like 
  decode PWAC payloads as PPP traffic and assume all channel types except 0x21
are raw BFD. 
- MPLS extension from PW-ACH to MPLS Generic Associated Channel as per RFC 5586 
- Updated Pseudowire Associated Channel Types as per
http://www.iana.org/assignments/pwe3-parameters
- Updated the VCCV bitmaps as per RFC 5885

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6574

svn path=/trunk/; revision=40026
2011-11-28 17:05:35 +00:00
Bill Meier
794757ae8f For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
Also: remove trailing whitespace for a number of files.

svn path=/trunk/; revision=39503
2011-10-21 02:10:19 +00:00
Bill Meier
4e57694d4a Convert 'encoding' parameter of certain proto_tree_add_item() calls in non-autogenerated epan/dissectors:
Specifically:  Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as
 the encoding parameter for proto_tree_add_item() calls which directly reference
 an item in hf[] which has a type of:
    FT_UINT8
    FT_UINT16
    FT_UINT24
    FT_UINT32
    FT_UINT64
    FT_INT8
    FT_INT16
    FT_INT24
    FT_INT32
    FT_INT64
    FT_FLOAT
    FT_DOUBLE


svn path=/trunk/; revision=39288
2011-10-06 03:35:44 +00:00
Bill Meier
d2989164bd Don't assign to a proto_item* if the value won't be used: Coverity 975 [UNUSED]
Remove unneeded prefs callback in prefs registration;
Remove 'if (!initialized)' test from proto_reg_handoff...();
Remove unneeded #include;
Do some whitespace cleanup.

svn path=/trunk/; revision=37327
2011-05-20 14:21:02 +00:00
Guy Harris
a8bc4a0d13 Rename the routines that handle dissector tables with unsigned integer
keys to have _uint in their names, to match the routines that handle
dissector tables with string keys.  (Using _port can confuse people into
thinking they're intended solely for use with TCP/UDP/etc. ports when,
in fact, they work better for things such as Ethernet types, where the
binding of particular values to particular protocols are a lot
stronger.)

svn path=/trunk/; revision=35224
2010-12-20 05:35:29 +00:00
Jeff Morriss
037f83cb88 From Artem Tamazov via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3903 :
Decoding of UDP-multiplexed CESoPSN and SAToP traffic.

svn path=/trunk/; revision=29842
2009-09-10 15:30:10 +00:00
Kovarththanan Rajaratnam
8b515e9340 Switch a bunch of dissectors over to using tvb_new_subset_remaining()
svn path=/trunk/; revision=29446
2009-08-16 12:36:22 +00:00
Kovarththanan Rajaratnam
6110a96f68 Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_check
svn path=/trunk/; revision=29345
2009-08-09 07:59:51 +00:00
Anders Broman
a98ce52e80 From Artem Tamazov:
Added: PW ATM 1:1, AAL5 SDU, AAL5 PDU support + BFD fix + PW ATM OAM fix

svn path=/trunk/; revision=28881
2009-06-29 19:24:14 +00:00
Stig Bjørlykke
7f77783e20 From Kovarththanan Rajaratnam:
More header field info cleanup in plugins/* and epan/dissectors/*

svn path=/trunk/; revision=28811
2009-06-22 18:23:58 +00:00
Stig Bjørlykke
f8c959dc8c From Kovarththanan Rajaratnam:
Move header field info declarations into function scope.

This is the first step. Another patch will be submitted which actually scrubs
the header field info declarations (remove empty blurbs, etc.)

svn path=/trunk/; revision=28797
2009-06-22 04:58:08 +00:00
Balint Reczey
eeef135e2f From Artem Tamazov: SAToP and CESoPSN MPLS PW support.
Introduction of decoding of MPLS payloads as CESoPSN PW (RFC5086)
and SAToP PW (RFC4553). Not supported yet:
- CESoPSN Basic NxDS0 mode.
- Decoding of <Optional> RTP Headers (RFC3550)
- Decoding of PW payload



svn path=/trunk/; revision=28181
2009-04-27 16:57:02 +00:00
Anders Broman
07a02beb98 From Artem Tamazov:
Added: FR MPLS PW support. Expanded: "default MPLS payload" menu.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3325

svn path=/trunk/; revision=27860
2009-03-27 07:17:05 +00:00
Anders Broman
981c54cd35 Artem Tamazov:
MPLS payload dissection: +menu for default, ~pw-eth, ~pw-generic

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3294

svn path=/trunk/; revision=27590
2009-03-03 20:01:01 +00:00
Bill Meier
074c1469e0 Initialize a variable to keep lint happy. reported by Chris Maynard in bug #2814
svn path=/trunk/; revision=27087
2008-12-22 16:10:11 +00:00
Bill Meier
aa30dcd129 Minor proto_reg_handoff cleanup: use find_dissector when appropriate.
svn path=/trunk/; revision=26308
2008-09-30 14:49:44 +00:00
Jaap Keuter
e86825b8f8 From Francesco Fondelli:
Attached is a patch for:
- PW Associated Channel Header dissection as per RFC 4385
- PW MPLS Control Word dissection as per RFC 4385
- mpls subdissector table indexed by label value
- enhanced "what's past last mpls label?" heuristic
- Ethernet PW (w/o CW) support as per RFC 4448

svn path=/trunk/; revision=25730
2008-07-13 17:19:33 +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
Gilbert Ramirez
a85563c3d4 Register the MPLS dissector on its standard IP protocol number.
svn path=/trunk/; revision=18735
2006-07-14 14:58:17 +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
Guy Harris
f45378f3bc Squelch a compiler warning.
svn path=/trunk/; revision=17876
2006-04-16 22:00:11 +00:00
Anders Broman
17d995edfa From Francesco Fondelli:
you find attached a patch for dissecting MPLS OAM pdus
as defind in Y.1711 ITU-T doc.

svn path=/trunk/; revision=17779
2006-03-31 05:09:37 +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
Ronnie Sahlberg
413deb9130 from Carlos Pignataro
update MPLS to support MPLS Echo



svn path=/trunk/; revision=13590
2005-03-04 22:32:06 +00:00
Guy Harris
d8d4a344c8 From Carlos Pignataro: Layer Two Tunneling Protocol version 3 [L2TPv3]
updates and enhancements:

  - Added Cookie and L2-Specific sublayer support via preferences dialog.
  - Added carried payload dissecting support from draft-ietf-l2tpext-pwe3-*
    and draft-townsley-l2tpv3-mpls-02.txt
  - Completed missing message types (call types) and result codes for stopccn
    and cdn.
  - Fixed conditionals for avp_vendor_id (Vendor-Specific AVPs)
  - Changed Pseudowire Capabilities List AVPs to use subtree instead of tab
  - Added numeric value of result and error codes
  - Added Session ID for v3 data packets and missing flags and reserved
  - Added version to the L2TPv3 protocol tree
  - Changed `Tunnel Id' to `Control Connection Id' for v3
  - Fixed offset for ctrl_tree on L2TPv3 over UDP
  - Added `L2TPv3' in the COL_PROTOCOL and fixed handling of L2TP version

svn path=/trunk/; revision=13055
2005-01-15 23:36:24 +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
bbe7f89742 Move prefs.c and prefs.h into the epan subdirectory.
svn path=/trunk/; revision=12115
2004-09-27 22:55:15 +00:00
Guy Harris
1699af0a7c From Carlos Pignataro: append the symbolic name for reserved MPLS labels
to the protocol tree item for the label.

svn path=/trunk/; revision=12080
2004-09-23 20:51:09 +00:00
Guy Harris
f711487961 From Carlos Pignataro:
append MPLS fields and values to the MPLS Header subtree;

	correct the string displayed for MPLS Label;

	don't show non-reserved MPLS label values as "Unknown".

svn path=/trunk/; revision=12065
2004-09-22 16:28:39 +00:00
Guy Harris
ce9da96fe5 While we're add it, support the multicast protocol type values for PPP
and GRE.

Put in the RFC number.

svn path=/trunk/; revision=11622
2004-08-07 03:36:20 +00:00
Jörg Mayer
ee110d2a9b Hanlde 8848 on Ethernet the same as 8847. Not sure that this
is really correct, but the payload seems to be decoded correctly.


svn path=/trunk/; revision=11620
2004-08-07 00:07:53 +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
Renamed from packet-mpls.c (Browse further)