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

Go to the source code of this file.

Data Structures

struct  cb_process_state
 
struct  cb_compound_hdr_arg
 
struct  cb_compound_hdr_res
 
struct  cb_getattrargs
 
struct  cb_getattrres
 
struct  cb_recallargs
 

Macros

#define NFS4_CALLBACK   0x40000000
 
#define NFS4_CALLBACK_XDRSIZE   2048
 
#define NFS4_CALLBACK_BUFSIZE   (1024 + NFS4_CALLBACK_XDRSIZE)
 
#define NFS41_BC_MIN_CALLBACKS   1
 
#define NFS41_BC_MAX_CALLBACKS   1
 

Enumerations

enum  nfs4_callback_procnum { CB_NULL = 0, CB_COMPOUND = 1 }
 
enum  nfs4_callback_opnum {
  OP_CB_GETATTR = 3, OP_CB_RECALL = 4, OP_CB_LAYOUTRECALL = 5, OP_CB_NOTIFY = 6,
  OP_CB_PUSH_DELEG = 7, OP_CB_RECALL_ANY = 8, OP_CB_RECALLABLE_OBJ_AVAIL = 9, OP_CB_RECALL_SLOT = 10,
  OP_CB_SEQUENCE = 11, OP_CB_WANTS_CANCELLED = 12, OP_CB_NOTIFY_LOCK = 13, OP_CB_NOTIFY_DEVICEID = 14,
  OP_CB_ILLEGAL = 10044
}
 

Functions

int check_gss_callback_principal (struct nfs_client *, struct svc_rqst *)
 
__be32 nfs4_callback_getattr (struct cb_getattrargs *args, struct cb_getattrres *res, struct cb_process_state *cps)
 
__be32 nfs4_callback_recall (struct cb_recallargs *args, void *dummy, struct cb_process_state *cps)
 

Variables

unsigned int nfs_callback_set_tcpport
 
unsigned short nfs_callback_tcpport
 

Macro Definition Documentation

#define NFS41_BC_MAX_CALLBACKS   1

Definition at line 208 of file callback.h.

#define NFS41_BC_MIN_CALLBACKS   1

Definition at line 207 of file callback.h.

#define NFS4_CALLBACK   0x40000000

Definition at line 12 of file callback.h.

#define NFS4_CALLBACK_BUFSIZE   (1024 + NFS4_CALLBACK_XDRSIZE)

Definition at line 14 of file callback.h.

#define NFS4_CALLBACK_XDRSIZE   2048

Definition at line 13 of file callback.h.

Enumeration Type Documentation

Enumerator:
OP_CB_GETATTR 
OP_CB_RECALL 
OP_CB_LAYOUTRECALL 
OP_CB_NOTIFY 
OP_CB_PUSH_DELEG 
OP_CB_RECALL_ANY 
OP_CB_RECALLABLE_OBJ_AVAIL 
OP_CB_RECALL_SLOT 
OP_CB_SEQUENCE 
OP_CB_WANTS_CANCELLED 
OP_CB_NOTIFY_LOCK 
OP_CB_NOTIFY_DEVICEID 
OP_CB_ILLEGAL 

Definition at line 21 of file callback.h.

Enumerator:
CB_NULL 
CB_COMPOUND 

Definition at line 16 of file callback.h.

Function Documentation

int check_gss_callback_principal ( struct nfs_client ,
struct svc_rqst  
)

Definition at line 412 of file callback.c.

__be32 nfs4_callback_getattr ( struct cb_getattrargs args,
struct cb_getattrres res,
struct cb_process_state cps 
)

Definition at line 22 of file callback_proc.c.

__be32 nfs4_callback_recall ( struct cb_recallargs args,
void dummy,
struct cb_process_state cps 
)

Definition at line 67 of file callback_proc.c.

Variable Documentation

unsigned int nfs_callback_set_tcpport
unsigned short nfs_callback_tcpport