X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=nlm%2Fnlm.x;h=8ec6614ddb8ac714d8580b2235d1b7a0175504fc;hb=4edd78302d2a019fa4ca496531e4da0ebc9ca8a4;hp=4ca86218e8be8cc64f6b39ba429adae3da053693;hpb=c33ce42cc5a1422787ad63068771fcd0c22a1804;p=deb_libnfs.git diff --git a/nlm/nlm.x b/nlm/nlm.x index 4ca8621..8ec6614 100644 --- a/nlm/nlm.x +++ b/nlm/nlm.x @@ -1,5 +1,6 @@ /* based on rfc1813 and wireshark */ +typedef unsigned hyper uint64; struct nlm_fh4 { opaque data<>; @@ -28,8 +29,8 @@ struct nlm4_holder { bool exclusive; unsigned int svid; nlm4_oh oh; - unsigned hyper l_offset; - unsigned hyper l_len; + uint64 l_offset; + uint64 l_len; }; const NLM_MAXNAME = 256; @@ -38,8 +39,8 @@ struct nlm4_lock { struct nlm_fh4 fh; nlm4_oh oh; unsigned int svid; - unsigned hyper l_offset; - unsigned hyper l_len; + uint64 l_offset; + uint64 l_len; }; struct nlm4_share {