Re: sunrpc: add endian annotations

2005-09-07 Thread viro
On Wed, Sep 07, 2005 at 03:15:52AM -0700, Alexey Dobriyan wrote: > On 9/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > On Tue, Sep 06, 2005 at 12:21:05PM +0400, Alexey Dobriyan wrote: > > > * add svc_getnl(): > > > Take network-endian value from buffer, convert to host-endian > > > one

Re: sunrpc: add endian annotations

2005-09-07 Thread Alexey Dobriyan
On 9/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > On Tue, Sep 06, 2005 at 12:21:05PM +0400, Alexey Dobriyan wrote: > > * add svc_getnl(): > > Take network-endian value from buffer, convert to host-endian > > one and return it. > > * add svc_putnl(): > > Take host-endian value, c