aboutsummaryrefslogtreecommitdiffstats
path: root/packet-afp.c
AgeCommit message (Collapse)AuthorFilesLines
2003-06-26From Didier Gautheron: get rid of unused value_string table.guy1-16/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7944 f5534014-38df-0310-8fa8-9805f1628bb7
2003-06-07From Didier Gautheron:guy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7801 f5534014-38df-0310-8fa8-9805f1628bb7
2003-05-15From Didier Gautheron: add the right decoding for AFP3.1 FPCatSearchExtguy1-34/+90
call. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7674 f5534014-38df-0310-8fa8-9805f1628bb7
2003-03-30From Didier Gautheron: bug fix plus a new command decoded.guy1-17/+68
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7382 f5534014-38df-0310-8fa8-9805f1628bb7
2003-02-12From Didier Gautheron: add AFP3 setforkparam 64 bits parameters.guy1-4/+16
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7130 f5534014-38df-0310-8fa8-9805f1628bb7
2003-01-19From Didier Gautheron:guy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6938 f5534014-38df-0310-8fa8-9805f1628bb7
2002-11-28Arguments to hash routines are gconstpointer's; assign them to constguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6688 f5534014-38df-0310-8fa8-9805f1628bb7
2002-10-25From Didier Gautheron: handle the padding in AFP login packets that putguy1-2/+3
the password on an even boundary. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6509 f5534014-38df-0310-8fa8-9805f1628bb7
2002-10-17From Didier Gautheron: better AFP 3.x dissector.guy1-85/+421
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6449 f5534014-38df-0310-8fa8-9805f1628bb7
2002-10-09From Didier Gautheron: add AFP 3.1's FPEnumerateExt2 call, and add aguy1-1/+58
warning when TCP or UDP ports are reused in different conversations. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6391 f5534014-38df-0310-8fa8-9805f1628bb7
2002-09-18From Didier Gautheron: bail out in "loop_record()" if the size of theguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6301 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-28Removed trailing whitespaces from .h and .c files using thejmayer1-238/+238
winapi_cleanup tool written by Patrik Stridvall for the wine project. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6117 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-02Replace the types from sys/types.h and netinet/in.h by their glib.hjmayer1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5932 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-29From Didier Gautheron: add FPGetUserInfo.guy1-1/+107
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5911 f5534014-38df-0310-8fa8-9805f1628bb7
2002-07-17From Joerg Mayer:guy1-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()". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5889 f5534014-38df-0310-8fa8-9805f1628bb7
2002-06-20From Didier Gautheron: assorted small fixes, more AFP calls, and DSI/ASPguy1-5/+343
error code in the Info column. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5712 f5534014-38df-0310-8fa8-9805f1628bb7
2002-05-30Don't pass "tvb_reported_length_remaining(tvb, offset)" as the fourthguy1-3/+5
argument to "tvb_new_subset()" - just use -1 if the subset tvbuff is to run to the end of the parent tvbuff. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5599 f5534014-38df-0310-8fa8-9805f1628bb7
2002-05-11From Didier Gautheron: do case-insensitive comparison against theguy1-4/+20
authentication mode, and add support for the "exchange file" operation. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5449 f5534014-38df-0310-8fa8-9805f1628bb7
2002-05-03From Didier Gautheron:guy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5376 f5534014-38df-0310-8fa8-9805f1628bb7
2002-05-01Mark some unused arguments as such.guy1-36/+36
Fix white space. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5339 f5534014-38df-0310-8fa8-9805f1628bb7
2002-04-30From Didier Gautheron:guy1-72/+253
more calls supported in AFP; ATP desegmentation; show the name for NBP function 1 (broadcast request); "get status" reply for DSI. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5316 f5534014-38df-0310-8fa8-9805f1628bb7
2002-04-29Have separate fields for volume, long file name, short file name, andguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5289 f5534014-38df-0310-8fa8-9805f1628bb7
2002-04-29Removal (or, at least, #ifdeffing out) of unused variables andguy1-2/+3
functions, from David Frascone. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5288 f5534014-38df-0310-8fa8-9805f1628bb7
2002-04-28Show unknown AFP command codes in decimal in the summary line, as weguy1-2/+2
show them in decimal in the protocol tree. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5282 f5534014-38df-0310-8fa8-9805f1628bb7
2002-04-28Mark requests as such in the Info column.guy1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5278 f5534014-38df-0310-8fa8-9805f1628bb7
2002-04-28Set the nanoseconds value of time stamps to 0, rather than usingguy1-1/+2
whatever random junk was in there. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5276 f5534014-38df-0310-8fa8-9805f1628bb7
2002-04-28Pass even zero-length DSI and ASP "command" messages to the AFPguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5275 f5534014-38df-0310-8fa8-9805f1628bb7
2002-04-28Give AFP messages the same names they're given in Apple's documentation.guy1-55/+55
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5274 f5534014-38df-0310-8fa8-9805f1628bb7
2002-04-28Clean up field names and descriptions.guy1-357/+455
Clean up white space. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5273 f5534014-38df-0310-8fa8-9805f1628bb7
2002-04-28Decode replies to FPWrite.guy1-10/+27
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5271 f5534014-38df-0310-8fa8-9805f1628bb7
2002-04-28Updates from Didier Gautheron:guy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5270 f5534014-38df-0310-8fa8-9805f1628bb7
2002-04-25ATP, ASP, and AFP support, from Didier Gautheron.guy1-0/+1852
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5254 f5534014-38df-0310-8fa8-9805f1628bb7