Lines Matching defs:sockp
99 * If *sockp<0, *sockp is set to a newly created UPD socket.
102 * NB: It is the clients responsibility to close *sockp.
114 clntudp_bufcreate(raddr, program, version, wait, sockp, sendsz, recvsz)
119 register int *sockp;
175 if (*sockp < 0) {
178 *sockp = _socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
179 if (*sockp < 0) {
185 (void) bindresvport(*sockp, (struct sockaddr_in *)0);
187 (void) ioctl(*sockp, FIONBIO, (char *) &dontblock);
192 cu->cu_sock = *sockp;
204 clntudp_create(raddr, program, version, wait, sockp)
209 register int *sockp;
212 return (clntudp_bufcreate(raddr, program, version, wait, sockp,