1 /* based on rfc1813 and wireshark */
4 typedef opaque nlm_cookie[COOKIESIZE];
9 NLM4_DENIED_NOLOCKS = 2,
11 NLM4_DENIED_GRACE_PERIOD = 4,
23 unsigned hyper l_offset;
27 const NLM_MAXNAME = 256;
29 string caller_name<NLM_MAXNAME>;
33 unsigned hyper l_offset;
38 string caller_name<NLM_MAXNAME>;
46 struct nlm4_testres_ok {
51 union nlm4_testres switch (nlmstat4 nlm_status) {
58 struct nlm4_testargs {
70 NLM4_TEST(nlm4_testargs) = 1;
73 /* NLM4_LOCK(nlm4_lockargs) = 2; */
76 /* NLM4_CANCEL(nlm4_cancargs) = 3; */
79 /* NLM4_UNLOCK(nlm4_unlockargs) = 4; */
82 /* NLM4_GRANTED(nlm4_testargs) = 5; */
85 /* NLM4_TEST_MSG(nlm4_testargs) = 6; */
88 /* NLM4_LOCK_MSG(nlm4_lockargs) = 7; */
91 /* NLM4_CANCEL_MSG(nlm4_cancargs) = 8; */
94 /* NLM4_UNLOCK_MSG(nlm4_unlockargs) = 9; */
97 /* NLM4_GRANTED_MSG(nlm4_testargs) = 10; */
100 /* NLM4_TEST_RES(nlm4_testres) = 11; */
103 /* NLM4_LOCK_RES(nlm4_res) = 12; */
106 /* NLM4_CANCEL_RES(nlm4_res) = 13; */
109 /* NLM4_UNLOCK_RES(nlm4_res) = 14; */
112 /* NLM4_GRANTED_RES(nlm4_res) = 15; */
115 /* NLM4_SHARE(nlm4_shareargs) = 20; */
118 /* NLM4_UNSHARE(nlm4_shareargs) = 21; */
121 /* NLM4_NM_LOCK(nlm4_lockargs) = 22; */
124 /* NLM4_FREE_ALL(nlm4_notify) = 23; */