Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
ncp.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  ncp_request_header
 
struct  ncp_reply_header
 
struct  ncp_volume_info
 
struct  nw_nfs_info
 
struct  nw_info_struct
 
struct  nw_modify_dos_info
 
struct  nw_search_sequence
 

Macros

#define NCP_PTYPE   (0x11)
 
#define NCP_PORT   (0x0451)
 
#define NCP_ALLOC_SLOT_REQUEST   (0x1111)
 
#define NCP_REQUEST   (0x2222)
 
#define NCP_DEALLOC_SLOT_REQUEST   (0x5555)
 
#define NCP_REPLY   (0x3333)
 
#define NCP_WATCHDOG   (0x3E3E)
 
#define NCP_POSITIVE_ACK   (0x9999)
 
#define NCP_VOLNAME_LEN   (16)
 
#define NCP_NUMBER_OF_VOLUMES   (256)
 
#define AR_READ   (cpu_to_le16(1))
 
#define AR_WRITE   (cpu_to_le16(2))
 
#define AR_EXCLUSIVE   (cpu_to_le16(0x20))
 
#define NCP_FILE_ID_LEN   6
 
#define NW_NS_DOS   0
 
#define NW_NS_MAC   1
 
#define NW_NS_NFS   2
 
#define NW_NS_FTAM   3
 
#define NW_NS_OS2   4
 
#define RIM_NAME   (cpu_to_le32(1))
 
#define RIM_SPACE_ALLOCATED   (cpu_to_le32(2))
 
#define RIM_ATTRIBUTES   (cpu_to_le32(4))
 
#define RIM_DATA_SIZE   (cpu_to_le32(8))
 
#define RIM_TOTAL_SIZE   (cpu_to_le32(0x10))
 
#define RIM_EXT_ATTR_INFO   (cpu_to_le32(0x20))
 
#define RIM_ARCHIVE   (cpu_to_le32(0x40))
 
#define RIM_MODIFY   (cpu_to_le32(0x80))
 
#define RIM_CREATION   (cpu_to_le32(0x100))
 
#define RIM_OWNING_NAMESPACE   (cpu_to_le32(0x200))
 
#define RIM_DIRECTORY   (cpu_to_le32(0x400))
 
#define RIM_RIGHTS   (cpu_to_le32(0x800))
 
#define RIM_ALL   (cpu_to_le32(0xFFF))
 
#define RIM_COMPRESSED_INFO   (cpu_to_le32(0x80000000))
 
#define NSIBM_NFS_NAME   0x0001
 
#define NSIBM_NFS_MODE   0x0002
 
#define NSIBM_NFS_GID   0x0004
 
#define NSIBM_NFS_NLINKS   0x0008
 
#define NSIBM_NFS_RDEV   0x0010
 
#define NSIBM_NFS_LINK   0x0020
 
#define NSIBM_NFS_CREATED   0x0040
 
#define NSIBM_NFS_UID   0x0080
 
#define NSIBM_NFS_ACSFLAG   0x0100
 
#define NSIBM_NFS_MYFLAG   0x0200
 
#define OC_MODE_OPEN   0x01
 
#define OC_MODE_TRUNCATE   0x02
 
#define OC_MODE_REPLACE   0x02
 
#define OC_MODE_CREATE   0x08
 
#define OC_ACTION_NONE   0x00
 
#define OC_ACTION_OPEN   0x01
 
#define OC_ACTION_CREATE   0x02
 
#define OC_ACTION_TRUNCATE   0x04
 
#define OC_ACTION_REPLACE   0x04
 
#define AR_READ_ONLY   0x0001
 
#define AR_WRITE_ONLY   0x0002
 
#define AR_DENY_READ   0x0004
 
#define AR_DENY_WRITE   0x0008
 
#define AR_COMPATIBILITY   0x0010
 
#define AR_WRITE_THROUGH   0x0040
 
#define AR_OPEN_COMPRESSED   0x0100
 
#define DM_ATTRIBUTES   (cpu_to_le32(0x02))
 
#define DM_CREATE_DATE   (cpu_to_le32(0x04))
 
#define DM_CREATE_TIME   (cpu_to_le32(0x08))
 
#define DM_CREATOR_ID   (cpu_to_le32(0x10))
 
#define DM_ARCHIVE_DATE   (cpu_to_le32(0x20))
 
#define DM_ARCHIVE_TIME   (cpu_to_le32(0x40))
 
#define DM_ARCHIVER_ID   (cpu_to_le32(0x80))
 
#define DM_MODIFY_DATE   (cpu_to_le32(0x0100))
 
#define DM_MODIFY_TIME   (cpu_to_le32(0x0200))
 
#define DM_MODIFIER_ID   (cpu_to_le32(0x0400))
 
#define DM_LAST_ACCESS_DATE   (cpu_to_le32(0x0800))
 
#define DM_INHERITED_RIGHTS_MASK   (cpu_to_le32(0x1000))
 
#define DM_MAXIMUM_SPACE   (cpu_to_le32(0x2000))
 

Functions

struct ncp_request_header __attribute__ ((packed))
 

Variables

__u16 type
 
__u8 sequence
 
__u8 conn_low
 
__u8 task
 
__u8 conn_high
 
__u8 function
 
__u8 data [0]
 
__u8 completion_code
 
__u8 connection_state
 
struct ncp_volume_info __attribute__
 
__u32 spaceAlloc
 
__le32 attributes
 
__u16 flags
 
__le32 dataStreamSize
 
__le32 totalStreamSize
 
__u16 numberOfStreams
 
__le16 creationTime
 
__le16 creationDate
 
__u32 creatorID
 
__le16 modifyTime
 
__le16 modifyDate
 
__u32 modifierID
 
__le16 lastAccessDate
 
__u16 archiveTime
 
__u16 archiveDate
 
__u32 archiverID
 
__u16 inheritedRightsMask
 
__le32 dirEntNum
 
__le32 DosDirNum
 
__u32 volNumber
 
__u32 EADataSize
 
__u32 EAKeyCount
 
__u32 EAKeySize
 
__u32 NSCreator
 
__u8 nameLen
 
__u8 entryName [256]
 
__u16 inheritanceGrantMask
 
__u16 inheritanceRevokeMask
 
__u32 maximumSpace
 
__u32 dirBase
 

Macro Definition Documentation

#define AR_COMPATIBILITY   0x0010

Definition at line 120 of file ncp.h.

#define AR_DENY_READ   0x0004

Definition at line 118 of file ncp.h.

#define AR_DENY_WRITE   0x0008

Definition at line 119 of file ncp.h.

#define AR_EXCLUSIVE   (cpu_to_le16(0x20))

Definition at line 62 of file ncp.h.

#define AR_OPEN_COMPRESSED   0x0100

Definition at line 122 of file ncp.h.

#define AR_READ   (cpu_to_le16(1))

Definition at line 60 of file ncp.h.

#define AR_READ_ONLY   0x0001

Definition at line 116 of file ncp.h.

#define AR_WRITE   (cpu_to_le16(2))

Definition at line 61 of file ncp.h.

#define AR_WRITE_ONLY   0x0002

Definition at line 117 of file ncp.h.

#define AR_WRITE_THROUGH   0x0040

Definition at line 121 of file ncp.h.

#define DM_ARCHIVE_DATE   (cpu_to_le32(0x20))

Definition at line 168 of file ncp.h.

#define DM_ARCHIVE_TIME   (cpu_to_le32(0x40))

Definition at line 169 of file ncp.h.

#define DM_ARCHIVER_ID   (cpu_to_le32(0x80))

Definition at line 170 of file ncp.h.

#define DM_ATTRIBUTES   (cpu_to_le32(0x02))

Definition at line 164 of file ncp.h.

#define DM_CREATE_DATE   (cpu_to_le32(0x04))

Definition at line 165 of file ncp.h.

#define DM_CREATE_TIME   (cpu_to_le32(0x08))

Definition at line 166 of file ncp.h.

#define DM_CREATOR_ID   (cpu_to_le32(0x10))

Definition at line 167 of file ncp.h.

#define DM_INHERITED_RIGHTS_MASK   (cpu_to_le32(0x1000))

Definition at line 175 of file ncp.h.

#define DM_LAST_ACCESS_DATE   (cpu_to_le32(0x0800))

Definition at line 174 of file ncp.h.

#define DM_MAXIMUM_SPACE   (cpu_to_le32(0x2000))

Definition at line 176 of file ncp.h.

#define DM_MODIFIER_ID   (cpu_to_le32(0x0400))

Definition at line 173 of file ncp.h.

#define DM_MODIFY_DATE   (cpu_to_le32(0x0100))

Definition at line 171 of file ncp.h.

#define DM_MODIFY_TIME   (cpu_to_le32(0x0200))

Definition at line 172 of file ncp.h.

#define NCP_ALLOC_SLOT_REQUEST   (0x1111)

Definition at line 18 of file ncp.h.

#define NCP_DEALLOC_SLOT_REQUEST   (0x5555)

Definition at line 20 of file ncp.h.

#define NCP_FILE_ID_LEN   6

Definition at line 64 of file ncp.h.

#define NCP_NUMBER_OF_VOLUMES   (256)

Definition at line 48 of file ncp.h.

#define NCP_PORT   (0x0451)

Definition at line 16 of file ncp.h.

#define NCP_POSITIVE_ACK   (0x9999)

Definition at line 34 of file ncp.h.

#define NCP_PTYPE   (0x11)

Definition at line 15 of file ncp.h.

#define NCP_REPLY   (0x3333)

Definition at line 32 of file ncp.h.

#define NCP_REQUEST   (0x2222)

Definition at line 19 of file ncp.h.

#define NCP_VOLNAME_LEN   (16)

Definition at line 47 of file ncp.h.

#define NCP_WATCHDOG   (0x3E3E)

Definition at line 33 of file ncp.h.

#define NSIBM_NFS_ACSFLAG   0x0100

Definition at line 98 of file ncp.h.

#define NSIBM_NFS_CREATED   0x0040

Definition at line 96 of file ncp.h.

#define NSIBM_NFS_GID   0x0004

Definition at line 92 of file ncp.h.

#define NSIBM_NFS_LINK   0x0020

Definition at line 95 of file ncp.h.

#define NSIBM_NFS_MODE   0x0002

Definition at line 91 of file ncp.h.

#define NSIBM_NFS_MYFLAG   0x0200

Definition at line 99 of file ncp.h.

#define NSIBM_NFS_NAME   0x0001

Definition at line 90 of file ncp.h.

#define NSIBM_NFS_NLINKS   0x0008

Definition at line 93 of file ncp.h.

#define NSIBM_NFS_RDEV   0x0010

Definition at line 94 of file ncp.h.

#define NSIBM_NFS_UID   0x0080

Definition at line 97 of file ncp.h.

#define NW_NS_DOS   0

Definition at line 67 of file ncp.h.

#define NW_NS_FTAM   3

Definition at line 70 of file ncp.h.

#define NW_NS_MAC   1

Definition at line 68 of file ncp.h.

#define NW_NS_NFS   2

Definition at line 69 of file ncp.h.

#define NW_NS_OS2   4

Definition at line 71 of file ncp.h.

#define OC_ACTION_CREATE   0x02

Definition at line 110 of file ncp.h.

#define OC_ACTION_NONE   0x00

Definition at line 108 of file ncp.h.

#define OC_ACTION_OPEN   0x01

Definition at line 109 of file ncp.h.

#define OC_ACTION_REPLACE   0x04

Definition at line 112 of file ncp.h.

#define OC_ACTION_TRUNCATE   0x04

Definition at line 111 of file ncp.h.

#define OC_MODE_CREATE   0x08

Definition at line 105 of file ncp.h.

#define OC_MODE_OPEN   0x01

Definition at line 102 of file ncp.h.

#define OC_MODE_REPLACE   0x02

Definition at line 104 of file ncp.h.

#define OC_MODE_TRUNCATE   0x02

Definition at line 103 of file ncp.h.

#define RIM_ALL   (cpu_to_le32(0xFFF))

Definition at line 86 of file ncp.h.

#define RIM_ARCHIVE   (cpu_to_le32(0x40))

Definition at line 80 of file ncp.h.

#define RIM_ATTRIBUTES   (cpu_to_le32(4))

Definition at line 76 of file ncp.h.

#define RIM_COMPRESSED_INFO   (cpu_to_le32(0x80000000))

Definition at line 87 of file ncp.h.

#define RIM_CREATION   (cpu_to_le32(0x100))

Definition at line 82 of file ncp.h.

#define RIM_DATA_SIZE   (cpu_to_le32(8))

Definition at line 77 of file ncp.h.

#define RIM_DIRECTORY   (cpu_to_le32(0x400))

Definition at line 84 of file ncp.h.

#define RIM_EXT_ATTR_INFO   (cpu_to_le32(0x20))

Definition at line 79 of file ncp.h.

#define RIM_MODIFY   (cpu_to_le32(0x80))

Definition at line 81 of file ncp.h.

#define RIM_NAME   (cpu_to_le32(1))

Definition at line 74 of file ncp.h.

#define RIM_OWNING_NAMESPACE   (cpu_to_le32(0x200))

Definition at line 83 of file ncp.h.

#define RIM_RIGHTS   (cpu_to_le32(0x800))

Definition at line 85 of file ncp.h.

#define RIM_SPACE_ALLOCATED   (cpu_to_le32(2))

Definition at line 75 of file ncp.h.

#define RIM_TOTAL_SIZE   (cpu_to_le32(0x10))

Definition at line 78 of file ncp.h.

Function Documentation

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

__u16 archiveDate

Definition at line 176 of file ncp.h.

__u32 archiverID

Definition at line 177 of file ncp.h.

__u16 archiveTime

Definition at line 175 of file ncp.h.

__le32 attributes

Definition at line 163 of file ncp.h.

__u8 completion_code

Definition at line 51 of file ncp.h.

__u8 conn_high

Definition at line 35 of file ncp.h.

__u8 conn_low

Definition at line 33 of file ncp.h.

__u8 connection_state

Definition at line 52 of file ncp.h.

__le16 creationDate

Definition at line 169 of file ncp.h.

__le16 creationTime

Definition at line 168 of file ncp.h.

__u32 creatorID

Definition at line 170 of file ncp.h.

__u8 data[0]

Definition at line 37 of file ncp.h.

__le32 dataStreamSize

Definition at line 165 of file ncp.h.

__u32 dirBase

Definition at line 201 of file ncp.h.

__le32 dirEntNum

Definition at line 179 of file ncp.h.

__le32 DosDirNum

Definition at line 180 of file ncp.h.

__u32 EADataSize

Definition at line 182 of file ncp.h.

__u32 EAKeyCount

Definition at line 183 of file ncp.h.

__u32 EAKeySize

Definition at line 184 of file ncp.h.

__u8 entryName[256]

Definition at line 187 of file ncp.h.

__u16 flags

Definition at line 164 of file ncp.h.

__u8 function

Definition at line 36 of file ncp.h.

__u16 inheritanceGrantMask

Definition at line 205 of file ncp.h.

__u16 inheritanceRevokeMask

Definition at line 206 of file ncp.h.

__u16 inheritedRightsMask

Definition at line 178 of file ncp.h.

__le16 lastAccessDate

Definition at line 174 of file ncp.h.

__u32 maximumSpace

Definition at line 207 of file ncp.h.

__u32 modifierID

Definition at line 173 of file ncp.h.

__le16 modifyDate

Definition at line 172 of file ncp.h.

__le16 modifyTime

Definition at line 171 of file ncp.h.

__u8 nameLen

Definition at line 186 of file ncp.h.

__u32 NSCreator

Definition at line 185 of file ncp.h.

__u16 numberOfStreams

Definition at line 167 of file ncp.h.

__u32 sequence

Definition at line 32 of file ncp.h.

__u32 spaceAlloc

Definition at line 162 of file ncp.h.

__u8 task

Definition at line 34 of file ncp.h.

__le32 totalStreamSize

Definition at line 166 of file ncp.h.

Definition at line 31 of file ncp.h.

__u8 volNumber

Definition at line 181 of file ncp.h.