<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/include/rpc/clnt.h, branch release/6.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2005-11-03T00:35:26+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2005-11-03T00:35:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3640cb54210edbb7edbf1b12ef0127ecfcea967d'/>
<id>3640cb54210edbb7edbf1b12ef0127ecfcea967d</id>
<content type='text'>
'RELENG_6_0_0_RELEASE'.

This commit was manufactured to restore the state of the 6.0-RELEASE image.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'RELENG_6_0_0_RELEASE'.

This commit was manufactured to restore the state of the 6.0-RELEASE image.
</pre>
</div>
</content>
</entry>
<entry>
<title>unifdef -D_THREAD_SAFE</title>
<updated>2003-01-24T01:47:55+00:00</updated>
<author>
<name>Max Khon</name>
<email>fjoe@FreeBSD.org</email>
</author>
<published>2003-01-24T01:47:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3fe5b5db73ea3b7013cae2d5e50b49bb8d1461c0'/>
<id>3fe5b5db73ea3b7013cae2d5e50b49bb8d1461c0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove duplicated '__BEGIN_DECLS' which obviated compiling</title>
<updated>2002-07-21T20:37:58+00:00</updated>
<author>
<name>Robert Drehmel</name>
<email>robert@FreeBSD.org</email>
</author>
<published>2002-07-21T20:37:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d6d1eb5d187e3c75ecea47f674bcac6d563e631f'/>
<id>d6d1eb5d187e3c75ecea47f674bcac6d563e631f</id>
<content type='text'>
C++ sources that use this header.

Reported by:	Jan Stocker &lt;Jan.Stocker@t-online.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
C++ sources that use this header.

Reported by:	Jan Stocker &lt;Jan.Stocker@t-online.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>clnt_vc_create() has const scalar arguments that wind up being modified,</title>
<updated>2002-07-14T23:35:04+00:00</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2002-07-14T23:35:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=886ee6f6a505e59692aabc8c6ed6c940f33d6324'/>
<id>886ee6f6a505e59692aabc8c6ed6c940f33d6324</id>
<content type='text'>
fix it (make them non-const) and update the associated documentation.

Submitted by: mbr
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix it (make them non-const) and update the associated documentation.

Submitted by: mbr
</pre>
</div>
</content>
</entry>
<entry>
<title>Add functions allowing for the user to specify a timeout for rpc functions.</title>
<updated>2002-07-11T16:23:04+00:00</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2002-07-11T16:23:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4e37855e0185c77686e5adf2278ad39796b96361'/>
<id>4e37855e0185c77686e5adf2278ad39796b96361</id>
<content type='text'>
Update copyrights to reflect where this code was lifted from. (tirpc '99)

Submitted by: mbr
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update copyrights to reflect where this code was lifted from. (tirpc '99)

Submitted by: mbr
</pre>
</div>
</content>
</entry>
<entry>
<title>Spell void * as void * rather than caddr_t.  This is complicated by the</title>
<updated>2002-04-28T15:18:50+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2002-04-28T15:18:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f249dbcc7149848de00cd8f4e93fe140dfa3f219'/>
<id>f249dbcc7149848de00cd8f4e93fe140dfa3f219</id>
<content type='text'>
fact that caddr_t is often misspelled as char *.

Sponsored by:	DARPA, NAI Labs
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fact that caddr_t is often misspelled as char *.

Sponsored by:	DARPA, NAI Labs
</pre>
</div>
</content>
</entry>
<entry>
<title>Breath deep and take __P out of the system include files.</title>
<updated>2002-03-23T17:24:55+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2002-03-23T17:24:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bb28f3c29b4c91af1b0e79e456294bb08735648a'/>
<id>bb28f3c29b4c91af1b0e79e456294bb08735648a</id>
<content type='text'>
# This appears to not break X11, but I'm having problems compiling the
# glide part of the server with or without this patch, so I can't tell
# for sure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
# This appears to not break X11, but I'm having problems compiling the
# glide part of the server with or without this patch, so I can't tell
# for sure.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add compatibility functions for the AF_LOCAL RPC transport stuff</title>
<updated>2001-10-04T21:03:17+00:00</updated>
<author>
<name>Bill Paul</name>
<email>wpaul@FreeBSD.org</email>
</author>
<published>2001-10-04T21:03:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e6f9ad07792a97a11670dae42dbd6151c1c7ccf7'/>
<id>e6f9ad07792a97a11670dae42dbd6151c1c7ccf7</id>
<content type='text'>
that used to live in RPC 4.0. This is needed for yppasswd and
rpc.yppasswdd to work correctly. Patch supplied by Martin Blapp.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
that used to live in RPC 4.0. This is needed for yppasswd and
rpc.yppasswdd to work correctly. Patch supplied by Martin Blapp.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a new clnt_control() request `CLSET_CONNECT' that controls</title>
<updated>2001-06-23T19:43:21+00:00</updated>
<author>
<name>Ian Dowse</name>
<email>iedowse@FreeBSD.org</email>
</author>
<published>2001-06-23T19:43:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=32de72d27fb3eeac294b1c5eebe44cfbf5b8c407'/>
<id>32de72d27fb3eeac294b1c5eebe44cfbf5b8c407</id>
<content type='text'>
whether or not connect(2) is used for UDP client sockets. The default
is not to connect(), so existing clients will see no change in
behaviour.

The use of connect(2) for UDP clients has a number of advantages:
only replies from the intended address are received, and ICMP errors
pertaining to the connection are reported back to the application.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
whether or not connect(2) is used for UDP client sockets. The default
is not to connect(), so existing clients will see no change in
behaviour.

The use of connect(2) for UDP clients has a number of advantages:
only replies from the intended address are received, and ICMP errors
pertaining to the connection are reported back to the application.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a CLSET_ASYNC command, which allows us to (ab)use the clnt_dg transport</title>
<updated>2001-03-27T21:27:33+00:00</updated>
<author>
<name>Bill Paul</name>
<email>wpaul@FreeBSD.org</email>
</author>
<published>2001-03-27T21:27:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=65d3c627a5fcc1bd1a27d9ef2a2092f8d42f3058'/>
<id>65d3c627a5fcc1bd1a27d9ef2a2092f8d42f3058</id>
<content type='text'>
to make asynchronous RPCs. This is needed to help fix ypbind, which can no
longer override the clnt_dg_call() method (formerly the clntudp_call()
method) due to all the internal descriptor locking code in TI-RPC. Turning
on this flag allows us to send an RPC request, then return immediately,
and handle a reply later, rather than being forced to do the request
and reply in a single function call.

Also fix a byte ordering bug: when clnt_dg_call() increments the XID
prior to transmitting a request, it uses the raw value, which is wrong.
The XID is stored in network byte order, i.e. big-endian. The CLSET_XID
and CLGET_XID commands in clnt_dg_control() use ntohl()/htonl() to get
the byte ordering right, but because clnt_dg_call() does not do this,
using CLSET_XID/CLGET_XID doesn't actually work, unless you're on a
big endian host, which we aren't (yet). Fix clnt_dg_call() to byte swap
properly when doing the increment.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to make asynchronous RPCs. This is needed to help fix ypbind, which can no
longer override the clnt_dg_call() method (formerly the clntudp_call()
method) due to all the internal descriptor locking code in TI-RPC. Turning
on this flag allows us to send an RPC request, then return immediately,
and handle a reply later, rather than being forced to do the request
and reply in a single function call.

Also fix a byte ordering bug: when clnt_dg_call() increments the XID
prior to transmitting a request, it uses the raw value, which is wrong.
The XID is stored in network byte order, i.e. big-endian. The CLSET_XID
and CLGET_XID commands in clnt_dg_control() use ntohl()/htonl() to get
the byte ordering right, but because clnt_dg_call() does not do this,
using CLSET_XID/CLGET_XID doesn't actually work, unless you're on a
big endian host, which we aren't (yet). Fix clnt_dg_call() to byte swap
properly when doing the increment.
</pre>
</div>
</content>
</entry>
</feed>
