HardenedBSD/include/rpc
Bill Paul 65d3c627a5 Add a CLSET_ASYNC command, which allows us to (ab)use the clnt_dg transport
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.
2001-03-27 21:27:33 +00:00
..
auth_des.h
auth_kerb.h
auth_unix.h
auth.h
clnt_soc.h
clnt_stat.h
clnt.h Add a CLSET_ASYNC command, which allows us to (ab)use the clnt_dg transport 2001-03-27 21:27:33 +00:00
des_crypt.h
des.h
Makefile
nettype.h
pmap_clnt.h
pmap_prot.h
pmap_rmt.h
raw.h
rpc_com.h
rpc_msg.h
rpc.h change callrpc() from taking "char *" args, I'm quite sure they really meant 2001-03-23 16:14:49 +00:00
rpcb_clnt.h
rpcb_prot.x fix: text following `#else' violates ANSI standard 2001-03-26 00:35:23 +00:00
rpcent.h
svc_auth.h
svc_dg.h
svc_soc.h
svc.h
types.h
xdr.h