aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-isis-lsp.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-14Remove check_col() and the occasional tree.Michael Mann1-9/+6
svn path=/trunk/; revision=49920
2013-05-26Batch of filterable expert infos.Michael Mann1-1/+11
svn path=/trunk/; revision=49584
2013-01-28From Gyanesh:Jaap Keuter1-1/+82
Add SPBV MAC address sub-TLV support (802.1aq). svn path=/trunk/; revision=47321
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-05-21Fix indentationpascal1-637/+633
svn path=/trunk/; revision=42760
2012-05-21From gyanesh via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7267 :pascal1-2/+71
Add dissector function for SPB link metric sub tlv (type 29) svn path=/trunk/; revision=42759
2012-05-02From "oss.2nerds":Anders Broman1-0/+263
IEEE P802.1aq/D3.6 and the corresponding IETF draft (http://tools.ietf.org/html/draft-ietf-isis-ieee-aq-05) defines a series of new ISIS TLVs for the shortest-path-bridging protocol. The attached patch file contains a simple dissector for one such TLV (the MT-Port-Cap TLV) and several corresponding sub-TLVs (mcid, aux_mcid, digest, and b-vid). The digest sub-TLV dissector has not been exercised because no suitable capture files are available (the digest sub-TLV seems not to be widely implemented at this point in time). Note that the codepoints mentioned in the IETF draft have changed. The IANA-assigned codepoints are further described in these pages: http://www.ietf.org/mail-archive/web/spb-isis/current/msg00007.html http://www.iana.org/assignments/isis-tlv-codepoints/isis-tlv-codepoints.xml#tlv-143 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7154 svn path=/trunk/; revision=42385
2012-03-26Fix CID 1336 (new with r40139): infinite loop if length is equal to 1.Jeff Morriss1-5/+1
svn path=/trunk/; revision=41780
2012-03-26Fix CID 1458 (new with r41751): infinite loop if length is equal to 1.Jeff Morriss1-67/+62
svn path=/trunk/; revision=41778
2012-03-26Fix Coverity CID 1456: UNUSED_VALUE.Chris Maynard1-1/+1
svn path=/trunk/; revision=41771
2012-03-24From Nikitha Malgi via ↵Jeff Morriss1-19/+186
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6958 : The Group Address (GADDR) TLV, IS-IS TLV type 142, is carried only in an LSP PDU and carries sub-TLVs that in turn advertise multicast group listeners. It also contains the Group MAC address Sub TLV. The Group MAC Address (GMAC-ADDR) sub-TLV is sub-TLV type number 1 within the GADDR TLV. In TRILL, it is used to advertise multicast listeners. Reference --- http://tools.ietf.org/html/rfc6326#section-2.1 svn path=/trunk/; revision=41751
2012-03-21If you're not going to use a subtree, don't create it.Guy Harris1-2/+0
svn path=/trunk/; revision=41707
2012-03-21Fix Coverity CID 1337: UNUSED_VALUE.Chris Maynard1-3/+1
svn path=/trunk/; revision=41706
2011-12-09From Nikitha Malgi:Jaap Keuter1-2/+374
Implementing extensions to Wireshark to support TRILL payloads. svn path=/trunk/; revision=40139
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-2/+2
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-02-23From Alexis La Goutte:Anders Broman1-1/+0
Cleanup packet-ipv6.h and dependency. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5713 svn path=/trunk/; revision=36031
2011-01-14Replace ip_to_str((tvb_get_ptr(...)) with tvb_ip_to_str().Jeff Morriss1-12/+12
Replace ip6_to_str((tvb_get_ptr(...)) with tvb_ip6_to_str(). There's no need to pass the result of tvb_get_ptr() as the 'value' in proto_tree_add_*(): just use proto_tree_add_item(). Replace some tvb_get_ptr()s with tvb_get_ephemeral_string()s. Replace some memcpy()+tvb_get_ptr() with tvb_memcpy(). svn path=/trunk/; revision=35529
2010-04-06#include <string.h> not needed.Bill Meier1-1/+0
svn path=/trunk/; revision=32410
2010-04-03Remove unneeded #include <stdio.h>Bill Meier1-1/+0
svn path=/trunk/; revision=32367
2009-11-10From Hariharan Ananthakrishnan:Jaap Keuter1-0/+6
Support ISIS local /remote identifier display for extended IS adjacency (RFC 5307 section 1.1.) svn path=/trunk/; revision=30924
2009-09-24* Prefer col_append_str instead of col_append_fstr for constant stringsKovarththanan Rajaratnam1-2/+1
* Remove check_col guards svn path=/trunk/; revision=30127
2009-08-21Sanitize epan includesKovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=29499
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-15/+15
(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
2009-04-07Use some default true_false_string's.Bill Meier1-12/+2
svn path=/trunk/; revision=27983
2009-01-12Fix bug 3181:Jaap Keuter1-25/+26
The standard ISO10589 states that the checksum check is always succesful for zero lifetime LSP. We fake it as not being used in that case. svn path=/trunk/; revision=27213
2008-12-18Fix various typos and spelling errors (mostly in text strings)Bill Meier1-2/+2
svn path=/trunk/; revision=27050
2008-12-17Fix some typos and spelling (mostly in text strings)Bill Meier1-1/+1
svn path=/trunk/; revision=27037
2008-06-25Constify a bunch of stuff, to squelch -Wwrite-strings warnings. Guy Harris1-1/+1
epan/dissectors/packet-ncp2222.inc is a bit hard to fix, so we're not ready to enable that warning by default yet. Throw in some casts to handle GLib routines that take arbitrary non-const pointers (they can later return the pointers, and some callers might want to modify or free up those pointers in cases where they're known to be writable or allocated). Use ep_tvb_memdup() rather than a combination of ep_alloc() and tvb_memcpy(). Clean up some indentation. svn path=/trunk/; revision=25601
2008-03-13From Hariharan Ananthakrishnan:Gerald Combs1-4/+17
I have added two new display filters to support filtering based on LSP-ID and hostname for ISIS protocol. svn path=/trunk/; revision=24621
2007-10-23Apply the small performance enhancment patches for:Anders Broman1-1/+1
- 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
2006-12-26From Sebastien Tandel:Jaap Keuter1-8/+36
Here is a patch for the management of the bad/good checksum for ISIS (like TCP/UDP/IP). support added for: - booleans hf_isis_lsp_checksum_good, hf_isis_lsp_checksum_bad in the tree, - information in the info column if bad checksum, - expert info for bad checksum, svn path=/trunk/; revision=20214
2006-12-18From Sebastien Tandel:Stephen Fisher1-6/+4
a little patch against revision 20088 in packet-isis-lsp.c for the following : - hf_isis_lsp_remaining_life declared but unused - replacing a proto_tree_add_uint useless with proto_tree_add_item svn path=/trunk/; revision=20148
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2005-10-22Use the somewhat-misnamed "ipv4_addr_and_mask()" andGuy Harris1-12/+11
"ipv6_addr_and_mask()" to handle address+prefix bit length combinations. svn path=/trunk/; revision=16286
2005-09-15remove some redundant strcpy()Ronnie Sahlberg1-7/+7
svn path=/trunk/; revision=15822
2005-09-12Don't collide with the "regular" IPv6 defintions in at least someGuy Harris1-2/+2
platforms in ipv6-utils.h. svn path=/trunk/; revision=15764
2005-09-11Replace tvb_memcpy() calls that extract IPv4 addresses into a guint32,Guy Harris1-1/+1
and that extract IPv6 addresses into a "struct e_in6_addr", with tvb_get_ipv4() and tvb_get_ipv6() calls - except for some that we remove, by using proto_tree_add_item(), rather than replacing. Have epan/tvbuff.h include epan/ipv6-utils.h, to define "struct e_in6_addr" (not necessary to declare the tvbuff routines, but including it there means "struct e_in6_addr" is guaranteed to be defined before those declarations, so we don't get compiler complaints if we define it *after* those declarations). svn path=/trunk/; revision=15758
2005-08-06Increase the size of some variables so that we don't overflow them and loopGerald Combs1-11/+11
forever. Fixes bug 320. svn path=/trunk/; revision=15245
2005-07-30More char -> const char fixesJörg Mayer1-1/+1
Declare some functions static svn path=/trunk/; revision=15158
2005-07-08checksum messages: use "[correct]" instead of "(correct)" and other "alike" ↵Ulf Lamping1-4/+4
messages svn path=/trunk/; revision=14880
2005-06-14From Steve Grubb:Gerald Combs1-28/+16
Fix bounds checking in lemon.c. Fix up an if/else block in packet-dcerpc-samr.c. Fix hex printing in packet-gtp.c. Fix other problems discovered by Steve: Fix a bounds check in packet-isis-lsp.c. Also, fix netmask printing on non-little-endian machines. Add a comment about adding a netmask routine to to_str.c. Add bounds checks to packet-ncp2222.inc. All of these apply to bug 217. svn path=/trunk/; revision=14627
2004-08-06From Albert Chin: rename resolv.{ch} to addr_resolv.{ch}, so that anGuy Harris1-1/+1
include of <resolv.h> in any system header file gets the system <resolv.h> (needed for builds on Tru64 with GTK+ 1.2[.x]). svn path=/trunk/; revision=11615
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+2008
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