aboutsummaryrefslogtreecommitdiffstats
path: root/epan/Makefile.common
AgeCommit message (Collapse)AuthorFilesLines
2013-11-09Move adler32 from epan/ to wsutil/Jakub Zawadzki1-2/+0
The same like done for crc* svn path=/trunk/; revision=53190
2013-11-09Put "private" to_str.c functions to to_str-int.hJakub Zawadzki1-0/+1
svn path=/trunk/; revision=53187
2013-10-23From Michal Labedzki viaEvan Huus1-0/+2
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8818 Add support for dissection ELF files. It opens as a "capture" file via wiretap at the moment for simplicity's sake, but the intention is eventually to have this (and other file types we dissect) open through some other program sharing much of the libwireshark infrastructure. svn path=/trunk/; revision=52775
2013-10-18Forgot in the previous checkin.Jörg Mayer1-1/+1
svn path=/trunk/; revision=52668
2013-08-01Move a bunch of the crypt modules and pint.h into wsutil.Jeff Morriss1-1/+0
This means wsutil now links against libcrypt. Protect a bunch of the crypt header files from multiple inclusion. svn path=/trunk/; revision=51100
2013-07-31Move composite tvbuff to seperate file (with some subtle changes).Jakub Zawadzki1-0/+1
svn path=/trunk/; revision=51071
2013-07-30Add app_mem_usage.h.Guy Harris1-1/+2
Sort the headers while we're at it. svn path=/trunk/; revision=51034
2013-07-30Add missing includes.Anders Broman1-0/+1
svn path=/trunk/; revision=51028
2013-07-30Building app_mem_usage fails on *nix, missing include(s)?Anders Broman1-2/+0
Don't have the time to fix it at the moment. svn path=/trunk/; revision=51024
2013-07-30Add a routine to get application memory usage to epan.Anders Broman1-0/+2
svn path=/trunk/; revision=51023
2013-07-21Add helper function to epan_session which can be used to get absolute ↵Jakub Zawadzki1-0/+1
timestamp of given frame. Remove ->prev_cap, for testing purpose also replace ->prev_dis with number of previously displayed frame number. This patch reduce size of frame_data by 8B (amd64) This is what (I think) was suggested by Guy in comment 13 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5821#c13) svn path=/trunk/; revision=50765
2013-07-16Move strnatcmp.{h,c} from epan into wsutil: there's nothing epan-specificJeff Morriss1-2/+0
there and moving it avoids having to recompile the file for use in editcap and mergecap (which don't link against libwireshark). svn path=/trunk/; revision=50650
2013-07-15Move report_err.{h,c} from epan into wsutil: there's nothing epan-specific ↵Jeff Morriss1-2/+0
there and moving it avoids having to recompile the file for use in editcap and capinfos (which don't link against libwireshark). svn path=/trunk/; revision=50598
2013-07-14Move tvb real and subset implementations to seperate files.Jakub Zawadzki1-0/+2
svn path=/trunk/; revision=50569
2013-07-12ps.h got moved to epan.Guy Harris1-0/+1
svn path=/trunk/; revision=50531
2013-07-12Move the print modules into epan.Jeff Morriss1-3/+6
svn path=/trunk/; revision=50526
2013-07-12Move disabled_protos.{h,c} into epan.Jeff Morriss1-0/+2
svn path=/trunk/; revision=50521
2013-07-11Move some more modules into epan.Jeff Morriss1-0/+4
svn path=/trunk/; revision=50517
2013-07-10Add strnatcmp by Martin Pool for 'natural order' string comparisons, and ↵Chris Maynard1-0/+2
make use of it in editcap and mergecap for listing encapsulation types. For example: Before: user0 - USER 0 user1 - USER 1 user10 - USER 10 user11 - USER 11 user12 - USER 12 user13 - USER 13 user14 - USER 14 user15 - USER 15 user2 - USER 2 user3 - USER 3 user4 - USER 4 user5 - USER 5 user6 - USER 6 user7 - USER 7 user8 - USER 8 user9 - USER 9 After: user0 - USER 0 user1 - USER 1 user2 - USER 2 user3 - USER 3 user4 - USER 4 user5 - USER 5 user6 - USER 6 user7 - USER 7 user8 - USER 8 user9 - USER 9 user10 - USER 10 user11 - USER 11 user12 - USER 12 user13 - USER 13 user14 - USER 14 user15 - USER 15 svn path=/trunk/; revision=50482
2013-06-26As pointed out by Guy: timestats uses packet_info so it belongs in epanJeff Morriss1-0/+2
not wsutil. svn path=/trunk/; revision=50159
2013-06-25Move a couple of time-related modules into wsutil.Jeff Morriss1-2/+0
A bunch of files didn't really need to include these header files so remove the include line rather than changing it. svn path=/trunk/; revision=50154
2013-06-23Small whitespace fixesJörg Mayer1-14/+14
svn path=/trunk/; revision=50120
2013-05-06Add missing files.Anders Broman1-0/+1
svn path=/trunk/; revision=49185
2013-05-05Add the abillity to export PDU:s to file using a USER_DLT adding meta data ↵Anders Broman1-0/+1
before the actual protocol PDU. Some meta tags makes it possible for the dissector of the user DLT to call the correct PDU dissector. This is prof-of-concept needs a bit of cleanup. svn path=/trunk/; revision=49177
2013-03-10Actually remove slab.h from the makefile.Evan Huus1-1/+0
svn path=/trunk/; revision=48231
2013-02-27Move show_exception() and show_reported_bounds_error() toGuy Harris1-0/+2
epan/show_exception.c, as it's used outside epan/dissectors/packet-frame.c. Update their callers to include <epan/show_exception.h> to get their declaration. Add a CATCH_NONFATAL_ERRORS macro that catches all exceptions that, if there's more stuff in the packet to dissect after the dissector call that threw the exception, doesn't mean you shouldn't go ahead and dissect that stuff. Use it in all those cases, including ones where BoundsError was inappropriately being caught (you want those passed up to the top level, so that the packet is reported as having been cut short in the capture process). Add a CATCH_BOUNDS_ERRORS macro that catches all exceptions that correspond to running past the end of the data for a tvbuff; use it rather than explicitly catching those exceptions individually, and rather than just catching all exceptions (the only place that DissectorError should be caught, for example, is at the top level, so dissector bugs show up in the protocol tree). Don't catch and then immediately rethrow exceptions without doing anything else; just let the exceptions go up to the final catcher. Use show_exception() to report non-fatal errors, rather than doing it yourself. If a dissector is called from Lua, catch all non-fatal errors and use show_exception() to report them rather than catching only ReportedBoundsError and adding a proto_malformed item. Don't catch exceptions when constructing a trailer tvbuff in packet-ieee8023.c - just construct it after the payload has been dissected, and let whatever exceptions that throws be handled at the top level. Avoid some TRY/CATCH/ENDTRY cases by using checks such as tvb_bytes_exist() before even looking in the tvbuff. svn path=/trunk/; revision=47924
2013-02-09Put NODIST_ at the beginning of macro names, as was done for the pluginsGuy Harris1-3/+3
directory. svn path=/trunk/; revision=47599
2013-02-05Fix for previous changes.Guy Harris1-2/+2
svn path=/trunk/; revision=47486
2013-02-05Don't distribute the results of running Lemon, as we distribute LemonGuy Harris1-27/+15
ourselves. Clean up various bits of "distribute" vs. "don't distribute" stuff in the process - use similar names, and make the "distribute vs. don't distribute" distinction the same as the "don't clean with "make distclean" vs. clean with "make distclean"" distinction. svn path=/trunk/; revision=47485
2012-08-03Move the list of AX.25 protocol IDs to epan/ax25_pids.h. Use it inGuy Harris1-0/+1
packet-ax25.c and packet-arp.c. Add an "ax25.pid" dissector table for those protocol IDs, use it in the AX.25 dissector, and have dissectors register in that table with their protocol IDs. Get rid of some unneeded includes. Clean up some "AX25"s in user-visible strings - say "AX.25" instead. Clean up some indentation. svn path=/trunk/; revision=44235
2012-05-23Add conv_id.hAnders Broman1-2/+3
svn path=/trunk/; revision=42810
2012-01-14Ed Beroset <beroset@mindspring.com> via bug 5531Jörg Mayer1-1/+1
The ANSI C12.22 protocol is a smart grid protocol for utility meters, including gas, water and electric. The dissector implemented in the patch file includes full support for all EPSEM (Extended Protocol Specification for Electricity Metering) services and includes a full implementation of the C12.22 security modes. [...] To decrypt the attached sample file, you need to set up the key table in the preferences to include key 0 with a value of 6624C7E23034E4036FE5CB3A8B5DAB44. Me: Fixes for: [ 64%] Building C object epan/CMakeFiles/epan.dir/dissectors/packet-c1222.c.o ../../asn1/c1222/packet-c1222-template.c: In function ‘dissect_epsem’: ../../asn1/c1222/packet-c1222-template.c:860:15: error: variable ‘ft’ set but not used [-Werror=unused-but-set-variable] [ 5%] Building C object epan/CMakeFiles/epan.dir/dissectors/packet-c1222.c.o ../../asn1/c1222/packet-c1222-template.c:103:19: error: ‘c1222_flags’ defined but not used [-Werror=unused-variable] svn path=/trunk/; revision=40500
2011-09-08From Edwin Groothuis via bug 6207:Stig Bjørlykke1-0/+2
Added Filter Toolbar Save functionality. From me: Removed unused code. svn path=/trunk/; revision=38937
2011-08-31Second try to move crc routines to libwsutil.Stig Bjørlykke1-12/+6
This time keep the tvb routines in epan. Now we can use common crc routines outside epan. svn path=/trunk/; revision=38810
2011-08-30Revert r38800, as the crc routines contains some tvb functions.Stig Bjørlykke1-0/+12
svn path=/trunk/; revision=38803
2011-08-30Move all crc routines to libwsutil.Stig Bjørlykke1-12/+0
This way we can use the crc routines in wiretap. svn path=/trunk/; revision=38800
2011-07-11More GLIB_CHECK_VERSION cleanups. Update the minimum GLib/GTK+ versionsGerald Combs1-1/+0
in README.devloper. Remove g_gnuc.h since it's no longer needed. Remove tvbuff_init(), tvbuff_cleanup(), reassemble_init(), and reassemble_cleanup() since they were only used for older GLib versions which didn't support GSlices. Assume we always support the "matches" operator. svn path=/trunk/; revision=37978
2011-06-05Some work on generalizing the "display filter" tap parameter dialog boxGuy Harris1-0/+1
to more generally support fetching parameters for taps. svn path=/trunk/; revision=37559
2011-05-27Add tvbuff-int.h to the list of include files.Jeff Morriss1-1/+2
svn path=/trunk/; revision=37424
2011-04-28From Hans-Christoph Schemmel:Anders Broman1-0/+2
A variant of 3GPP TS 27.010 multiplexing protocol dissector. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5829 svn path=/trunk/; revision=36927
2011-04-23Rename g_gnuc_malloc.h to g_gnuc.hJeff Morriss1-1/+1
svn path=/trunk/; revision=36831
2010-11-30Oh yeah, there's a reason we don't put targets in Makefile.common: the first ↵Jeff Morriss1-5/+1
target in a makefile is what you get when you just run make (without a target). Revert 35073 and 35069. svn path=/trunk/; revision=35075
2010-11-29Move some checkapi targets into Makefile.commonJeff Morriss1-1/+5
svn path=/trunk/; revision=35073
2010-02-27From Jakub Zawadzki: split off the address-to-string functions, exceptGuy Harris1-0/+1
for ip_to_str_buf(), into address_to_str.c. Fix up the SVN attributes for time_fmt.h while we're at it. svn path=/trunk/; revision=32038
2010-02-27Add a third date format, ABSOLUTE_TIME_DOY_UTC, to show UTC with theGuy Harris1-0/+1
date as YYYY/DDD, where DDD is a 1-origin day of year. Move the formats to a "time_fmt.h" file, included by the headers that use it. Have abs_time_to_str() and abs_time_secs_to_str() take the date format value, rather than a Boolean "show this as UTC" flag, as an argument. Document the ABSOLUTE_TIME_ formats a bit better. Use that format in the CCSDS and VCDU dissectors, rather than having those dissectors do the formatting themselves. svn path=/trunk/; revision=32034
2010-01-25Removed gnuc_format_check.hStig Bjørlykke1-1/+1
Added g_gnuc_malloc.h svn path=/trunk/; revision=31660
2009-05-05Add support for the IANA's OUI, and recognize NHRP-over-SNAP.Guy Harris1-0/+1
An NHRP extension offset of 0 is not an error - it means there are no extensions. Start using the address family number to determine the type of link-layer addresses in NHRP. Don't fetch IPv4 addresses and add them to the tree - just use proto_tree_add_item(). svn path=/trunk/; revision=28286
2008-12-19Rename geoip.[ch] to geoip_db.[ch] so we don't collide with GeoIP.h. RenameGerald Combs1-2/+2
some functions to match. Add GeoIP lookups to the IP dissector. Add a preference for GeoIP lookups, which is disabled by default. svn path=/trunk/; revision=27063
2008-10-27Add support for the GeoIP library. Using different database files,Gerald Combs1-0/+2
GeoIP can map IP addresses to Countries, Cities, AS numbers, ISPs, etc. If any library paths are defined AND any database files are found, corresponding columns are added to the endpoint tables in the GUI. To do: - Add columns to the conversation list - Add GeoIP info to "-z conv,..." - Create a default UAT file. svn path=/trunk/; revision=26571
2008-07-18Diameter hasn't used libxml in a while, remove the stubs for it.Jeff Morriss1-4/+2
svn path=/trunk/; revision=25763