1 /* based on rfc1813 and wireshark */
8 typedef string nlm4_oh<>;
17 NLM4_DENIED_NOLOCKS = 2,
19 NLM4_DENIED_GRACE_PERIOD = 4,
31 unsigned hyper l_offset;
35 const NLM_MAXNAME = 256;
37 string caller_name<NLM_MAXNAME>;
41 unsigned hyper l_offset;
46 string caller_name<NLM_MAXNAME>;
54 struct nlm4_testres_denied {
58 union nlm4_testreply switch (nlmstat4 status) {
60 nlm4_testres_denied lock;
70 struct NLM4_TESTargs {
82 NLM4_TEST(NLM4_TESTargs) = 1;
85 /* NLM4_LOCK(nlm4_lockargs) = 2; */
88 /* NLM4_CANCEL(nlm4_cancargs) = 3; */
91 /* NLM4_UNLOCK(nlm4_unlockargs) = 4; */
94 /* NLM4_GRANTED(nlm4_testargs) = 5; */
97 NLM4_TEST_MSG(NLM4_TESTargs) = 6;
100 /* NLM4_LOCK_MSG(nlm4_lockargs) = 7; */
103 /* NLM4_CANCEL_MSG(nlm4_cancargs) = 8; */
106 /* NLM4_UNLOCK_MSG(nlm4_unlockargs) = 9; */
109 /* NLM4_GRANTED_MSG(nlm4_testargs) = 10; */
112 NLM4_TEST_RES(NLM4_TESTres) = 11;
115 /* NLM4_LOCK_RES(nlm4_res) = 12; */
118 /* NLM4_CANCEL_RES(nlm4_res) = 13; */
121 /* NLM4_UNLOCK_RES(nlm4_res) = 14; */
124 /* NLM4_GRANTED_RES(nlm4_res) = 15; */
127 /* NLM4_SHARE(nlm4_shareargs) = 20; */
130 /* NLM4_UNSHARE(nlm4_shareargs) = 21; */
133 /* NLM4_NM_LOCK(nlm4_lockargs) = 22; */
136 /* NLM4_FREE_ALL(nlm4_notify) = 23; */