1 /* based on rfc1813 and wireshark */
3 typedef unsigned hyper uint64;
9 typedef string nlm4_oh<>;
18 NLM4_DENIED_NOLOCKS = 2,
20 NLM4_DENIED_GRACE_PERIOD = 4,
36 const NLM_MAXNAME = 256;
38 string caller_name<NLM_MAXNAME>;
47 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 {
81 struct NLM4_CANCargs {
88 struct NLM4_UNLOCKres {
93 struct NLM4_UNLOCKargs {
103 struct NLM4_LOCKargs {
112 struct NLM4_GRANTEDargs {
118 struct NLM4_GRANTEDres {
123 program NLM_PROGRAM {
129 NLM4_TEST(NLM4_TESTargs) = 1;
132 NLM4_LOCK(NLM4_LOCKargs) = 2;
135 NLM4_CANCEL(NLM4_CANCargs) = 3;
138 NLM4_UNLOCK(NLM4_UNLOCKargs) = 4;
141 NLM4_GRANT(NLM4_GRANTEDargs) = 5;
144 NLM4_TEST_MSG(NLM4_TESTargs) = 6;
147 NLM4_LOCK_MSG(NLM4_LOCKargs) = 7;
150 NLM4_CANCEL_MSG(NLM4_CANCargs) = 8;
153 NLM4_UNLOCK_MSG(NLM4_UNLOCKargs) = 9;
156 NLM4_GRANT_MSG(NLM4_GRANTEDargs) = 10;
159 NLM4_TEST_RES(NLM4_TESTres) = 11;
162 NLM4_LOCK_RES(NLM4_LOCKres) = 12;
165 NLM4_CANCEL_RES(NLM4_CANCres) = 13;
168 NLM4_UNLOCK_RES(NLM4_UNLOCKres) = 14;
171 NLM4_GRANT_RES(NLM4_GRANTEDres) = 15;
174 /* NLM4_SHARE(nlm4_shareargs) = 20; */
177 /* NLM4_UNSHARE(nlm4_shareargs) = 21; */
180 /* NLM4_NM_LOCK(nlm4_lockargs) = 22; */
183 /* NLM4_FREE_ALL(nlm4_notify) = 23; */