Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!rutgers!princeton!allegra!ulysses!ekrell
From: ekrell@ulysses.UUCP
Newsgroups: comp.unix.wizards
Subject: Re: touching devices through RFS
Message-ID: <1617@ulysses.homer.nj.att.com>
Date: Thu, 8-Jan-87 15:46:13 EST
Article-I.D.: ulysses.1617
Posted: Thu Jan  8 15:46:13 1987
Date-Received: Fri, 9-Jan-87 01:45:22 EST
References: <2086@brl-adm.ARPA> <1559@ulysses.homer.nj.att.com> <2733@hammer.TEK.COM>
Reply-To: ekrell@ulysses.UUCP (Eduardo Krell)
Organization: AT&T Bell Laboratories, Murray Hill
Lines: 21

In article <2733@hammer.TEK.COM> andrew@hammer.TEK.COM (Andrew Klossner) writes:
>
>What happens when the local machine executes an ioctl?  Does the remote
>machine also do an ioctl? 

Yes.

> If so, how does it know which of the values
>in the structure parameter need to be rearranged because of
>byte-ordering and structure alignment differences?

RFS uses internally a canonical form to pass arguments back and forth between
the server and the client machines. The caller converts its arguments into this
canonical form and the callee converts this canonical form back into structures
or whatever types are needed, making it independent of any byte-ordering or
alignment requirements.
-- 
    
    Eduardo Krell                   AT&T Bell Laboratories, Murray Hill

    {ihnp4,seismo,ucbvax}!ulysses!ekrell