Lines Matching refs:sockp
96 * If *sockp<0, *sockp is set to a newly created UPD socket.
99 * NB: It is the clients responsibility to close *sockp.
111 clntbudp_bufcreate(raddr, program, version, wait, sockp, sendsz, recvsz)
116 int *sockp;
172 if (*sockp < 0) {
175 *sockp = socket(PF_INET, SOCK_DGRAM, 0);
176 if (*sockp < 0) {
183 (void) setsockopt(*sockp, SOL_SOCKET, SO_DONTROUTE,
193 if (bind(*sockp, (struct sockaddr *)&from, sizeof (from)) < 0) {
202 cu->cu_sock = *sockp;
214 clntbudp_create(raddr, program, version, wait, sockp)
219 int *sockp;
222 return (clntbudp_bufcreate(raddr, program, version, wait, sockp,