/src/lib/libc/rpc/ |
rpc_soc.c | 109 int *sockp, u_int sendsz, u_int recvsz, const char *tp) 157 sendsz, recvsz); 184 clntudp_bufcreate(struct sockaddr_in *raddr, u_long prog, u_long vers, struct timeval wait, int *sockp, u_int sendsz, u_int recvsz) 192 sendsz, recvsz, "udp"); 210 u_int sendsz, u_int recvsz) 213 sendsz, recvsz, "tcp"); 290 svcudp_bufcreate(int fd, u_int sendsz, u_int recvsz) 292 return svc_com_create(fd, sendsz, recvsz, "udp");
|
svc_generic.c | 195 * If sendsz or recvsz are zero, their default values are chosen. 202 u_int sendsz, /* Max sendsize */ 282 xprt = svc_fd_create(fd, sendsz, recvsz); 284 xprt = svc_vc_create(fd, sendsz, recvsz); 295 xprt = svc_dg_create(fd, sendsz, recvsz);
|
clnt_dg.c | 151 * sendsz and recvsz are the maximum allowable packet sizes that can be 164 u_int sendsz, /* buffer recv size */ 226 sendsz = __rpc_get_t_size(si.si_af, si.si_proto, (int)sendsz); 228 if ((sendsz == 0) || (recvsz == 0)) { 239 sendsz = ((sendsz + 3) / 4) * 4; 241 cu = malloc(sizeof (*cu) + sendsz + recvsz); 258 cu->cu_sendsz = sendsz; 263 xdrmem_create(&(cu->cu_outxdrs), cu->cu_outbuf, sendsz, XDR_ENCODE) [all...] |
clnt_generic.c | 297 u_int sendsz, /* send size */ 343 cl = clnt_vc_create(fd, svcaddr, prog, vers, sendsz, recvsz); 349 cl = clnt_dg_create(fd, svcaddr, prog, vers, sendsz, recvsz);
|
clnt_vc.c | 191 u_int sendsz, 321 sendsz = __rpc_get_t_size(si.si_af, si.si_proto, (int)sendsz); 323 xdrrec_create(&(ct->ct_xdrs), sendsz, recvsz,
|
/src/usr.sbin/rpcbind/ |
rpcb_svc_com.c | 622 u_int sendsz; local in function:rpcbproc_callit_com 639 sendsz = __rpc_get_t_size(si.si_af, si.si_proto, UDPMSGSIZE); 640 if (sendsz == 0) { /* data transfer not supported */ 648 sendsz = roundup(sendsz, 4); 649 if (sendsz > RPC_BUF_MAX) { 651 buf_alloc = alloca(sendsz); /* not in IDR2? */ 653 buf_alloc = malloc(sendsz); 807 if (sendsz > RPC_BUF_MAX) { 809 outbuf_alloc = alloca(sendsz); /* not in IDR2? * [all...] |