aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cisco-erspan.c
AgeCommit message (Collapse)AuthorFilesLines
2011-11-02Fix spelling.gerald1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39721 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-31From me via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6462 & 6505alagoutte1-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) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39687 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.wmeier1-2/+2
Also: remove trailing whitespace for a number of files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39503 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵wmeier1-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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39260 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-26Replace TRUE/FALSE with the new ENCAP stuff where appropriatejmayer1-15/+15
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38746 f5534014-38df-0310-8fa8-9805f1628bb7
2010-12-20Rename the routines that handle dissector tables with unsigned integerguy1-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.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35224 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-24Comparing type II and III traces of the same packet jmayer1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34238 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-23- trunkated -> truncatedjmayer1-8/+20
- Print "Type II" and "Type III" as versionstrings. - Make sure that version = 1 or 2 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34222 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-23Jason Masker:jmayer1-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" git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34221 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-23Jason Masker <jason at masker.net>:jmayer1-10/+40
Updates for the Cisco ERSPAN type III (version 2) protocol. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34209 f5534014-38df-0310-8fa8-9805f1628bb7
2010-01-13From Didier Gautheron:etxrab1-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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31519 f5534014-38df-0310-8fa8-9805f1628bb7
2009-10-09From Didier Gautheron:etxrab1-3/+6
Dissectors using call_dissector() function inside a 'if (tree) {}' block. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4107 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30415 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()krj1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29446 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-18From Kovarththanan Rajaratnam via bug 3548:stig1-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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28770 f5534014-38df-0310-8fa8-9805f1628bb7
2008-01-23Get rid of non-ASCII characters.guy1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24170 f5534014-38df-0310-8fa8-9805f1628bb7
2007-08-25From Munenori Ohuchi:stig1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22649 f5534014-38df-0310-8fa8-9805f1628bb7
2007-04-14typo fixstandel1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21428 f5534014-38df-0310-8fa8-9805f1628bb7
2007-04-14Beginnings of a Cisco ERSPAN dissector - the only thing missing is the codejmayer1-0/+164
to actually call this (aka to handle the ambiguities of DLT values). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21427 f5534014-38df-0310-8fa8-9805f1628bb7