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>;
53 struct nlm4_testres_denied {
57 union nlm4_testreply switch (nlmstat4 status) {
59 nlm4_testres_denied lock;
69 struct NLM4_TESTargs {
80 struct NLM4_CANCargs {
87 struct NLM4_UNLOCKres {
92 struct NLM4_UNLOCKargs {
102 struct NLM4_LOCKargs {
111 struct NLM4_GRANTEDargs {
117 struct NLM4_GRANTEDres {
122 program NLM_PROGRAM {
128 NLM4_TEST(NLM4_TESTargs) = 1;
131 NLM4_LOCK(NLM4_LOCKargs) = 2;
134 NLM4_CANCEL(NLM4_CANCargs) = 3;
137 NLM4_UNLOCK(NLM4_UNLOCKargs) = 4;
140 NLM4_GRANT(NLM4_GRANTEDargs) = 5;
143 NLM4_TEST_MSG(NLM4_TESTargs) = 6;
146 NLM4_LOCK_MSG(NLM4_LOCKargs) = 7;
149 NLM4_CANCEL_MSG(NLM4_CANCargs) = 8;
152 NLM4_UNLOCK_MSG(NLM4_UNLOCKargs) = 9;
155 NLM4_GRANT_MSG(NLM4_GRANTEDargs) = 10;
158 NLM4_TEST_RES(NLM4_TESTres) = 11;
161 NLM4_LOCK_RES(NLM4_LOCKres) = 12;
164 NLM4_CANCEL_RES(NLM4_CANCres) = 13;
167 NLM4_UNLOCK_RES(NLM4_UNLOCKres) = 14;
170 NLM4_GRANT_RES(NLM4_GRANTEDres) = 15;
173 /* NLM4_SHARE(nlm4_shareargs) = 20; */
176 /* NLM4_UNSHARE(nlm4_shareargs) = 21; */
179 /* NLM4_NM_LOCK(nlm4_lockargs) = 22; */
182 /* NLM4_FREE_ALL(nlm4_notify) = 23; */