aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-afs.c
AgeCommit message (Collapse)AuthorFilesLines
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-12-02Reject the packet if data is NULL.Chris Maynard1-0/+3
svn path=/trunk/; revision=53709
2013-10-22Pass struct rxinfo "private data" into AFS dissector instead of using ↵Michael Mann1-5/+7
pinfo->private_data. svn path=/trunk/; revision=52751
2013-09-19From Mark Vitale via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9141Evan Huus1-4/+83
Decode AFS RXAFSCB_GetCapabilities RPC requests with their replies. svn path=/trunk/; revision=52143
2013-09-16From Mark Vitale via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9142Evan Huus1-1/+1
Fix decoding of AFS Volume Name. svn path=/trunk/; revision=52114
2013-09-16From Mark Vitale via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9140Evan Huus1-26/+135
Add reassembly support for AFS. From me: minor tweaks to conform to other reassemblable protocols; indentation fixes; modelines svn path=/trunk/; revision=52113
2013-09-12Convert a few more dissectors to wmem.Evan Huus1-6/+6
svn path=/trunk/; revision=51967
2013-03-12use correct data type in the castMartin Kaiser1-1/+1
this fixes packet-afs.c: In function 'dissect_afs': packet-afs.c:1539:35: error: expected expression before ')' token svn path=/trunk/; revision=48266
2013-03-12- [-Wmissing-prototypes]Anders Broman1-1/+4
- explicit casts. svn path=/trunk/; revision=48265
2013-01-31Comment out unused hf[] entries & etc.Bill Meier1-3/+9
(found by checkhf) svn path=/trunk/; revision=47389
2012-12-06Revert previous change - maybe we shouldn't enable -Wshadow with cruftyGuy Harris1-1/+1
old GCCs that complain about that. svn path=/trunk/; revision=46432
2012-12-06Squelch some -Wshadow warnings (inappropriate warnings - they're justGuy Harris1-1/+1
names in a prototype declaration - but maybe that's what you get with older compilers). svn path=/trunk/; revision=46431
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=45017
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-04Get rid of a couple of warnings.Anders Broman1-2/+2
svn path=/trunk/; revision=43066
2012-05-19Fix some "warning: Value stored to '...' is never read" clang scan-build ↵Bill Meier1-3/+3
warnings. Also; Do some whitespace cleanup in a few cases. svn path=/trunk/; revision=42715
2012-05-16all:Bill Meier1-8/+121
Merge .h files into .c files since .h files unused elsewhere; Do whitespace, indentation & formatting cleanup. packet-acn.c: Fix 2 minor bugs wherein subtree not displayed in packet-details because tree variable used in proto_tree_add_text() always NULL. svn path=/trunk/; revision=42647
2012-04-27As suggested in ↵Jeff Morriss1-1/+1
http://www.wireshark.org/lists/wireshark-dev/201204/msg00062.html : Don't use ENC_BIG_ENDIAN or ENC_LITTLE_ENDIAN with ENC_ASCII: ASCII has no endianism, so ENC_NA is more appropriate. svn path=/trunk/; revision=42297
2011-09-22Use ENC_ values in proto_tree_add_item() calls.Guy Harris1-5/+5
In the AgentX dissector, make the "flags" arguments guint8, to match what's passed in. In the AIM dissector, use val_to_str() in col_add_str() calls - it gives the same result if there's a match, and puts a note in the Info column if there isn't, and is less complicated. In the AJP13 dissector: update the URL for the protocol documentation; add #defines for message types, and use them; for "enumerated data type" fields, make the fields numerical rather than strings and give them the value_string tables; get rid of col_check() calls; make a Boolean item an FT_BOOLEAN. svn path=/trunk/; revision=39085
2011-02-17Fix various Visual C++ analysis warnings.Gerald Combs1-1/+1
svn path=/trunk/; revision=35985
2010-11-04Use value_string_ext fcns to access certain value_string arrays;Bill Meier1-117/+124
Sort certain value_string arrays to be in ascending numeric order; Do minor whitespace cleanup and reformatting of long lines. svn path=/trunk/; revision=34780
2010-09-23Replace blurbs that match the name (case insensitive) with NULL.Jeff Morriss1-1/+1
svn path=/trunk/; revision=34227
2010-05-13As suggested in ↵Jeff Morriss1-7/+1
http://www.wireshark.org/lists/wireshark-dev/200809/msg00075.html (as referenced in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2907 ) and https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3411 : Write a new convenience routine for finding a conversation and, if it is not found, create it. The frame number and addresses are taken from pinfo (as is the common case). Use this function in a bunch of dissectors. svn path=/trunk/; revision=32790
2010-05-10Indentation & whitespace cleanup (including: "4 space tabs" ==> spaces)Bill Meier1-9/+9
svn path=/trunk/; revision=32735
2010-03-03remove check_colAnders Broman1-6/+3
svn path=/trunk/; revision=32089
2009-12-19For fields of type FT_ABSOLUTE_TIME, have the "display" value be one ofGuy Harris1-21/+21
ABSOLUTE_TIME_LOCAL or ABSOLUTE_TIME_UTC, indicating whether to display the date/time in local time or UTC. (int)ABSOLUTE_TIME_LOCAL == (int)BASE_NONE, so there's no source or binary compatiblity issue, although we might want to eliminate BASE_NONE at some point and have the BASE_ values used with integral types start at 0, so that you can't specify BASE_NONE for an integral field. svn path=/trunk/; revision=31319
2009-10-25From Jakub Zawadzki:Anders Broman1-6/+3
Cleanup dissector code - use proper memory functions. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4164 svn path=/trunk/; revision=30691
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-3/+1
svn path=/trunk/; revision=29346
2009-08-09Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-3/+1
svn path=/trunk/; revision=29345
2009-07-14Remove an unused define.Gerald Combs1-1/+0
svn path=/trunk/; revision=29098
2009-06-22Instead of tvb_get_ptr + ep_alloc + proto_tree_add_string to fetch a string andGerald Combs1-11/+5
add it to the tree, just call proto_tree_add_item. Fixes bug 3564. Replace another tvb_get_ptr call with tvb_format_text. svn path=/trunk/; revision=28815
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-225/+225
(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-04-22Clean up some 64-bit issues.Guy Harris1-31/+31
svn path=/trunk/; revision=28117
2009-03-27More size_t casts.Gerald Combs1-1/+1
svn path=/trunk/; revision=27866
2009-03-18Get rid of P64 warnings; those strings should never be longer than 2^31-1.Guy Harris1-2/+2
svn path=/trunk/; revision=27784
2009-01-19I'm pretty sure time_s and time_ns don't come from the same 4 bytes.Jaap Keuter1-1/+1
svn path=/trunk/; revision=27269
2008-06-26Fix some warnings reported by gcc -Wshadow ...Bill Meier1-33/+33
svn path=/trunk/; revision=25607
2008-05-09Fix some of the Errors/warnings detected by checkapi.Anders Broman1-1/+3
svn path=/trunk/; revision=25264
2008-03-16From Chaskiel Grundman via ↵Jeff Morriss1-6/+9
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1556: patch to track afs requests by rx connection id svn path=/trunk/; revision=24651
2008-03-01Rewrote to use g_strlcpy and g_strlcat.Stig Bjørlykke1-7/+8
svn path=/trunk/; revision=24525
2008-03-01Added missing array for hf_afs_fs_ipaddr.Stig Bjørlykke1-0/+2
svn path=/trunk/; revision=24514
2008-02-02Rewrote some prohibited APIs in epan/dissectors/ (sprintf, strcpy, strcat).Stig Bjørlykke1-7/+7
If we get some truncated strings we probably overwrote some buffers... svn path=/trunk/; revision=24249
2007-03-30ep_malloc -> ep_alloc !!Sebastien Tandel1-1/+1
svn path=/trunk/; revision=21281
2007-03-30remove some g_malloc/g_freeSebastien Tandel1-2/+1
svn path=/trunk/; revision=21280
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2005-09-21remove some strcpy() with g_snprintf()Ronnie Sahlberg1-6/+9
svn path=/trunk/; revision=15931
2005-08-29Merge packet-afs-register-info.h, packet-afs-defs.h and packet-afs-macros.hJörg Mayer1-3/+1797
into packet-afs.c svn path=/trunk/; revision=15605
2005-08-24EVERYTHING IN THE BUILDBOT IS GOING TO BE RED!!! Sorry! Ulf Lamping1-10/+4
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... svn path=/trunk/; revision=15520
2005-08-13gmemchunk -> se_alloc() improvementsRonnie Sahlberg1-19/+3
svn path=/trunk/; revision=15327
2005-02-02From Jon Ringle:Anders Broman1-2/+2
1) Added a setup_frame parameter to conversation_t 2) Used the conversation_t next to maintain a list of conversations with the same src/dest tuple but different setup_frame number. 3) Changed the signature of find_conversation() and conversation_new() to pass in the frame number. 4) Adjusted packet-sdp to select RTP conversation if both m=audio and m=image are present, and T.38 conversation if only m=image is present. I expect that RTP/T.38 dissecting to be better, but I don't have a way to generate T.38 packets. svn path=/trunk/; revision=13243