Searched refs:sockp (Results 1 - 19 of 19) sorted by relevance

/macosx-10.10/Libinfo-459/rpc.subproj/
H A Dclnt_udp.c124 * If *sockp<0, *sockp is set to a newly created UPD socket.
127 * NB: It is the clients responsibility to close *sockp.
139 clntudp_bufcreate_timeout(struct sockaddr_in *raddr, uint32_t program, uint32_t version, int *sockp, uint32_t sendsz, uint32_t recvsz, struct timeval *retry_timeout, struct timeval *total_timeout) argument
210 if (*sockp < 0)
214 *sockp = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
215 if (*sockp < 0)
223 (void)bindresvport(*sockp, (struct sockaddr_in *)0);
226 (void)ioctl(*sockp, FIONBIO, (char *) &dontblock);
232 if (getsockopt(*sockp, SOL_SOCKE
[all...]
H A Dclnt_tcp.c131 * If *sockp<0, *sockp is set to a newly created TCP socket and it is
132 * connected to raddr. If *sockp non-negative then
138 * NB: *sockp is copied into a private area.
139 * NB: It is the clients responsibility to close *sockp.
144 clnttcp_create_timeout(struct sockaddr_in *raddr, uint32_t prog, uint32_t vers, int *sockp, uint32_t sendsz, uint32_t recvsz, struct timeval *retry_timeout, struct timeval *total_timeout) argument
188 if (*sockp < 0)
190 *sockp = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
191 bindresvport(*sockp, (struct sockaddr_in *)0);
192 if ((*sockp <
[all...]
H A Dpmap_clnt.c79 extern CLIENT *clntudp_bufcreate_timeout(struct sockaddr_in *raddr, uint32_t program, uint32_t version, int *sockp, uint32_t sendsz, uint32_t recvsz, struct timeval *timeout, struct timeval *totaltimeout);
/macosx-10.10/curl-83.1.2/curl/docs/examples/
H A Dasiohiper.cpp263 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) argument
265 fprintf(MSG_OUT, "\nsock_cb: socket=%d, what=%d, sockp=%p", s, what, sockp);
268 int *actionp = (int*) sockp;
H A Devhiperfifo.c261 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) argument
263 DPRINT("%s e %p s %i what %i cbp %p sockp %p\n",
264 __PRETTY_FUNCTION__, e, s, what, cbp, sockp);
267 SockInfo *fdp = (SockInfo*) sockp;
H A Dhiperfifo.c257 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) argument
260 SockInfo *fdp = (SockInfo*) sockp;
H A Dghiper.c250 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) argument
253 SockInfo *fdp = (SockInfo*) sockp;
/macosx-10.10/curl-83.1.2/curl/include/curl/
H A Dmulti.h396 curl_socket_t sockfd, void *sockp);
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkern_resource.c792 struct socket *sockp; local
799 sockp = (struct socket *)fp->f_fglob->fg_data;
800 socket_set_traffic_mgt_flags(sockp, TRAFFIC_MGT_SO_BACKGROUND);
801 sockp->so_background_thread = NULL;
812 struct socket *sockp; local
819 sockp = (struct socket *)fp->f_fglob->fg_data;
821 if ((thread) && (sockp->so_background_thread != thread)) {
824 socket_clear_traffic_mgt_flags(sockp, TRAFFIC_MGT_SO_BACKGROUND);
825 sockp->so_background_thread = NULL;
/macosx-10.10/bind9-45.101/bind9/contrib/queryperf/
H A Dqueryperf.c843 int s, *sockp; local
847 sockp = &socket4;
851 sockp = &socket6;
860 if (*sockp == -1) {
863 *sockp = s;
866 return (*sockp);
/macosx-10.10/curl-83.1.2/curl/lib/
H A Dconnect.c983 curl_socket_t *sockp)
995 *sockp = CURL_SOCKET_BAD;
1066 *sockp = sockfd;
1103 *sockp = sockfd;
981 singleipconnect(struct connectdata *conn, const Curl_addrinfo *ai, curl_socket_t *sockp) argument
/macosx-10.10/bind9-45.101/bind9/lib/dns/
H A Ddispatch.c315 isc_socket_t **sockp);
330 unsigned int options, isc_socket_t **sockp);
1790 unsigned int options, isc_socket_t **sockp)
1795 sock = *sockp;
1817 if (*sockp == NULL)
1829 *sockp = sock;
2737 isc_socket_t **sockp)
2746 INSIST(sockp != NULL && *sockp == NULL);
2781 *sockp
1789 open_socket(isc_socketmgr_t *mgr, isc_sockaddr_t *local, unsigned int options, isc_socket_t **sockp) argument
2735 get_udpsocket(dns_dispatchmgr_t *mgr, dns_dispatch_t *disp, isc_socketmgr_t *sockmgr, isc_sockaddr_t *localaddr, isc_socket_t **sockp) argument
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/net/
H A Dbpf.c252 bpf_movein(struct uio *uio, int linktype, struct mbuf **mp, struct sockaddr *sockp, int *datlen) argument
336 if (sockp) {
346 if ((hlen + SOCKADDR_HDR_LEN) > sockp->sa_len) {
349 sockp->sa_family = sa_family;
381 error = UIOMOVE((caddr_t)sockp->sa_data, hlen, UIO_WRITE, uio);
/macosx-10.10/screen-22/screen/
H A Dscreen.c365 char *sockp; local
830 if (SockMatch && (sockp = index(SockMatch, '/')))
834 *sockp = 0;
836 SockMatch = sockp + 1;
/macosx-10.10/bind9-45.101/bind9/lib/isc/win32/
H A Dsocket.c1589 free_socket(isc_socket_t **sockp, int lineno) { argument
1591 isc_socket_t *sock = *sockp;
1592 *sockp = NULL;
/macosx-10.10/ntp-92/lib/isc/win32/
H A Dsocket.c1559 free_socket(isc_socket_t **sockp, int lineno) { argument
1561 isc_socket_t *sock = *sockp;
1562 *sockp = NULL;
/macosx-10.10/bind9-45.101/bind9/lib/isc/unix/
H A Dsocket.c1992 destroy(isc__socket_t **sockp) { argument
1994 isc__socket_t *sock = *sockp;
2022 free_socket(sockp);
/macosx-10.10/ntp-92/lib/isc/unix/
H A Dsocket.c1791 destroy(isc_socket_t **sockp) { argument
1793 isc_socket_t *sock = *sockp;
1822 free_socket(sockp);
/macosx-10.10/ruby-106/ruby/win32/
H A Dwin32.c697 socklist_delete(SOCKET *sockp, int *flagp) argument
705 key = (st_data_t)*sockp;
710 *sockp = (SOCKET)key;

Completed in 220 milliseconds