aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dmp.c
AgeCommit message (Collapse)AuthorFilesLines
2010-02-27Add a third date format, ABSOLUTE_TIME_DOY_UTC, to show UTC with theGuy Harris1-5/+5
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-25Change back from tvb_child_uncompress() to tvb_uncompress() whenStig Bjørlykke1-1/+1
parent is NULL, because this will lead to a DISSECTOR_ASSERT in tvb_set_child_real_data_tvbuff(). This bug was introduced in revision 31499. svn path=/trunk/; revision=31659
2010-01-11Fix part of Bug 3917 "tvb_new_real_data is prone to memory leak"Anders Broman1-15/+15
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3917 svn path=/trunk/; revision=31499
2009-12-10Add an argument to abs_time_to_str() and abs_time_secs_to_str()Guy Harris1-5/+5
indicating whether the time should be shown as local time or UTC. For now, always pass FALSE, meaning "show as local time". Clean up some stuff in the SNMP dissector, use abs_time_secs_to_str() for times with one-second resolution, and update a comment in various macros in the WSP dissector, while we're at it. svn path=/trunk/; revision=31227
2009-12-08Added defines for protocol identifier.Stig Bjørlykke1-27/+42
Added hf_addr_ext_form_orig for Originator. Rewrote strings for addr_form. Indicate national protocol. Added expert info for unknown compression. Some code cleanup. svn path=/trunk/; revision=31203
2009-10-25From Jakub Zawadzki:Anders Broman1-12/+9
Cleanup dissector code - use proper memory functions. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4164 svn path=/trunk/; revision=30691
2009-10-06Use IANA assigned port number as default UDP port.Stig Bjørlykke1-4/+2
svn path=/trunk/; revision=30352
2009-09-30Removed unused variable.Stig Bjørlykke1-15/+8
svn path=/trunk/; revision=30223
2009-07-07Do not use tfs true_string and false_string directly.Stig Bjørlykke1-16/+6
svn path=/trunk/; revision=28991
2009-07-07Remove some check_col() calls.Stig Bjørlykke1-9/+3
svn path=/trunk/; revision=28974
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-133/+131
(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-03-15Adjusted my name to use only ASCII characters.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=27733
2009-03-05Use some default true_false_string's.Stig Bjørlykke1-57/+37
Fixed a typo. svn path=/trunk/; revision=27618
2008-09-23Minor changes related to proto_reg_handoff & pref rangesBill Meier1-4/+4
svn path=/trunk/; revision=26254
2008-09-19Minor cleanup mostly related to proto_reg_handoffBill Meier1-1/+1
svn path=/trunk/; revision=26236
2008-09-11Minor cleanup related to proto_reg_handoff ....Bill Meier1-2/+2
svn path=/trunk/; revision=26176
2008-09-02Fix a few Emacs "file variables" to have "safe" values.Bill Meier1-1/+1
That is: indent-tabs-mode: tabs --> indent-tabs-mode: t Also: fix a typo: set-tabs-mode --> indent-tabs-mode svn path=/trunk/; revision=26113
2008-06-27Fix some warnings reported by gcc -Wshadow ... Bill Meier1-5/+5
Fix some spacing in packet-dcom.c svn path=/trunk/; revision=25618
2008-05-15Fix some of the Errors/warnings detected by checkapi.Bill Meier1-3/+9
svn path=/trunk/; revision=25305
2008-04-25Register dissector by name.Stig Bjørlykke1-1/+2
svn path=/trunk/; revision=25179
2008-01-16Changed to checksum_good and checksum_bad to align with other dissectors.Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=24115
2008-01-15Fixed a small issue reporting corresponding package num for retransmittedStig Bjørlykke1-1/+9
reports and notifications. svn path=/trunk/; revision=24107
2008-01-14Fixed a guint64 compile issue with a Sun C 5.8 compiler.Stig Bjørlykke1-5/+6
Fixed a tree placement. svn path=/trunk/; revision=24086
2007-12-20Added Precedence and Importance to COL_INFO.Stig Bjørlykke1-31/+48
svn path=/trunk/; revision=23929
2007-12-19Added total retransmission time analysis field.Stig Bjørlykke1-3/+18
svn path=/trunk/; revision=23920
2007-12-10Added option to turn off SEQ/ACK analysis.Stig Bjørlykke1-14/+24
Moved some resend expert infos to correct entry. Small fix in seq/ack analysis for report/notificacion. svn path=/trunk/; revision=23825
2007-12-04Duplicate packet # -> Retransmission #Stig Bjørlykke1-10/+10
svn path=/trunk/; revision=23751
2007-11-27- Added SEQ/ACK analysis for reports and notifications.Stig Bjørlykke1-84/+220
- Identify ack type in COL_INFO. - No analysis when in error packets. - Some cleanup in hf_ names. svn path=/trunk/; revision=23630
2007-11-25Added checksum.good and checksum.bad items.Stig Bjørlykke1-1/+27
svn path=/trunk/; revision=23589
2007-11-19Added port range.Stig Bjørlykke1-94/+111
Added a dissector assert on inconsistent data. Do not align retransmission or duplicate acknowledgement data in COL_INFO. Removed several _U_ for used variables. Re-indented some if-blocks. svn path=/trunk/; revision=23492
2007-11-07Create a subset tvb for dissect_x411_ORName so it doesn't eat too much data.Stig Bjørlykke1-9/+11
Removed some unnecessary int casts. svn path=/trunk/; revision=23392
2007-10-23Apply the small performance enhancment patches for:Anders Broman1-3/+3
- 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
2007-09-14Add a cast to allow compilation on Vista.Gerald Combs1-70/+70
svn path=/trunk/; revision=22874
2007-09-06Corrected some types, instead of adding a cast (from r21142).Stig Bjørlykke1-3424/+3455
Reindented file. svn path=/trunk/; revision=22816
2007-08-24- Added first version of DMP sequence analysis.Stig Bjørlykke1-383/+903
- Added some generated search fields. - Added notice about negative ack in msg_type strings. - Added some more expert infos. - Rewrote alot of display filter names. - Rewrote some hf_ values. svn path=/trunk/; revision=22647
2007-08-15- s/ntohs/g_ntohsJeff Morriss1-6/+3
- s/ntohl/g_ntohl - s/free/g_free - Change some tvb_get_string()+g_free()'s into tvb_get_ephemeral_string() - Change some tvb_fake_unicode()+g_free()'s into tvb_get_ephemeral_faked_unicode() - Change some tvb_get_string() calls that were clearly memory leaks (like atoi(tvb_get_string(...))) into tvb_get_ephemeral_string() svn path=/trunk/; revision=22515
2007-08-15Fixed a free -> g_freeStig Bjørlykke1-8/+4
Removed a unused hf_ entry From Ian Brumby: - Fixed decoding of 4 character and longer SICs svn path=/trunk/; revision=22512
2007-05-29Use G_GINT64_MODIFIER, rather than the PRI[douxX]64 macros, for GLibGuy Harris1-2/+2
routines and routines using those routines. GLib might use different modifiers for 64-bit quantities than the platform's C library does. svn path=/trunk/; revision=21990
2007-05-13Second step in introducing asn context to BER dissectors just like in PER.Anders Broman1-1/+4
svn path=/trunk/; revision=21753
2007-04-17Fix warnings of the form "long long unsigned int format, guint64 arg": useJeff Morriss1-1/+1
the PRI macros instead of %llu, etc. svn path=/trunk/; revision=21454
2007-03-28Fixed warnings on MS VC 6.0Graham Bloice1-331/+331
svn path=/trunk/; revision=21245
2007-03-23fix a lot more warningsUlf Lamping1-6/+6
svn path=/trunk/; revision=21142
2007-02-08This patch adds some expert info in DMP when:Graeme Lunt1-10/+31
- Checksum failure - Decoding of SIC failure - Negative ACK response - Unsupported DMP version - Error uncompressing content http://www.wireshark.org/lists/wireshark-dev/200702/msg00358.html svn path=/trunk/; revision=20748
2006-12-14From Stig Bjorlykke:Stephen Fisher1-0/+3638
I have added a new dissector for DMP (STANAG 4406 Direct Message Profile) as defined in STANAG 4406 Annex E. The DMP protocol has no assigned UDP port number yet, so the default value in this dissector is 0 (I suppose this is som sort of "disabled"?) until we get this registered. The dissector has been tested on OSX Intel/PowerPC and Solaris SPARC. Changes in this patch: * Added DMP dissector * Added a new CRC table and functions in crc16.c * Made NonDeliveryReasonCode and NonDeliveryDiagnosticCode available from X.411 * Made NonReceiptReasonField and DiscardReasonField available from X.420 svn path=/trunk/; revision=20133