aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cisco-erspan.c
AgeCommit message (Collapse)AuthorFilesLines
2011-11-02Fix spelling.Gerald Combs1-1/+1
svn path=/trunk/; revision=39721
2011-10-31From me via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6462 & 6505Alexis La Goutte1-5/+29
Wireshark unable to parse ERSPAN from HP Comware platforms Huawei GRE ERSPAN is not decoded properly Add a pref to FORCE to decode directly Ethernet frame in GRE (with no ERSPAN Header) svn path=/trunk/; revision=39687
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-2/+2
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-3/+3
reference an hf item (in hf[] with types: FT_NONE FT_BYTES FT_IPV6 FT_IPXNET FT_OID Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN svn path=/trunk/; revision=39260
2011-08-26Replace TRUE/FALSE with the new ENCAP stuff where appropriateJörg Mayer1-15/+15
svn path=/trunk/; revision=38746
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-2/+2
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-09-24Comparing type II and III traces of the same packet Jörg Mayer1-7/+11
indicate that the last 4 bytes of both types are similar. So the extra bytes in type III are inserted before those last bytes. svn path=/trunk/; revision=34238
2010-09-23- trunkated -> truncatedJörg Mayer1-8/+20
- Print "Type II" and "Type III" as versionstrings. - Make sure that version = 1 or 2 svn path=/trunk/; revision=34222
2010-09-23Jason Masker:Jörg Mayer1-17/+56
- Add decoding of direction bit for version 2 (type III) erspan. Me: - Decode the original direction bit as unknown in case of version 2. - The original unknown3 value seems to indicate whether the packet was too long to fit into a single mtu (trunkated). - "Timestamp(s)" -> "Timestamp" svn path=/trunk/; revision=34221
2010-09-23Jason Masker <jason at masker.net>:Jörg Mayer1-10/+40
Updates for the Cisco ERSPAN type III (version 2) protocol. svn path=/trunk/; revision=34209
2010-01-13From Didier Gautheron:Anders Broman1-4/+2
check_col.diff Remove redundant calls to check_col() if it guards only one columns function with one parameter after the column type. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4394 svn path=/trunk/; revision=31519
2009-10-09From Didier Gautheron:Anders Broman1-3/+6
Dissectors using call_dissector() function inside a 'if (tree) {}' block. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4107 svn path=/trunk/; revision=30415
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()Kovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=29446
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-8/+8
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero svn path=/trunk/; revision=28770
2008-01-23Get rid of non-ASCII characters.Guy Harris1-1/+1
svn path=/trunk/; revision=24170
2007-08-25From Munenori Ohuchi:Stig Bjørlykke1-6/+38
1. Priority field decode. The 802.1q tag field of a frame is separated from its frame body in a ERSPAN packet. Current packet-cisco-erspan.c decodes only the vlan id field of the 802.1q tag. This patch can also decode the priority field of the 802.1q tag. 2. Direction of a captured frame decode. A ERSPAN packet includes the additional information of the direction a captured frame as below. If a caputred frame comes from outside to a switch port, this means an 'Incoming' frame. If a caputred frame goes out of a switch port, this is an 'Outgoing' frame. Added an extra unknown value for the bit between direction and spanid. svn path=/trunk/; revision=22649
2007-04-14typo fixSebastien Tandel1-1/+1
svn path=/trunk/; revision=21428
2007-04-14Beginnings of a Cisco ERSPAN dissector - the only thing missing is the codeJörg Mayer1-0/+164
to actually call this (aka to handle the ambiguities of DLT values). svn path=/trunk/; revision=21427