28.08.2015 Views

The Design and Implementation of the Anykernel and Rump Kernels

1F3KDce

1F3KDce

SHOW MORE
SHOW LESS
  • No tags were found...

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

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

A–35<br />

RUMPHIJACK(3) NetBSD Library Functions Manual RUMPHIJACK(3)<br />

is to have networked X clients work out-<strong>of</strong>-<strong>the</strong>-box: X clients use<br />

local sockets to communicate with <strong>the</strong> server, so local sockets<br />

must be used as a host service.<br />

An empty string as a value means no calls are hijacked.<br />

RUMPHIJACK_RETRYCONNECT<br />

Change how rumpclient(3) attempts to reconnect to <strong>the</strong> server in<br />

case <strong>the</strong> connection is lost. Acceptable values are:<br />

‘‘inftime’’<br />

retry indefinitely<br />

‘‘once’’<br />

retry once, when that connection fails, give up<br />

‘‘die’’<br />

call exit(3) if connection failure is detected<br />

n Attempt reconnect for n seconds. <strong>The</strong> value 0 means<br />

reconnection is not attempted. <strong>The</strong> value n must be a<br />

positive integer.<br />

See rumpclient(3) for more discussion.<br />

EXAMPLES<br />

Use an alternate TCP/IP stack for firefox with a persistent server connection:<br />

$ setenv RUMP_SERVER unix:///tmp/tcpip<br />

$ setenv LD_PRELOAD /usr/lib/librumphijack.so<br />

$ setenv RUMPHIJACK_RETRYCONNECT inftime<br />

$ firefox<br />

NetBSD 5.99.48 March 14, 2011 NetBSD 5.99.48

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

Saved successfully!

Ooh no, something went wrong!