Home
last modified time | relevance | path

Searched refs:sendsz (Results 1 – 6 of 6) sorted by relevance

/dragonfly/lib/libc/rpc/
H A Drpc_soc.c85 int *sockp, u_int sendsz, u_int recvsz, char *tp) in clnt_com_create() argument
127 sendsz, recvsz); in clnt_com_create()
155 struct timeval wait, int *sockp, u_int sendsz, u_int recvsz) in clntudp_bufcreate() argument
160 sendsz, recvsz, "udp"); in clntudp_bufcreate()
179 u_int sendsz, u_int recvsz) in clnttcp_create() argument
183 sendsz, recvsz, "tcp"); in clnttcp_create()
244 svcudp_bufcreate(int fd, u_int sendsz, u_int recvsz) in svcudp_bufcreate() argument
247 return svc_com_create(fd, sendsz, recvsz, "udp"); in svcudp_bufcreate()
402 u_int sendsz, u_int recvsz) in clntunix_create() argument
435 vers, sendsz, recvsz); in clntunix_create()
H A Dsvc_generic.c185 u_int sendsz, /* Max sendsize */ in svc_tli_create() argument
257 xprt = svc_fd_create(fd, sendsz, recvsz); in svc_tli_create()
259 xprt = svc_vc_create(fd, sendsz, recvsz); in svc_tli_create()
270 xprt = svc_dg_create(fd, sendsz, recvsz); in svc_tli_create()
H A Dclnt_dg.c144 u_int sendsz, /* buffer recv size */ in clnt_dg_create() argument
205 sendsz = __rpc_get_t_size(si.si_af, si.si_proto, (int)sendsz); in clnt_dg_create()
207 if ((sendsz == 0) || (recvsz == 0)) { in clnt_dg_create()
218 sendsz = rounddown(sendsz + 3, 4); in clnt_dg_create()
220 cu = mem_alloc(sizeof (*cu) + sendsz + recvsz); in clnt_dg_create()
231 cu->cu_sendsz = sendsz; in clnt_dg_create()
240 xdrmem_create(&(cu->cu_outxdrs), cu->cu_outbuf, sendsz, XDR_ENCODE); in clnt_dg_create()
277 mem_free(cu, sizeof (*cu) + sendsz + recvsz); in clnt_dg_create()
H A Dclnt_generic.c347 uint sendsz, uint recvsz) in clnt_tli_create() argument
390 cl = clnt_vc_create(fd, svcaddr, prog, vers, sendsz, recvsz); in clnt_tli_create()
397 cl = clnt_vc_create(fd, svcaddr, prog, vers, sendsz, recvsz); in clnt_tli_create()
400 cl = clnt_dg_create(fd, svcaddr, prog, vers, sendsz, recvsz); in clnt_tli_create()
H A Dclnt_vc.c156 u_int sendsz, /* buffer recv size */ in clnt_vc_create() argument
287 sendsz = __rpc_get_t_size(si.si_af, si.si_proto, (int)sendsz); in clnt_vc_create()
289 xdrrec_create(&(ct->ct_xdrs), sendsz, recvsz, in clnt_vc_create()
/dragonfly/usr.sbin/rpcbind/
H A Drpcb_svc_com.c614 u_int sendsz; in rpcbproc_callit_com() local
632 if (sendsz == 0) { /* data transfer not supported */ in rpcbproc_callit_com()
640 sendsz = rounddown(sendsz + 3, 4); in rpcbproc_callit_com()
641 if (sendsz > RPC_BUF_MAX) { in rpcbproc_callit_com()
643 buf_alloc = alloca(sendsz); /* not in IDR2? */ in rpcbproc_callit_com()
645 buf_alloc = malloc(sendsz); in rpcbproc_callit_com()
803 if (sendsz > RPC_BUF_MAX) { in rpcbproc_callit_com()
805 outbuf_alloc = alloca(sendsz); /* not in IDR2? */ in rpcbproc_callit_com()
807 outbuf_alloc = malloc(sendsz); in rpcbproc_callit_com()
817 xdrmem_create(&outxdr, outbuf_alloc, sendsz, XDR_ENCODE); in rpcbproc_callit_com()
[all …]