AppleTalk Filing Protocol (afp)

Table 13. AppleTalk Filing Protocol (afp)

FieldField NameTypeDescription
afp.AFPVersionAFP VersionStringClient AFP version
afp.UAMUAMStringUser Authentication Method
afp.accessAccess modeUnsigned 8-bit integerFork access mode
afp.access.deny_readDeny readBooleanDeny read
afp.access.deny_writeDeny writeBooleanDeny write
afp.access.readReadBooleanOpen for reading
afp.access.writeWriteBooleanOpen for writing
afp.actual_countCountSigned 32-bit integerNumber of bytes returned by read/write
afp.appl_indexIndexUnsigned 16-bit integerApplication index
afp.appl_tagTagUnsigned 32-bit integerApplication tag
afp.backup_dateBackup dateDate/Time stampBackup date
afp.cat_countCat countUnsigned 32-bit integerNumber of structures returned
afp.cat_positionPositionByte arrayReserved
afp.cat_req_matchesMax answersSigned 32-bit integerMaximum number of matches to return.
afp.commandCommandUnsigned 8-bit integerAFP function
afp.commentCommentStringFile/folder comment
afp.create_flagHard createBooleanSoft/hard create file
afp.creation_dateCreation dateDate/Time stampCreation date
afp.data_fork_lenData fork sizeUnsigned 32-bit integerData fork size
afp.didDIDUnsigned 32-bit integerParent directory ID
afp.dir_arAccess rightsUnsigned 32-bit integerDirectory access rights
afp.dir_ar.blankBlank access rightBooleanBlank access right
afp.dir_ar.e_readEveryone has read accessBooleanEveryone has read access
afp.dir_ar.e_searchEveryone has search accessBooleanEveryone has search access
afp.dir_ar.e_writeEveryone has write accessBooleanEveryone has write access
afp.dir_ar.g_readGroup has read accessBooleanGroup has read access
afp.dir_ar.g_searchGroup has search accessBooleanGroup has search access
afp.dir_ar.g_writeGroup has write accessBooleanGroup has write access
afp.dir_ar.o_readOwner has read accessBooleanOwner has read access
afp.dir_ar.o_searchOwner has search accessBooleanOwner has search access
afp.dir_ar.o_writeOwner has write accessBooleanGwner has write access
afp.dir_ar.u_ownerUser is the ownerBooleanCurrent user is the directory owner
afp.dir_ar.u_readUser has read accessBooleanUser has read access
afp.dir_ar.u_searchUser has search accessBooleanUser has search access
afp.dir_ar.u_writeUser has write accessBooleanUser has write access
afp.dir_attribute.backup_neededBackup neededBooleanDirectory needs to be backed up
afp.dir_attribute.delete_inhibitDelete inhibitBooleanDelete inhibit
afp.dir_attribute.in_exported_folderShared areaBooleanDirectory is in a shared area
afp.dir_attribute.invisibleInvisibleBooleanDirectory is not visible
afp.dir_attribute.mountedMountedBooleanDirectory is mounted
afp.dir_attribute.rename_inhibitRename inhibitBooleanRename inhibit
afp.dir_attribute.set_clearSetBooleanClear/set attribute
afp.dir_attribute.shareShare pointBooleanDirectory is a share point
afp.dir_attribute.systemSystemBooleanDirectory is a system directory
afp.dir_bitmapDirectory bitmapUnsigned 16-bit integerDirectory bitmap
afp.dir_bitmap.UTF8_nameUTF-8 nameBooleanReturn UTF-8 name if diectory
afp.dir_bitmap.access_rightsAccess rightsBooleanReturn access rights if directory
afp.dir_bitmap.attributesAttributesBooleanReturn attributes if directory
afp.dir_bitmap.backup_dateBackup dateBooleanReturn backup date if directory
afp.dir_bitmap.create_dateCreation dateBooleanReturn creation date if directory
afp.dir_bitmap.didDIDBooleanReturn parent directory ID if directory
afp.dir_bitmap.fidFile IDBooleanReturn file ID if directory
afp.dir_bitmap.finder_infoFinder infoBooleanReturn finder info if directory
afp.dir_bitmap.group_idGroup idBooleanReturn group id if directory
afp.dir_bitmap.long_nameLong nameBooleanReturn long name if directory
afp.dir_bitmap.mod_dateModification dateBooleanReturn modification date if directory
afp.dir_bitmap.offspring_countOffspring countBooleanReturn offspring count if directory
afp.dir_bitmap.owner_idOwner idBooleanReturn owner id if directory
afp.dir_bitmap.short_nameShort nameBooleanReturn short name if directory
afp.dir_bitmap.unix_privsUNIX privilegesBooleanReturn UNIX privileges if directory
afp.dir_group_idGroup IDSigned 32-bit integerDirectory group ID
afp.dir_offspringOffspringUnsigned 16-bit integerDirectory offspring
afp.dir_owner_idOwner IDSigned 32-bit integerDirectory owner ID
afp.dt_refDT refUnsigned 16-bit integerDesktop database reference num
afp.ext_data_fork_lenExtended data fork sizeUnsigned 64-bit integerExtended (>2GB) data fork length
afp.ext_resource_fork_lenExtended resource fork sizeUnsigned 64-bit integerExtended (>2GB) resource fork length
afp.file_attribute.backup_neededBackup neededBooleanFile needs to be backed up
afp.file_attribute.copy_protectCopy protectBooleancopy protect
afp.file_attribute.delete_inhibitDelete inhibitBooleandelete inhibit
afp.file_attribute.df_openData fork openBooleanData fork already open
afp.file_attribute.invisibleInvisibleBooleanFile is not visible
afp.file_attribute.multi_userMulti userBooleanmulti user
afp.file_attribute.rename_inhibitRename inhibitBooleanrename inhibit
afp.file_attribute.rf_openResource fork openBooleanResource fork already open
afp.file_attribute.set_clearSetBooleanClear/set attribute
afp.file_attribute.systemSystemBooleanFile is a system file
afp.file_attribute.write_inhibitWrite inhibitBooleanWrite inhibit
afp.file_bitmapFile bitmapUnsigned 16-bit integerFile bitmap
afp.file_bitmap.UTF8_nameUTF-8 nameBooleanReturn UTF-8 name if file
afp.file_bitmap.attributesAttributesBooleanReturn attributes if file
afp.file_bitmap.backup_dateBackup dateBooleanReturn backup date if file
afp.file_bitmap.create_dateCreation dateBooleanReturn creation date if file
afp.file_bitmap.data_fork_lenData fork sizeBooleanReturn data fork size if file
afp.file_bitmap.didDIDBooleanReturn parent directory ID if file
afp.file_bitmap.ex_data_fork_lenExtended data fork sizeBooleanReturn extended (>2GB) data fork size if file
afp.file_bitmap.ex_resource_fork_lenExtended resource fork sizeBooleanReturn extended (>2GB) resource fork size if file
afp.file_bitmap.fidFile IDBooleanReturn file ID if file
afp.file_bitmap.finder_infoFinder infoBooleanReturn finder info if file
afp.file_bitmap.launch_limitLaunch limitBooleanReturn launch limit if file
afp.file_bitmap.long_nameLong nameBooleanReturn long name if file
afp.file_bitmap.mod_dateModification dateBooleanReturn modification date if file
afp.file_bitmap.resource_fork_lenResource fork sizeBooleanReturn resource fork size if file
afp.file_bitmap.short_nameShort nameBooleanReturn short name if file
afp.file_bitmap.unix_privsUNIX privilegesBooleanReturn UNIX privileges if file
afp.file_creatorFile creatorStringFile creator
afp.file_flagDirBooleanIs a dir
afp.file_idFile IDUnsigned 32-bit integerFile/directory ID
afp.file_typeFile typeStringFile type
afp.finder_infoFinder infoByte arrayFinder info
afp.flagFromUnsigned 8-bit integerOffset is relative to start/end of the fork
afp.fork_typeResource forkBooleanData/resource fork
afp.group_IDGroup IDUnsigned 32-bit integerGroup ID
afp.icon_indexIndexUnsigned 16-bit integerIcon index in desktop database
afp.icon_lengthSizeUnsigned 16-bit integerSize for icon bitmap
afp.icon_tagTagUnsigned 32-bit integerIcon tag
afp.icon_typeIcon typeUnsigned 8-bit integerIcon type
afp.last_writtenLast writtenUnsigned 32-bit integerOffset of the last byte written
afp.last_written64Last writtenUnsigned 64-bit integerOffset of the last byte written (64 bits)
afp.lock_fromEndBooleanOffset is relative to the end of the fork
afp.lock_lenLengthSigned 32-bit integerNumber of bytes to be locked/unlocked
afp.lock_len64LengthSigned 64-bit integerNumber of bytes to be locked/unlocked (64 bits)
afp.lock_offsetOffsetSigned 32-bit integerFirst byte to be locked
afp.lock_offset64OffsetSigned 64-bit integerFirst byte to be locked (64 bits)
afp.lock_opunlockBooleanLock/unlock op
afp.lock_range_startStartSigned 32-bit integerFirst byte locked/unlocked
afp.lock_range_start64StartSigned 64-bit integerFirst byte locked/unlocked (64 bits)
afp.long_name_offsetLong name offsetUnsigned 16-bit integerLong name offset in packet
afp.map_idIDUnsigned 32-bit integerUser/Group ID
afp.map_id_typeTypeUnsigned 8-bit integerMap ID type
afp.map_nameNameStringUser/Group name
afp.map_name_typeTypeUnsigned 8-bit integerMap name type
afp.modification_dateModification dateDate/Time stampModification date
afp.newline_charNewline charUnsigned 8-bit integerValue to compare ANDed bytes with when looking for newline
afp.newline_maskNewline maskUnsigned 8-bit integerValue to AND bytes with when looking for newline
afp.offsetOffsetSigned 32-bit integerOffset
afp.offset64OffsetSigned 64-bit integerOffset (64 bits)
afp.oforkForkUnsigned 16-bit integerOpen fork reference number
afp.ofork_lenNew lengthSigned 32-bit integerNew length
afp.padPadNo valuePad Byte
afp.passwdPasswordStringPassword
afp.path_lenLenUnsigned 8-bit integerPath length
afp.path_nameNameStringPath name
afp.path_typeTypeUnsigned 8-bit integerType of names
afp.reply_sizeReply sizeUnsigned 16-bit integerFirst structure returned
afp.req_countReq countUnsigned 16-bit integerMaximum number of structures returned
afp.reservedReservedByte arrayReserved
afp.resource_fork_lenResource fork sizeUnsigned 32-bit integerResource fork size
afp.rw_countCountSigned 32-bit integerNumber of bytes to be read/written
afp.rw_count64CountSigned 64-bit integerNumber of bytes to be read/written (64 bits)
afp.server_timeServer timeDate/Time stampServer time
afp.session_tokenTokenByte arraySession token
afp.session_token_lenLenUnsigned 32-bit integerSession token length
afp.session_token_typeTypeUnsigned 16-bit integerSession token type
afp.short_name_offsetShort name offsetUnsigned 16-bit integerShort name offset in packet
afp.start_indexStart indexUnsigned 16-bit integerFirst structure returned
afp.struct_sizeStruct sizeUnsigned 8-bit integerSizeof of struct
afp.unicode_name_offsetUnicode name offsetUnsigned 16-bit integerUnicode name offset in packet
afp.unix_privs.gidGIDUnsigned 32-bit integerGroup ID
afp.unix_privs.permissionsPermissionsUnsigned 32-bit integerPermissions
afp.unix_privs.ua_permissionsUser's access rightsUnsigned 32-bit integerUser's access rights
afp.unix_privs.uidUIDUnsigned 32-bit integerUser ID
afp.userUserStringUser
afp.user_IDUser IDUnsigned 32-bit integerUser ID
afp.user_bitmapBitmapUnsigned 16-bit integerUser Info bitmap
afp.user_bitmap.GIDPrimary group IDBooleanPrimary group ID
afp.user_bitmap.UIDUser IDBooleanUser ID
afp.user_flagFlagUnsigned 8-bit integerUser Info flag
afp.vol_attribute.blank_access_privsBlank access privilegesBooleanSupports blank access privileges
afp.vol_attribute.cat_searchCatalog searchBooleanSupports catalog search operations
afp.vol_attribute.fileIDsFile IDsBooleanSupports file IDs
afp.vol_attribute.passwdVolume passwordBooleanHas a volume password
afp.vol_attribute.read_onlyRead onlyBooleanRead only volume
afp.vol_attribute.unix_privsUNIX access privilegesBooleanSupports UNIX access privileges
afp.vol_attribute.utf8_namesUTF-8 namesBooleanSupports UTF-8 names
afp.vol_attributesAttributesUnsigned 16-bit integerVolume attributes
afp.vol_backup_dateBackup dateDate/Time stampVolume backup date
afp.vol_bitmapBitmapUnsigned 16-bit integerVolume bitmap
afp.vol_bitmap.attributesAttributesBooleanVolume attributes
afp.vol_bitmap.backup_dateBackup dateBooleanVolume backup date
afp.vol_bitmap.block_sizeBlock sizeBooleanVolume block size
afp.vol_bitmap.bytes_freeBytes freeBooleanVolume free bytes
afp.vol_bitmap.bytes_totalBytes totalBooleanVolume total bytes
afp.vol_bitmap.create_dateCreation dateBooleanVolume creation date
afp.vol_bitmap.ex_bytes_freeExtended bytes freeBooleanVolume extended (>2GB) free bytes
afp.vol_bitmap.ex_bytes_totalExtended bytes totalBooleanVolume extended (>2GB) total bytes
afp.vol_bitmap.idIDBooleanVolume ID
afp.vol_bitmap.mod_dateModification dateBooleanVolume modification date
afp.vol_bitmap.nameNameBooleanVolume name
afp.vol_bitmap.signatureSignatureBooleanVolume signature
afp.vol_block_sizeBlock sizeUnsigned 32-bit integerVolume block size
afp.vol_bytes_freeBytes freeUnsigned 32-bit integerFree space
afp.vol_bytes_totalBytes totalUnsigned 32-bit integerVolume size
afp.vol_creation_dateCreation dateDate/Time stampVolume creation date
afp.vol_ex_bytes_freeExtended bytes freeUnsigned 64-bit integerExtended (>2GB) free space
afp.vol_ex_bytes_totalExtended bytes totalUnsigned 64-bit integerExtended (>2GB) volume size
afp.vol_flag_passwdPasswordBooleanVolume is password-protected
afp.vol_flag_unix_privUnix privsBooleanVolume has unix privileges
afp.vol_idVolume idUnsigned 16-bit integerVolume id
afp.vol_modification_dateModification dateDate/Time stampVolume modification date
afp.vol_nameVolumeStringVolume name
afp.vol_name_offsetVolume name offsetUnsigned 16-bit integerVolume name offset in packet
afp.vol_signatureSignatureUnsigned 16-bit integerVolume signature