touching devices through RFS

ekrell at ulysses.UUCP ekrell at ulysses.UUCP
Fri Jan 9 06:46:13 AEST 1987


In article <2733 at hammer.TEK.COM> andrew at 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



More information about the Comp.unix.wizards mailing list