aboutsummaryrefslogtreecommitdiffstats
path: root/epan/oids.h
AgeCommit message (Collapse)AuthorFilesLines
2015-01-19Convert OID APIs to use wmem.Michael Mann1-16/+16
There are a few oid functions that are only called in oids_test.c. I'll presume the APIs are used in proprietary dissectors rather than just remove them. Change-Id: I4595e00f93bf9ab8cf2493fe0432b91960f55a3f Reviewed-on: https://code.wireshark.org/review/6592 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Evan Huus <eapache@gmail.com> Reviewed-by: Guy Harris <guy@alum.mit.edu> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-01-16Replace se alloced memory in compare stat tap.Michael Mann1-1/+1
Also replaced comments mentioning se_alloc memory with wmem_file_scope, since it's more accurate. It seems that many of the TShark stat taps may be leaking memory, because the hash tables created by the taps don't get a chance to be freed. Somewhat academic since TShark exits shortly after displaying any stats, but a leak none the less. Change-Id: I8ceecbd00d65b3442dc02d720b39c2e15aa0c8a6 Reviewed-on: https://code.wireshark.org/review/6557 Reviewed-by: Evan Huus <eapache@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-08-05Fix whitespace/indentation to match editor modelines.Bill Meier1-1/+1
Change-Id: I3445ae22f10584582d465bf632942e016f5f70ca Reviewed-on: https://code.wireshark.org/review/3452 Reviewed-by: Bill Meier <wmeier@newsguy.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>
2014-01-14Don't cast away constness.Guy Harris1-2/+2
svn path=/trunk/; revision=54800
2013-12-23First round converting OIDs from emem to wmem. Just internal functions so far.Evan Huus1-3/+3
svn path=/trunk/; revision=54420
2013-11-17Add extern C if cplusplus (when use with Qt) Add Modelines (and fix indent ↵Alexis La Goutte1-52/+73
use 4 spaces for oids.h) svn path=/trunk/; revision=53387
2013-10-19From beroset@mindspring.com:Anders Broman1-1/+0
remove unnecessary and unused oid_resolv_cleanup() https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9295 svn path=/trunk/; revision=52697
2013-10-19Add OID unit tests. Bug 9294 ↵Michael Mann1-3/+3
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9294) From Ed Beroset svn path=/trunk/; revision=52692
2013-10-06Add support for RELATIVE-OID ASN.1 type. Bug 9192 ↵Michael Mann1-0/+6
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9192) From Ed Beroset. svn path=/trunk/; revision=52393
2013-09-04Remove what appear to be the last two instances of pe_tree. Could this be theEvan Huus1-1/+2
first emem API to die? svn path=/trunk/; revision=51756
2013-06-12Pretify dissection of date and Time.Anders Broman1-1/+2
svn path=/trunk/; revision=49905
2013-03-01Export libwireshark symbols using WS_DLL_PUBLIC defineBalint Reczey1-17/+23
Also remove old WS_VAR_IMPORT define and related Makefile magic everywhere in the project. svn path=/trunk/; revision=47992
2012-07-06From Michael Mann:Anders Broman1-0/+2
Generic preferences implementation - Printing and Name Resolution. svn path=/trunk/; revision=43579
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2010-08-29Doxygen changes.Anders Broman1-1/+1
svn path=/trunk/; revision=33990
2010-08-28Doxygen changes.Anders Broman1-3/+5
svn path=/trunk/; revision=33981
2010-03-03Disable OID resolution and loading SMI modules by default.Balint Reczey1-0/+5
Add an option to enable OID resolution. Add an option to suppress errors reported by libsmi. svn path=/trunk/; revision=32096
2009-08-23Get rid of a bunch of "warning: redundant redeclaration of" messages.Jörg Mayer1-2/+0
In that process, include the contents of packet-fmp_notify.h directly in packet-fmp_notify.c - it wasn't used anywhere else. svn path=/trunk/; revision=29512
2008-12-02Trivial warning fixesJörg Mayer1-1/+1
svn path=/trunk/; revision=26899
2008-11-10From Paul Stath:Anders Broman1-1/+2
Dissector fails for OIDs with MacAddress in index. svn path=/trunk/; revision=26746
2008-08-05luis.ontanon@gmail.com => luis@ontanon.orgLuis Ontanon1-1/+1
svn path=/trunk/; revision=25937
2008-03-17oid_get_default_mib_path() is present in libwireshark.def. Make sure it'sGerald Combs1-2/+0
available even if HAVE_LIBSMI isn't defined. svn path=/trunk/; revision=24667
2007-12-04Only define oid_get_default_mib_path() if we have libsmi.Guy Harris1-1/+3
Explicitly mark it as having no arguments. svn path=/trunk/; revision=23754
2007-12-04Add an oid_get_default_mib_path() function, and use it to display the MIBGerald Combs1-7/+16
path in About->Folders. svn path=/trunk/; revision=23753
2007-11-01Get rid of most of the legacy oid stuff.Anders Broman1-13/+0
svn path=/trunk/; revision=23333
2007-11-01Remove add_oid_str_name.Anders Broman1-1/+0
svn path=/trunk/; revision=23326
2007-10-16From tmiller@hcjbtech.org : Spelling error on GDS DB protocol dissector: ↵Sake Blok1-2/+2
"Buffer lenght:" (recursively grepped through the source and corrected all occurences, even the ones just in comments) svn path=/trunk/; revision=23211
2007-09-13Given the opportunity I check in the changes to snmp I got in this machine.Luis Ontanon1-4/+5
- Indexing (implied and not) is OK now, however indexes for related tables (AUGMENT, EXTEND, etc) are registered many times. svn path=/trunk/; revision=22861
2007-08-27Get rid of extra newlines at the end of epan/oids.h, and give one ofGuy Harris1-3/+0
them to epan/oids.c. :-) svn path=/trunk/; revision=22687
2007-08-27- packet-snmp(-template).cLuis Ontanon1-1/+12
- reimplement the "snmp.variable_oid" dissector table - oids.[ch] - get rid of keytype_implicit in oid_value_type_t we won't use it. - have the windows base path for mibs be consistent to where we've put the mibs - oid_get_from_encoded() and oid_get_from_string(): have the subids array being computed in a prior statement of where the side-effected argument is going to be used... worked on gcc, not on windows... I deserve "have daemons flying out of my nose" for that :-). svn path=/trunk/; revision=22684
2007-08-26Give the files its propper titleLuis Ontanon1-1/+1
Keep libsmi's default path and append the user given one svn path=/trunk/; revision=22677
2007-08-25replace oid_to_str_buf() and oid_to_str()Luis Ontanon1-3/+6
fix a potential buffer overflow due to a very liberal estimate by oid_repr_len() svn path=/trunk/; revision=22659
2007-08-25get users of oid_resolv to use the new oids, rollout packet-snmp.cLuis Ontanon1-4/+19
svn path=/trunk/; revision=22651
2007-08-24add newline to end of fileRichard van der Hoff1-1/+1
svn path=/trunk/; revision=22630
2007-08-22Prepare the oids dataset for managing conceptual table indexingLuis Ontanon1-0/+40
svn path=/trunk/; revision=22596
2007-08-21A further iteration in the code, things start to look good!Luis Ontanon1-2/+2
svn path=/trunk/; revision=22575
2007-08-19Filtering on snmp variables starts to work so I put it there in case anyone ↵Luis Ontanon1-2/+13
wants to start playing with it. I'll leave the generated dissector in place and the rest off the Makefiles so that others are not bothered by this. TODO: - Global - add libsmi to autoconf (I modified CFLAGS and LDADDs in the makefile.ams appending my own values, that's good only for me) - have other users of oid_resolv.h get to use the new functions in oids.h - add a menu item or preference setting for the smi_modules UAT ( the smi_modules file has one dquoted string per line with the name of each module to be loaded) - SNMP - put complete information in the labels of the VarBind Items - add oids to COL_INFO - negative testing (Well, testing in general) - OIDS - implement "ALL" modules - some functions are not yet tested or implemented I'll put a TO-DO list on the wiki for people (incl. me) to add more items svn path=/trunk/; revision=22556
2007-08-16- It's just-a-bad-idea(tm) to redefine anything from a foreign library, Don't.Luis Ontanon1-16/+0
- Allow to look for value-types by name. [still largelly untested] svn path=/trunk/; revision=22524
2007-08-15I'm at the end of the second iteration, so far this compiles OK still ↵Luis Ontanon1-0/+122
haven't tested it but it does not go in the Makefiles, I need this as a reference point. svn path=/trunk/; revision=22508