| NLM4(3) | nlm4 4.0 | NLM4(3) |
packet.nfs.nlm4 - NLMv4 decoding module
struct nlm4_cancargs {
netobj cookie;
bool block;
bool exclusive;
nlm4_lock locker;
};
struct nlm4_res {
netobj cookie;
nlm4_stats status;
};
struct nlm4_cancargs {
netobj cookie;
bool block;
bool exclusive;
nlm4_lock locker;
};
struct nlm4_res {
netobj cookie;
nlm4_stats status;
};
struct FREE_ALL4args {
string name<MAXNAMELEN>;
int32 state;
};
Methods defined here: ---------------------
__init__(self, unpack) Constructor Initialize object's private data according to the arguments given. Arguments can be given as positional, named arguments or a combination of both.
struct nlm4_testargs {
netobj cookie;
bool exclusive;
nlm4_lock locker;
};
struct nlm4_res {
netobj cookie;
nlm4_stats status;
};
struct nlm4_testargs {
netobj cookie;
bool exclusive;
nlm4_lock locker;
};
struct nlm4_res {
netobj cookie;
nlm4_stats status;
};
struct nlm4_lockargs {
netobj cookie;
bool block;
bool exclusive;
nlm4_lock locker;
bool reclaim; /* used for recovering locks */
int state; /* specify local status monitor state */
};
struct nlm4_res {
netobj cookie;
nlm4_stats status;
};
struct nlm4_lockargs {
netobj cookie;
bool block;
bool exclusive;
nlm4_lock locker;
bool reclaim; /* used for recovering locks */
int state; /* specify local status monitor state */
};
struct nlm4_res {
netobj cookie;
nlm4_stats status;
};
union switch NLM4args (nlm_proc4 procedure) {
case const.NLMPROC4_NULL:
void;
case const.NLMPROC4_TEST:
TEST4args optest;
case const.NLMPROC4_LOCK:
LOCK4args oplock;
case const.NLMPROC4_CANCEL:
CANCEL4args opcancel;
case const.NLMPROC4_UNLOCK:
UNLOCK4args opunlock;
case const.NLMPROC4_GRANTED:
GRANTED4args opgranted;
case const.NLMPROC4_TEST_MSG:
TEST_MSG4args optest_msg;
case const.NLMPROC4_LOCK_MSG:
LOCK_MSG4args oplock_msg;
case const.NLMPROC4_CANCEL_MSG:
CANCEL_MSG4args opcancel_msg;
case const.NLMPROC4_UNLOCK_MSG:
UNLOCK_MSG4args opunlock_msg;
case const.NLMPROC4_GRANTED_MSG:
GRANTED_MSG4args opgranted_msg;
case const.NLMPROC4_TEST_RES:
TEST_RES4args optest_res;
case const.NLMPROC4_LOCK_RES:
LOCK_RES4args oplock_res;
case const.NLMPROC4_CANCEL_RES:
CANCEL_RES4args opcancel_res;
case const.NLMPROC4_UNLOCK_RES:
UNLOCK_RES4args opunlock_res;
case const.NLMPROC4_GRANTED_RES:
GRANTED_RES4args opgranted_res;
case const.NLMPROC4_SHARE:
SHARE4args opshare;
case const.NLMPROC4_UNSHARE:
UNSHARE4args opunshare;
case const.NLMPROC4_NM_LOCK:
NM_LOCK4args opnm_lock;
case const.NLMPROC4_FREE_ALL:
FREE_ALL4args opfree_all;
};
Methods defined here: ---------------------
__init__(self, unpack, procedure) Constructor Initialize object's private data according to the arguments given. Arguments can be given as positional, named arguments or a combination of both.
union switch NLM4res (nlm_proc4 procedure) {
case const.NLMPROC4_NULL:
void;
case const.NLMPROC4_TEST:
TEST4res optest;
case const.NLMPROC4_LOCK:
LOCK4res oplock;
case const.NLMPROC4_CANCEL:
CANCEL4res opcancel;
case const.NLMPROC4_UNLOCK:
UNLOCK4res opunlock;
case const.NLMPROC4_GRANTED:
GRANTED4res opgranted;
case const.NLMPROC4_TEST_MSG:
void;
case const.NLMPROC4_LOCK_MSG:
void;
case const.NLMPROC4_CANCEL_MSG:
void;
case const.NLMPROC4_UNLOCK_MSG:
void;
case const.NLMPROC4_GRANTED_MSG:
void;
case const.NLMPROC4_TEST_RES:
void;
case const.NLMPROC4_LOCK_RES:
void;
case const.NLMPROC4_CANCEL_RES:
void;
case const.NLMPROC4_UNLOCK_RES:
void;
case const.NLMPROC4_GRANTED_RES:
void;
case const.NLMPROC4_SHARE:
SHARE4res opshare;
case const.NLMPROC4_UNSHARE:
UNSHARE4res opunshare;
case const.NLMPROC4_NM_LOCK:
NM_LOCK4res opnm_lock;
case const.NLMPROC4_FREE_ALL:
void;
};
Methods defined here: ---------------------
__init__(self, unpack, procedure) Constructor Initialize object's private data according to the arguments given. Arguments can be given as positional, named arguments or a combination of both.
struct nlm4_lockargs {
netobj cookie;
bool block;
bool exclusive;
nlm4_lock locker;
bool reclaim; /* used for recovering locks */
int state; /* specify local status monitor state */
};
struct nlm4_res {
netobj cookie;
nlm4_stats status;
};
struct nlm4_shareargs {
netobj cookie;
nlm4_share share;
bool reclaim;
};
struct nlm4_shareres {
netobj cookie;
nlm4_stats status;
int sequence;
};
struct nlm4_testargs {
netobj cookie;
bool exclusive;
nlm4_lock locker;
};
struct nlm4_testres {
netobj cookie;
nlm4_testrply stat;
};
struct nlm4_testargs {
netobj cookie;
bool exclusive;
nlm4_lock locker;
};
struct nlm4_testres {
netobj cookie;
nlm4_testrply stat;
};
struct nlm4_unlockargs {
netobj cookie;
nlm4_lock locker;
};
struct nlm4_res {
netobj cookie;
nlm4_stats status;
};
struct nlm4_unlockargs {
netobj cookie;
nlm4_lock locker;
};
struct nlm4_res {
netobj cookie;
nlm4_stats status;
};
struct nlm4_shareargs {
netobj cookie;
nlm4_share share;
bool reclaim;
};
struct nlm4_shareres {
netobj cookie;
nlm4_stats status;
int sequence;
};
enum fsh4_access
enum fsh4_mode
enum nfs_bool
struct nlm4_cancargs {
netobj cookie;
bool block;
bool exclusive;
nlm4_lock locker;
};
Methods defined here: ---------------------
__init__(self, unpack) Constructor Initialize object's private data according to the arguments given. Arguments can be given as positional, named arguments or a combination of both.
struct nlm4_holder {
bool exclusive;
int32 svid;
strobj oh;
uint64 offset;
uint64 length;
};
Methods defined here: ---------------------
__init__(self, unpack) Constructor Initialize object's private data according to the arguments given. Arguments can be given as positional, named arguments or a combination of both.
struct nlm4_lock {
string owner<LM_MAXSTRLEN>;
nlm_fh fh;
strobj oh;
int32 svid;
uint64 offset;
uint64 length;
};
Methods defined here: ---------------------
__init__(self, unpack) Constructor Initialize object's private data according to the arguments given. Arguments can be given as positional, named arguments or a combination of both.
struct nlm4_lockargs {
netobj cookie;
bool block;
bool exclusive;
nlm4_lock locker;
bool reclaim; /* used for recovering locks */
int state; /* specify local status monitor state */
};
Methods defined here: ---------------------
__init__(self, unpack) Constructor Initialize object's private data according to the arguments given. Arguments can be given as positional, named arguments or a combination of both.
struct nlm4_res {
netobj cookie;
nlm4_stats status;
};
Methods defined here: ---------------------
__init__(self, unpack) Constructor Initialize object's private data according to the arguments given. Arguments can be given as positional, named arguments or a combination of both.
struct nlm4_share {
string owner<LM_MAXSTRLEN>;
nlm_fh fh;
strobj oh;
fsh4_mode mode;
fsh4_access access;
};
Methods defined here: ---------------------
__init__(self, unpack) Constructor Initialize object's private data according to the arguments given. Arguments can be given as positional, named arguments or a combination of both.
struct nlm4_shareargs {
netobj cookie;
nlm4_share share;
bool reclaim;
};
Methods defined here: ---------------------
__init__(self, unpack) Constructor Initialize object's private data according to the arguments given. Arguments can be given as positional, named arguments or a combination of both.
struct nlm4_shareres {
netobj cookie;
nlm4_stats status;
int sequence;
};
Methods defined here: ---------------------
__init__(self, unpack) Constructor Initialize object's private data according to the arguments given. Arguments can be given as positional, named arguments or a combination of both.
enum nlm4_stats
struct nlm4_testargs {
netobj cookie;
bool exclusive;
nlm4_lock locker;
};
Methods defined here: ---------------------
__init__(self, unpack) Constructor Initialize object's private data according to the arguments given. Arguments can be given as positional, named arguments or a combination of both.
struct nlm4_testres {
netobj cookie;
nlm4_testrply stat;
};
Methods defined here: ---------------------
__init__(self, unpack) Constructor Initialize object's private data according to the arguments given. Arguments can be given as positional, named arguments or a combination of both.
union switch nlm4_testrply (nlm4_stats status) {
case const.NLM4_DENIED:
nlm4_holder denied;
default:
void;
};
Methods defined here: ---------------------
__init__(self, unpack) Constructor Initialize object's private data according to the arguments given. Arguments can be given as positional, named arguments or a combination of both.
struct nlm4_unlockargs {
netobj cookie;
nlm4_lock locker;
};
Methods defined here: ---------------------
__init__(self, unpack) Constructor Initialize object's private data according to the arguments given. Arguments can be given as positional, named arguments or a combination of both.
enum nlm_proc4
netobj(unpack)
nlm_fh(unpack)
strobj(unpack)
baseobj(3), packet.nfs.nlm4_const(3), packet.unpack(3), packet.utils(3)
No known bugs.
Jorge Mora (mora@netapp.com)
| 21 March 2023 | NFStest 3.2 |