aboutsummaryrefslogtreecommitdiffstats
path: root/packet-afp.c
Commit message (Collapse)AuthorAgeFilesLines
* Put in URLs for the AFP 3.1 spec.Guy Harris2003-12-131-16/+142
| | | | | | | | Update some references to refer to the 3.1 spec. Fix up the handling of the request bitmap in CatSearch and CatSearchExt. svn path=/trunk/; revision=9258
* prevent MSVC warning:Ulf Lamping2003-12-111-3/+3
| | | | | | | "warning C4761: Gr��enkonflikt im Argument. Konvertierung vorgenommen" -> size conflict in argument, conversion done svn path=/trunk/; revision=9244
* From Didier Gautheron: add offset and size parameters in info colum forGuy Harris2003-12-081-5/+34
| | | | | | read and write commands. svn path=/trunk/; revision=9201
* From Didier Gautheron: get rid of unused value_string table.Guy Harris2003-06-261-16/+1
| | | | svn path=/trunk/; revision=7944
* From Didier Gautheron:Guy Harris2003-06-071-5/+7
| | | | | | | | | Unix Privilege defined as bit 14 for directories seems to be an error in AFP3.0.pdf. AFP3.1.pdf and AFP3.0 traffic capture use bit 15 for files and directories. svn path=/trunk/; revision=7801
* From Didier Gautheron: add the right decoding for AFP3.1 FPCatSearchExtGuy Harris2003-05-151-34/+90
| | | | | | call. svn path=/trunk/; revision=7674
* From Didier Gautheron: bug fix plus a new command decoded.Guy Harris2003-03-301-17/+68
| | | | svn path=/trunk/; revision=7382
* From Didier Gautheron: add AFP3 setforkparam 64 bits parameters.Guy Harris2003-02-121-4/+16
| | | | svn path=/trunk/; revision=7130
* From Didier Gautheron:Guy Harris2003-01-191-42/+115
| | | | | | | | | | | fix a padding issue and a problem where the spec appears to give the size of the AFP session token length incorrectly (changed to match what's captured, not what the spec says); provide more verbose messages in the Info column and decode more parameters for login packets. svn path=/trunk/; revision=6938
* Arguments to hash routines are gconstpointer's; assign them to constGuy Harris2002-11-281-4/+4
| | | | | | | | | | | | | | pointers. The first argument to "sscanf()" is a "const char *"; don't cast const pointers to "char *" when passing them to "sscanf()". Assign the result of "tvb_get_ptr()" to const pointers, not non-const pointers. Make the "pdata" argument to various DCE routines a const pointer. svn path=/trunk/; revision=6688
* From Didier Gautheron: handle the padding in AFP login packets that putGuy Harris2002-10-251-2/+3
| | | | | | the password on an even boundary. svn path=/trunk/; revision=6509
* From Didier Gautheron: better AFP 3.x dissector.Guy Harris2002-10-171-85/+421
| | | | svn path=/trunk/; revision=6449
* From Didier Gautheron: add AFP 3.1's FPEnumerateExt2 call, and add aGuy Harris2002-10-091-1/+58
| | | | | | warning when TCP or UDP ports are reused in different conversations. svn path=/trunk/; revision=6391
* From Didier Gautheron: bail out in "loop_record()" if the size of theGuy Harris2002-09-181-5/+5
| | | | | | | | | | | | | | structure to be dissected is 0. Also, in "loop_record()": Make the variable in which that size is stored a "guint" to avoid overflows. Free up the name string as soon as we're done with it, so that we won't leak it if we throw an exception. svn path=/trunk/; revision=6301
* Removed trailing whitespaces from .h and .c files using theJörg Mayer2002-08-281-238/+238
| | | | | | | winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
* Replace the types from sys/types.h and netinet/in.h by their glib.hJörg Mayer2002-08-021-9/+1
| | | | | | | | equivalents for the toplevel directory. The removal of winsock2.h will hopefully not cause any problems under MSVC++, as those files using struct timeval still include wtap.h, which still includes winsock2.h. svn path=/trunk/; revision=5932
* From Didier Gautheron: add FPGetUserInfo.Guy Harris2002-07-291-1/+107
| | | | svn path=/trunk/; revision=5911
* From Joerg Mayer:Guy Harris2002-07-171-6/+1
| | | | | | | | | | | | | | | dftest.c: Remove #if-0-ed includes packet-ieee80211.c, packet-wtls.c, packet-afp.c, packet-wsp.c, packet-wtp.c, ethereal_gen.py: Remove redundant include varargs (already in snprintf.h, and required only for snprintf.h) Remove unused include of snprintf.h from files not using "snprintf()". svn path=/trunk/; revision=5889
* From Didier Gautheron: assorted small fixes, more AFP calls, and DSI/ASPGuy Harris2002-06-201-5/+343
| | | | | | error code in the Info column. svn path=/trunk/; revision=5712
* Don't pass "tvb_reported_length_remaining(tvb, offset)" as the fourthGuy Harris2002-05-301-3/+5
| | | | | | | argument to "tvb_new_subset()" - just use -1 if the subset tvbuff is to run to the end of the parent tvbuff. svn path=/trunk/; revision=5599
* From Didier Gautheron: do case-insensitive comparison against theGuy Harris2002-05-111-4/+20
| | | | | | authentication mode, and add support for the "exchange file" operation. svn path=/trunk/; revision=5449
* From Didier Gautheron:Guy Harris2002-05-031-21/+55
| | | | | | | | | | | | | | | | | | | afp : more calls. asp : move release transaction to atp. dissect asp call. fix a bug with transaction handling (conversation +tid are not enough as key ). atp : deal with one packet transaction without ATP_EOM. dsi: safeguard against overflow for unreassembled packet. more flags decoded. Update the "packet-atalk.c" comment to reflect all the protocols in it. svn path=/trunk/; revision=5376
* Mark some unused arguments as such.Guy Harris2002-05-011-36/+36
| | | | | | Fix white space. svn path=/trunk/; revision=5339
* From Didier Gautheron:Guy Harris2002-04-301-72/+253
| | | | | | | | | | | | more calls supported in AFP; ATP desegmentation; show the name for NBP function 1 (broadcast request); "get status" reply for DSI. svn path=/trunk/; revision=5316
* Have separate fields for volume, long file name, short file name, andGuy Harris2002-04-291-53/+143
| | | | | | | | | | | | | | | | | | | | | Unicode file name offsets. Display the "UNIX privileges" field as a 4-longword structure, as part of the AFP 3.0 spec claims; unfortunately, another part claims it's only 4 bytes, but, unless a "long" is 8 bits, one or the other claim must be false. Completely get rid of the static "afp_handle" variable - it's not necessary. Put the Unicode name offset into the tree, if present, in "parse_file_bitmap()" and "parse_dir_bitmap()". Get rid of some unused variables. Put the newline mask and character into the tree for FPRead. svn path=/trunk/; revision=5289
* Removal (or, at least, #ifdeffing out) of unused variables andGuy Harris2002-04-291-2/+3
| | | | | | functions, from David Frascone. svn path=/trunk/; revision=5288
* Show unknown AFP command codes in decimal in the summary line, as weGuy Harris2002-04-281-2/+2
| | | | | | show them in decimal in the protocol tree. svn path=/trunk/; revision=5282
* Mark requests as such in the Info column.Guy Harris2002-04-281-3/+3
| | | | svn path=/trunk/; revision=5278
* Set the nanoseconds value of time stamps to 0, rather than usingGuy Harris2002-04-281-1/+2
| | | | | | whatever random junk was in there. svn path=/trunk/; revision=5276
* Pass even zero-length DSI and ASP "command" messages to the AFPGuy Harris2002-04-281-31/+30
| | | | | | | | | | | dissector, so it can show them as replies. Put the command code into the protocol tree for replies. Fix some additional AFP function names to match the names in the AFP spec. svn path=/trunk/; revision=5275
* Give AFP messages the same names they're given in Apple's documentation.Guy Harris2002-04-281-55/+55
| | | | svn path=/trunk/; revision=5274
* Clean up field names and descriptions.Guy Harris2002-04-281-357/+455
| | | | | | Clean up white space. svn path=/trunk/; revision=5273
* Decode replies to FPWrite.Guy Harris2002-04-281-10/+27
| | | | svn path=/trunk/; revision=5271
* Updates from Didier Gautheron:Guy Harris2002-04-281-137/+1434
| | | | | | | | | | | More calls, more fields, and other updates, for AFP. Decode the error code for DSI. Also, have separate fields for the code field in DSI when it's a data offset and when it's an error code. svn path=/trunk/; revision=5270
* ATP, ASP, and AFP support, from Didier Gautheron.Guy Harris2002-04-251-0/+1852
svn path=/trunk/; revision=5254