Home
last modified time | relevance | path

Searched refs:sockp (Results 1 – 3 of 3) sorted by relevance

/l4re-core-master/uclibc/lib/contrib/uclibc/libc/inet/rpc/
A Dclnt_tcp.c114 int *sockp, u_int sendsz, u_int recvsz) in clnttcp_create() argument
149 if (*sockp < 0) in clnttcp_create()
151 *sockp = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP); in clnttcp_create()
152 (void) bindresvport (*sockp, (struct sockaddr_in *) 0); in clnttcp_create()
153 if ((*sockp < 0) in clnttcp_create()
154 || (connect (*sockp, (struct sockaddr *) raddr, in clnttcp_create()
160 if (*sockp >= 0) in clnttcp_create()
161 (void) close (*sockp); in clnttcp_create()
174 ct->ct_sock = *sockp; in clnttcp_create()
197 (void) close (*sockp); in clnttcp_create()
A Dclnt_udp.c117 struct timeval _wait, int *sockp, u_int sendsz, in clntudp_bufcreate() argument
169 if (*sockp < 0) in clntudp_bufcreate()
173 *sockp = socket (AF_INET, SOCK_DGRAM, IPPROTO_UDP); in clntudp_bufcreate()
174 if (*sockp < 0) in clntudp_bufcreate()
182 (void) bindresvport (*sockp, (struct sockaddr_in *) 0); in clntudp_bufcreate()
184 (void) ioctl (*sockp, FIONBIO, (char *) &dontblock); in clntudp_bufcreate()
188 setsockopt(*sockp, SOL_IP, IP_RECVERR, &on, sizeof(on)); in clntudp_bufcreate()
197 cu->cu_sock = *sockp; in clntudp_bufcreate()
210 …reate (struct sockaddr_in *raddr, u_long program, u_long version, struct timeval _wait, int *sockp) in libc_hidden_def()
213 return clntudp_bufcreate (raddr, program, version, _wait, sockp, in libc_hidden_def()
A Dclnt_unix.c111 int *sockp, u_int sendsz, u_int recvsz) in clntunix_create() argument
131 if (*sockp < 0) in clntunix_create()
133 *sockp = socket (AF_UNIX, SOCK_STREAM, 0); in clntunix_create()
135 if (*sockp < 0 in clntunix_create()
136 || connect (*sockp, (struct sockaddr *) raddr, len) < 0) in clntunix_create()
141 if (*sockp != -1) in clntunix_create()
142 close (*sockp); in clntunix_create()
155 ct->ct_sock = *sockp; in clntunix_create()
176 close (*sockp); in clntunix_create()

Completed in 5 milliseconds