aboutsummaryrefslogtreecommitdiffstats
path: root/epan
AgeCommit message (Collapse)AuthorFilesLines
2005-08-24EVERYTHING IN THE BUILDBOT IS GOING TO BE RED!!! Sorry! ulfl27-269/+170
I've done more than a day to change the timestamp resolution from microseconds to nanoseconds. As I really don't want to loose those changes, I'm going to check in the changes I've done so far. Hopefully someone else will give me a helping hand with the things left ... What's done: I've changed the timestamp resolution from usec to nsec in almost any place in the sources. I've changed parts of the implementation in nstime.s/.h and a lot of places elsewhere. As I don't understand the editcap source (well, I'm maybe just too tired right now), hopefully someone else might be able to fix this soon. Doing all those changes, we get native nanosecond timestamp resolution in Ethereal. After fixing all the remaining issues, I'll take a look how to display this in a convenient way... As I've also changed the wiretap timestamp resolution from usec to nsec we might want to change the wiretap version number... git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15520 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-24Properly initialize our hf_ arrays. Make hf_rtcp_app_poc1_conn_session_typegerald1-4/+4
an FT_UINT8 instead of an FT_BOOLEAN. This keeps the Solaris builder from crashing while running "-G values". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15519 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-24fix a comment typoulfl1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15518 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-23The name in a Display TLV is null-terminated (or padded with a null byteguy1-11/+10
and extra crud). Don't bother with length checking on the VLAN name item - if it's zero-length, so be it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15516 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-23Use "format_text()" and "tvb_format_text()" when displaying strings. guy1-15/+63
(It's not necessary, or desirable, to use them when fetching strings.) When processing a VLAN TLV, check the length of the TLV, so we don't end up running past the end of the TLV and getting a negative remaining length. Append to the protocol tree item for the TLV, and the Info column, as we dissect the VLAN ID and VLAN name fields. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15515 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-23Fix the parenthesization of an expression.guy1-1/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15514 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-22Two fixes to tektronix k12 import:lego1-1/+3
- it appears that there are more packet record types other than 0x00010020. accept anything matching 0x00010020/28 as a packet record. - make the stack filename lowercase before comparing it so that capitalization is not an issue. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15513 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-22Length of string == lengt of element - headerlengthjmayer1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15512 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-22From Timo Metsala:etxrab1-3/+291
Updates the PoC floor control parsing to comply to the latest version of the specification. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15511 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-22Fix decoding of sendIdentificationArg/Res and ProvideSubscriberLocationetxrab1-74/+103
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15510 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-22Add a "time_stat_init()" routine to initialize the fields of aguy3-1/+16
"timestat_t". Move "nstime_to_msec()" to "epan/nstime.c", as it has nothing to do with a "timestat_t". Use structure assignment when possible. Fix the "addtime()" macro and use it in "time_stat_update()". Use "timestat_t"s, and the routines to manipulate them, in the service response time table code. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15509 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-22From Graeme Lunt:etxrab1-22/+24
Zero length elements (e.g. an empty SET) the logic is slightly wrong in get_ber_length(). Make SET work. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15508 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-21Export get_timesum().guy1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15507 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-21- Make it possible to filter on eap.null, eap.info, eap.unknown etcjmayer1-18/+68
- Display "Info" instead of "System" in packet summary - Make the Null element look like the other elements. - Small element summary formatting changes git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15505 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-21- In the info summary, port# and slot# were exchangedjmayer1-6/+9
- In the Display element, the length of the display string was 4 too long - Display the Vlan id in the packet summary, not just "Vlan" - Remove trailing whitespace git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15502 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-21From Mike Duigou:etxrab2-217/+288
A patch to the JXTA dissector. It's purpose is to improve the behaviour of the dissector when dissecting captures that do not include the whole conversation. The dissector is now more capable of isolating a conversation without seeing the beginning of the conversation. It's still not always able to pick up all conversations (suggestions, patches and hints welcome). improved some of the doxygen docs and comments. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15500 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-21The protocol item in the protocol tree will have a gray background now, ↵ulfl2-5/+31
which makes it much better visible. Add some more optional flags to the protocol items, so more "special cases" can be marked in the protocol tree. New flags: /** The protocol field has a bad checksum */ FI_CHECKSUM_ERROR /** The protocol field has an unusual sequence (e.g. TCP window is zero) */ FI_SEQUENCE_WARNING /** The protocol field has a bad sequence (e.g. TCP segment is lost) */ FI_SEQUENCE_ERROR git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15499 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-21as discussed some time ago: don't add bad checksum fields conditionally but ↵ulfl1-10/+30
use a subtree and use boolean flags instead git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15498 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-21Add a "register_dfilter_stat()", to register stats that take a displayguy1-1/+1
filter as an argument on the command line and have a dialog box to enter the display filter through the GUI. Use it for all stats using "gtk_tap_dfilter_dlg_cb()". Add a top-level "stat_menu.h" file to declare "REGISTER_STAT_GROUP_E" for the benefit of the declaration of "register_dfilter_stat()" in the top-level "tap_dfilter_dlg.h". Rename the "stat_menu.h" in the gtk directory to "gtk_stat_menu.h", so as not to have two headers with the same name. Get rid of headers not declaring any functions not being used in the module. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15493 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-21remove sprintf from gsm_asahlberg5-219/+229
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15492 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-21remove gmalloc and sprintfsahlberg1-11/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15491 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-21remove sprintfsahlberg1-274/+285
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15490 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20remove sprintfsahlberg1-20/+18
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15486 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20radius_dict.l(216) : warning C4090: 'function' : different 'const' qualifiersulfl1-2/+2
radius_dict.l(216) : warning C4022: 'g_hash_table_insert' : pointer mismatch for actual parameter 2 radius_dict.l(268) : warning C4090: 'function' : different 'const' qualifiers radius_dict.l(268) : warning C4022: 'g_free' : pointer mismatch for actual parameter 1 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15485 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20removal of sprintfsahlberg1-14/+25
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15484 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20Rename epan/stat.[ch] to epan/stat_cmd_args.[ch] - it only deals withguy3-12/+11
implementing the "-z" command-line arguments, it doesn't deal with *all* issues for stats. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15483 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20There's no longer a need to individually remove items fromguy1-7/+0
acse_ctx_oid_table - destroying the hash table will destroy the hash table items, and the destroy function no longer has any work to do because the OID strings are now allocated with se_strdup() (and thus get freed when the capture is closed). Regenerate packet-acse.c, which also regenerates acse-exp.cnf. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15480 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20Flag the "add_string" parameter as unused if it is - and don't flag itguy1-19/+19
as such if it *is* used. Get rid of the "add_string" parameter to "param_digits_basic", as that function *isn't* called through a pointer. Don't flag arguments in declarations as unused; you only do that in definitions. Clean up indentation. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15479 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20If we delete a file, don't forget to remove it from Makefile.commonjmayer1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15476 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20- Include the .h files in their .c files.jmayer6-35/+9
- Remove epan/dissectors/packet-sna.h, it isn't used anywhere. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15475 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20removed MSVC warnings:ulfl3-10/+10
packet-camel.c(6829) : warning C4101: 'version_str' : unreferenced local variable packet-quakeworld.c(172) : warning C4090: 'return' : different 'const' qualifiers packet-smb.c(10859) : warning C4101: 'target_name_len' : unreferenced local variable packet-smb.c(10860) : warning C4101: 'fn_len' : unreferenced local variable packet-smb.c(10858) : warning C4101: 'fn' : unreferenced local variable git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15474 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20Win32: exported DATA must be declared with ETH_VAR_IMPORT to be available ↵ulfl1-1/+1
from outside the lib fixes current Win32 buildbot problem git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15473 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20more sprintf updatessahlberg4-24/+32
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15469 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20remove sprintfsahlberg1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15467 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20get rid of a whole chunk of sprintfssahlberg1-133/+130
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15466 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20From Gisle Vanem: export get_timedelta() for use by AFP and SMB taps.guy1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15464 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20The order in which arguments to a function are evaluated isn't definedguy1-2/+4
by C. Do decrements of arguments before passing them to a function. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15463 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20Export AFP's CommandCode_vals for use by the AFP taps.guy1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15461 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20sprintf eliminationsahlberg1-3/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15460 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20sprintf removalssahlberg1-4/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15459 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20remove some more sprintfsahlberg2-8/+11
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15458 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20removal of even more sprintfsahlberg10-94/+100
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15457 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20For AFP requests, add in the frame with the (last part of the) reply, ifguy2-9/+92
possible, and, for AFP replies, add in the frame with the request and the time between those two frames. Have AFP per-request-type RTT statistics, similar to SMB's statistics. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15456 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20Use get_timedelta() to get the difference between two times.guy1-8/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15455 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20Trivial warning fixesjmayer1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15452 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20remove sprintf from mtp3sahlberg3-20/+23
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15451 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20remove sprintf from pgm and x11sahlberg2-55/+43
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15450 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20remove sprintf from v120 and wccpsahlberg2-8/+11
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15449 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20remove sprintf from rpcsahlberg1-27/+24
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15448 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20fix buffer handling and remove sprintfsahlberg1-115/+131
there was at least one instance where an ip address was printed in dotted decimal to a 10 byte array on the stack. I.e. a guaranteed buffer overrun for a stack object. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15447 f5534014-38df-0310-8fa8-9805f1628bb7