20.01.2014 Views

Lectures notes for 2010 - KTH

Lectures notes for 2010 - KTH

Lectures notes for 2010 - KTH

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Remote Procedure Call (RPC)<br />

Two versions:<br />

• using Sockets API and works with TCP and UDP<br />

• using TLI API TI-RPC (Transport Independent) and works with any<br />

transport layer provided by the kernel<br />

Format of an RPC call message as a UDP datagram<br />

IP Header<br />

20 bytes<br />

UDP Header 8<br />

transaction ID (XID) 4<br />

call (0) 4<br />

RPC version (2) 4<br />

program number 4<br />

version number 4<br />

procedure number 4<br />

credentials<br />

verifier<br />

procedure parameters<br />

upto 400 bytes<br />

upto 400 bytes<br />

N<br />

• XID set by client and returned by server (client uses it to match<br />

requests and replies)<br />

Maguire Network File System (NFS) 5: 55 of 77<br />

maguire@kth.se <strong>2010</strong>.03.21 Internetworking/Internetteknik

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!