aboutsummaryrefslogtreecommitdiffstats
path: root/epan/osi-utils.c
AgeCommit message (Collapse)AuthorFilesLines
2014-04-14Put the system ID in the top-level items for neighbors.Guy Harris1-0/+7
Add a tvb_print_system_id() routine, and use that in various ISIS dissectors, while we're at it. Change-Id: I31b6b9ea8faf2b4849f974ec7ed27fbdd14b91ef Reviewed-on: https://code.wireshark.org/review/1145 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-03-05Fix some code remove by 296591399f90a9d89be958d91047aa724a77ee6dAlexis La Goutte1-0/+1
(Copyright or info about file...) Change-Id: I90ba8b1c3ec8406b0c3365a69a8555837fc4bbb1 Reviewed-on: https://code.wireshark.org/review/515 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-03-20 From beroset:Bill Meier1-3/+3
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 attachment #10397 svn path=/trunk/; revision=48438
2012-12-21Clean up white space.Guy Harris1-17/+16
Add a return where I presume it was intended to be - a 4-octet address is completely handled in that if clause, so there's no reason to fall through. Fix a comment. svn path=/trunk/; revision=46646
2012-12-21Fix some valgrind warnings from the capture attached toEvan Huus1-3/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8110 I can't reproduce the actual reported crash on trunk. svn path=/trunk/; revision=46645
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=45016
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2011-02-18Fix some dead code and zero division issues found by Clang scan-build.Gerald Combs1-2/+2
In convert_string_case() use g_utf8_strup() instead of converting each character by hand. Hopefully this won't cause any unexpected changes in behavior. svn path=/trunk/; revision=36006
2010-01-04From gonzalocas:Anders Broman1-1/+6
GSSE message dissector. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4370 svn path=/trunk/; revision=31442
2009-04-08size_t fixes.Gerald Combs1-22/+23
svn path=/trunk/; revision=27990
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2006-03-07Remove dead code. Due the to if() test that checks for specificGilbert Ramirez1-4/+5
values of 'length', the code in question can never run. This fixes Coverity bug ID #1. svn path=/trunk/; revision=17514
2005-09-12The previous checkin for packet-isup.c was accidentally checked in alongGuy Harris1-0/+5
with some unrelated changes; it got rid of some calls to get IPv4/IPv6 addresses and add them to the protocol tree, replacing them with proto_tree_add_item() calls, and fixed up the length of one protocol tree item. Note that we have (at least) three count 'em three different routines for dissecting/displaying NSAPs (there might be more - I might have missed some), and suggest that we might want to reduce that to one. Update the URL for ICP values for IPv{4,6} addresses inside NSAPs. Fix the offset in the call to add the IPv6 address part of an NSAP containing such an address, and the length in the call adding the DSP for an NSAP containing an IPv4 address. Fix up indentation a bit. svn path=/trunk/; revision=15766
2005-08-20The order in which arguments to a function are evaluated isn't definedGuy Harris1-2/+4
by C. Do decrements of arguments before passing them to a function. svn path=/trunk/; revision=15463
2005-08-20removal of even more sprintfRonnie Sahlberg1-34/+34
svn path=/trunk/; revision=15457
2005-08-17replace some more silly rotating buffers with ep_alloc() callsRonnie Sahlberg1-6/+4
svn path=/trunk/; revision=15386
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-1/+1
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2003-11-20From Hannes Gredler: "print_system_id()" should callGuy Harris1-2/+2
"print_system_id_buf()", not "print_nsap_net_buf()". (What idiot made *that* mistake? :-)) svn path=/trunk/; revision=9046
2003-09-10Void functions don't return values.Guy Harris1-2/+2
svn path=/trunk/; revision=8442
2003-08-26Create an "address_to_str_buf()" routine, called by "address_to_str()",Guy Harris1-64/+88
which fills in a caller-supplied buffer. Create "_buf()" versions of various "to_str" routines for various address types, and create a routine to map SNA FIDs to strings, and use them to finish up "address_to_str_buf()". Get rid of the declaration of "sna_fid_type_4_addr_to_str()" in "packet-sna.h", as that routine has been swallowed up in "sna_fid_to_str()". svn path=/trunk/; revision=8260
2003-01-26Update my email address in various places since my old one no longer worksLaurent Deniel1-2/+2
svn path=/trunk/; revision=7003
2002-09-02From Hannes Gredler:Guy Harris1-3/+3
open up a new subtree for dissecting the lsp-entry TLV; remove the isis_lsp_decode_lsp_id() routine, as the same functionality is better served using print_system_id(); fix a small bug in print_system_id(). svn path=/trunk/; revision=6169
2002-08-29From Hannes Gredler: make the IS-IS dissector more verbose in the INFOGuy Harris1-4/+10
field - specifically for IIHs the System-ID of the Hello; LSPs the LSP-ID, Sequence #, Lifetime; CSNPs the LAN-ID, Start LSP-ID, End LSP-ID. and change the display of some IDs. Clean up white space. svn path=/trunk/; revision=6128
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-24/+24
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6116
2002-08-02Replace the types from sys/types.h and netinet/in.h by their glib.hJörg Mayer1-5/+1
equivalents for the epan/ directory but leave winsock2.h in inet_pton.c and inet_ntop.c for now (can't estimate the consequences). svn path=/trunk/; revision=5928
2002-07-17From Joerg Mayer:Guy Harris1-5/+1
dftest.c: Remove #if-0-ed includes packet-ieee80211.c, packet-wtls.c, packet-afp.c, packet-wsp.c, packet-wtp.c, ethereal_gen.py: Remove redundant include varargs (already in snprintf.h, and required only for snprintf.h) Remove unused include of snprintf.h from files not using "snprintf()". svn path=/trunk/; revision=5889
2002-06-28From Hannes Gredler: fix display of OSI system IDs to use a dot ratherGuy Harris1-3/+3
than a dash before the PSN byte; the dash is typically only used to demarcate the fragment. svn path=/trunk/; revision=5785
2001-05-15Stop depending on the order in which operations are performed byGuy Harris1-7/+11
generated code, as per Chris Foulds' note. Also, when constructing the system ID or area string, always append the four-octet groups, rather than overwriting them, as we had been doing. svn path=/trunk/; revision=3414
2001-04-16Assorted ISIS enhancements from Hannes Gredler.Guy Harris1-2/+7
When dissecting the ISIS NLPID CLV, use the "nlpid_vals" array to convert NLPID values to protocol names. svn path=/trunk/; revision=3308
2001-04-02Don't use "u_int" and "u_char", as they're not defined in <sys/types.h>Guy Harris1-6/+6
on Windows, so we'd have to drag in <winsock.h> to define them. svn path=/trunk/; revision=3246
2001-04-01Moved some definitions and functions from packet-osi.{c,h} toEd Warnicke1-0/+172
epan/osi-utils.{c,h} to bring all of the epan dependencies into epan. svn path=/trunk/; revision=3226