Home
last modified time | relevance | path

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

/sunrpc/
A Dclnt_tcp.c113 int *sockp, u_int sendsz, u_int recvsz) in clnttcp_create() argument
148 if (*sockp < 0) in clnttcp_create()
150 *sockp = __socket (AF_INET, SOCK_STREAM, IPPROTO_TCP); in clnttcp_create()
151 (void) bindresvport (*sockp, (struct sockaddr_in *) 0); in clnttcp_create()
152 if ((*sockp < 0) in clnttcp_create()
153 || (__connect (*sockp, (struct sockaddr *) raddr, in clnttcp_create()
159 if (*sockp >= 0) in clnttcp_create()
160 (void) __close (*sockp); in clnttcp_create()
173 ct->ct_sock = *sockp; in clnttcp_create()
195 (void) __close (*sockp); in clnttcp_create()
A Dclnt_udp.c125 u_long version, struct timeval wait, int *sockp, in __libc_clntudp_bufcreate() argument
177 if (*sockp < 0) in __libc_clntudp_bufcreate()
179 *sockp = __socket (AF_INET, SOCK_DGRAM|SOCK_NONBLOCK|flags, IPPROTO_UDP); in __libc_clntudp_bufcreate()
180 if (__glibc_unlikely (*sockp < 0)) in __libc_clntudp_bufcreate()
188 (void) bindresvport (*sockp, (struct sockaddr_in *) 0); in __libc_clntudp_bufcreate()
192 __setsockopt (*sockp, SOL_IP, IP_RECVERR, &on, sizeof(on)); in __libc_clntudp_bufcreate()
201 cu->cu_sock = *sockp; in __libc_clntudp_bufcreate()
219 struct timeval wait, int *sockp, u_int sendsz, in libc_hidden_def()
223 sockp, sendsz, recvsz, 0); in libc_hidden_def()
229 struct timeval wait, int *sockp) in libc_hidden_nolink_sunrpc()
[all …]
A Dclnt_unix.c114 int *sockp, u_int sendsz, u_int recvsz) in clntunix_create() argument
134 if (*sockp < 0) in clntunix_create()
136 *sockp = __socket (AF_UNIX, SOCK_STREAM, 0); in clntunix_create()
138 if (*sockp < 0 in clntunix_create()
139 || __connect (*sockp, (struct sockaddr *) raddr, len) < 0) in clntunix_create()
144 if (*sockp != -1) in clntunix_create()
145 __close (*sockp); in clntunix_create()
158 ct->ct_sock = *sockp; in clntunix_create()
179 __close (*sockp); in clntunix_create()

Completed in 9 milliseconds