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

Go to the source code of this file.

Data Structures

struct  ncp_ioctl_request
 
struct  ncp_fs_info
 
struct  ncp_fs_info_v2
 
struct  ncp_sign_init
 
struct  ncp_lock_ioctl
 
struct  ncp_setroot_ioctl
 
struct  ncp_objectname_ioctl
 
struct  ncp_privatedata_ioctl
 
struct  ncp_nls_ioctl
 

Macros

#define NCP_LOCK_LOG   0
 
#define NCP_LOCK_SH   1
 
#define NCP_LOCK_EX   2
 
#define NCP_LOCK_CLEAR   256
 
#define NCP_LOCK_DEFAULT_TIMEOUT   18
 
#define NCP_LOCK_MAX_TIMEOUT   180
 
#define NCP_AUTH_NONE   0x00
 
#define NCP_AUTH_BIND   0x31
 
#define NCP_AUTH_NDS   0x32
 
#define NCP_IOCSNAME_LEN   20
 
#define NCP_IOC_NCPREQUEST   _IOR('n', 1, struct ncp_ioctl_request)
 
#define NCP_IOC_GETMOUNTUID   _IOW('n', 2, __kernel_old_uid_t)
 
#define NCP_IOC_GETMOUNTUID2   _IOW('n', 2, unsigned long)
 
#define NCP_IOC_CONN_LOGGED_IN   _IO('n', 3)
 
#define NCP_GET_FS_INFO_VERSION   (1)
 
#define NCP_IOC_GET_FS_INFO   _IOWR('n', 4, struct ncp_fs_info)
 
#define NCP_GET_FS_INFO_VERSION_V2   (2)
 
#define NCP_IOC_GET_FS_INFO_V2   _IOWR('n', 4, struct ncp_fs_info_v2)
 
#define NCP_IOC_SIGN_INIT   _IOR('n', 5, struct ncp_sign_init)
 
#define NCP_IOC_SIGN_WANTED   _IOR('n', 6, int)
 
#define NCP_IOC_SET_SIGN_WANTED   _IOW('n', 6, int)
 
#define NCP_IOC_LOCKUNLOCK   _IOR('n', 7, struct ncp_lock_ioctl)
 
#define NCP_IOC_GETROOT   _IOW('n', 8, struct ncp_setroot_ioctl)
 
#define NCP_IOC_SETROOT   _IOR('n', 8, struct ncp_setroot_ioctl)
 
#define NCP_IOC_GETOBJECTNAME   _IOWR('n', 9, struct ncp_objectname_ioctl)
 
#define NCP_IOC_SETOBJECTNAME   _IOR('n', 9, struct ncp_objectname_ioctl)
 
#define NCP_IOC_GETPRIVATEDATA   _IOWR('n', 10, struct ncp_privatedata_ioctl)
 
#define NCP_IOC_SETPRIVATEDATA   _IOR('n', 10, struct ncp_privatedata_ioctl)
 
#define NCP_IOC_GETCHARSETS   _IOWR('n', 11, struct ncp_nls_ioctl)
 
#define NCP_IOC_SETCHARSETS   _IOR('n', 11, struct ncp_nls_ioctl)
 
#define NCP_IOC_GETDENTRYTTL   _IOW('n', 12, __u32)
 
#define NCP_IOC_SETDENTRYTTL   _IOR('n', 12, __u32)
 
#define NCP_PACKET_SIZE   4070
 
#define NCP_MAXPATHLEN   255
 
#define NCP_MAXNAMELEN   14
 

Variables

struct ncp_ioctl_request __attribute__
 

Macro Definition Documentation

#define NCP_AUTH_BIND   0x31

Definition at line 86 of file ncp_fs.h.

#define NCP_AUTH_NDS   0x32

Definition at line 87 of file ncp_fs.h.

#define NCP_AUTH_NONE   0x00

Definition at line 85 of file ncp_fs.h.

#define NCP_GET_FS_INFO_VERSION   (1)

Definition at line 113 of file ncp_fs.h.

#define NCP_GET_FS_INFO_VERSION_V2   (2)

Definition at line 115 of file ncp_fs.h.

#define NCP_IOC_CONN_LOGGED_IN   _IO('n', 3)

Definition at line 111 of file ncp_fs.h.

#define NCP_IOC_GET_FS_INFO   _IOWR('n', 4, struct ncp_fs_info)

Definition at line 114 of file ncp_fs.h.

#define NCP_IOC_GET_FS_INFO_V2   _IOWR('n', 4, struct ncp_fs_info_v2)

Definition at line 116 of file ncp_fs.h.

#define NCP_IOC_GETCHARSETS   _IOWR('n', 11, struct ncp_nls_ioctl)

Definition at line 132 of file ncp_fs.h.

#define NCP_IOC_GETDENTRYTTL   _IOW('n', 12, __u32)

Definition at line 135 of file ncp_fs.h.

#define NCP_IOC_GETMOUNTUID   _IOW('n', 2, __kernel_old_uid_t)

Definition at line 108 of file ncp_fs.h.

#define NCP_IOC_GETMOUNTUID2   _IOW('n', 2, unsigned long)

Definition at line 109 of file ncp_fs.h.

#define NCP_IOC_GETOBJECTNAME   _IOWR('n', 9, struct ncp_objectname_ioctl)

Definition at line 127 of file ncp_fs.h.

#define NCP_IOC_GETPRIVATEDATA   _IOWR('n', 10, struct ncp_privatedata_ioctl)

Definition at line 129 of file ncp_fs.h.

#define NCP_IOC_GETROOT   _IOW('n', 8, struct ncp_setroot_ioctl)

Definition at line 124 of file ncp_fs.h.

#define NCP_IOC_LOCKUNLOCK   _IOR('n', 7, struct ncp_lock_ioctl)

Definition at line 122 of file ncp_fs.h.

#define NCP_IOC_NCPREQUEST   _IOR('n', 1, struct ncp_ioctl_request)

Definition at line 107 of file ncp_fs.h.

#define NCP_IOC_SET_SIGN_WANTED   _IOW('n', 6, int)

Definition at line 120 of file ncp_fs.h.

#define NCP_IOC_SETCHARSETS   _IOR('n', 11, struct ncp_nls_ioctl)

Definition at line 133 of file ncp_fs.h.

#define NCP_IOC_SETDENTRYTTL   _IOR('n', 12, __u32)

Definition at line 136 of file ncp_fs.h.

#define NCP_IOC_SETOBJECTNAME   _IOR('n', 9, struct ncp_objectname_ioctl)

Definition at line 128 of file ncp_fs.h.

#define NCP_IOC_SETPRIVATEDATA   _IOR('n', 10, struct ncp_privatedata_ioctl)

Definition at line 130 of file ncp_fs.h.

#define NCP_IOC_SETROOT   _IOR('n', 8, struct ncp_setroot_ioctl)

Definition at line 125 of file ncp_fs.h.

#define NCP_IOC_SIGN_INIT   _IOR('n', 5, struct ncp_sign_init)

Definition at line 118 of file ncp_fs.h.

#define NCP_IOC_SIGN_WANTED   _IOR('n', 6, int)

Definition at line 119 of file ncp_fs.h.

#define NCP_IOCSNAME_LEN   20

Definition at line 100 of file ncp_fs.h.

#define NCP_LOCK_CLEAR   256

Definition at line 66 of file ncp_fs.h.

#define NCP_LOCK_DEFAULT_TIMEOUT   18

Definition at line 71 of file ncp_fs.h.

#define NCP_LOCK_EX   2

Definition at line 65 of file ncp_fs.h.

#define NCP_LOCK_LOG   0

Definition at line 63 of file ncp_fs.h.

#define NCP_LOCK_MAX_TIMEOUT   180

Definition at line 72 of file ncp_fs.h.

#define NCP_LOCK_SH   1

Definition at line 64 of file ncp_fs.h.

#define NCP_MAXNAMELEN   14

Definition at line 144 of file ncp_fs.h.

#define NCP_MAXPATHLEN   255

Definition at line 143 of file ncp_fs.h.

#define NCP_PACKET_SIZE   4070

Definition at line 141 of file ncp_fs.h.

Variable Documentation