| /minix3/sys/sys/ |
| H A D | socketvar.h | 80 TAILQ_HEAD(soqhead, socket); 88 struct socket *sb_so; /* back pointer to socket */ 132 struct socket { struct 153 struct socket *so_head; /* back pointer to accept socket */ argument 157 TAILQ_ENTRY(socket) so_qe; /* our queue entry (q or q0) */ argument 170 void (*so_upcall) (struct socket *, void *, int, int); argument 172 int (*so_send) (struct socket *, struct sockaddr *, argument 175 int (*so_receive) (struct socket *, argument 223 (struct socket *, void *, int, int); 225 (struct socket *, char *); [all …]
|
| H A D | protosw.h | 63 struct socket; 85 (int, struct socket *, struct sockopt *); 239 int (*pr_attach)(struct socket *, int); 240 void (*pr_detach)(struct socket *); 241 int (*pr_accept)(struct socket *, struct sockaddr *); 242 int (*pr_connect)(struct socket *, struct sockaddr *, struct lwp *); 243 int (*pr_connect2)(struct socket *, struct socket *); 244 int (*pr_bind)(struct socket *, struct sockaddr *, struct lwp *); 245 int (*pr_listen)(struct socket *, struct lwp *); 246 int (*pr_disconnect)(struct socket *); [all …]
|
| H A D | un.h | 76 struct socket; 82 int uipc_ctloutput(int, struct socket *, struct sockopt *); 88 int unp_connect(struct socket *, struct sockaddr *, struct lwp *); 89 int unp_connect2(struct socket *, struct socket *);
|
| /minix3/external/bsd/libevent/dist/sample/ |
| H A D | event-test.c | 79 HANDLE socket; in main() local 81 socket = CreateFileA("test.txt", /* open File */ in main() 89 if (socket == INVALID_HANDLE_VALUE) in main() 95 int socket; in main() local 113 socket = open(fifo, O_RDWR | O_NONBLOCK, 0); in main() 115 socket = open(fifo, O_RDONLY | O_NONBLOCK, 0); in main() 118 if (socket == -1) { in main() 130 event_set(&evfifo, (evutil_socket_t)socket, EV_READ, fifo_read, &evfifo); in main() 132 event_set(&evfifo, socket, EV_READ, fifo_read, &evfifo); in main() 140 CloseHandle(socket); in main()
|
| /minix3/crypto/external/bsd/openssl/dist/doc/crypto/ |
| H A D | BIO_s_socket.pod | 5 BIO_s_socket, BIO_new_socket - socket BIO 20 BIO_s_socket() returns the socket BIO method. This is a wrapper 21 round the platform's socket routines. 23 BIO_read() and BIO_write() read or write the underlying socket. 26 If the close flag is set then the socket is shut down and closed 29 BIO_set_fd() sets the socket of BIO B<b> to B<fd> and the close 32 BIO_get_fd() places the socket in B<c> if it is not NULL, it also 33 returns the socket. If B<c> is not NULL it should be of type (int *). 35 BIO_new_socket() returns a socket BIO using B<sock> and B<close_flag>. 42 The reason for having separate file descriptor and socket BIOs is that on some [all …]
|
| H A D | RAND_egd.pod | 18 RAND_egd() queries the entropy gathering daemon EGD on socket B<path>. 23 RAND_egd_bytes() queries the entropy gathering daemon EGD on socket B<path>. 29 the EGD socket. This can be advantageous, since the amount of entropy 32 RAND_query_egd_bytes() performs the actual query of the EGD daemon on socket 41 a socket interface through which entropy can be gathered in chunks up to 46 I<path>, where I<path> is an absolute path designating a socket. When 51 entropy to be collected. The write and read socket operations in the 61 or the status is checked via RAND_status() for the first time, if the socket
|
| H A D | BIO_s_accept.pod | 35 round the platform's TCP/IP socket accept routines. 49 connection on that chain is shutdown and the socket closed when 57 the accept socket. See L<BIO_s_fd(3)|BIO_s_fd(3)> 72 BIO_set_nbio_accept() sets the accept socket to blocking mode 84 then another socket cannot be bound to the same port. If 93 to create the accept socket and bind an address to it. Second 104 When a connection is established a new socket BIO is created for 106 accept->socket. This effectively means that attempting I/O on 107 an initial accept socket will await an incoming connection then 111 then they are placed between the socket and the accept BIO, [all …]
|
| /minix3/external/bsd/dhcp/dist/omapip/ |
| H A D | listener.c | 93 obj->socket = -1; in omapi_listen_addr() 124 obj -> socket = socket (PF_INET, SOCK_STREAM, IPPROTO_TCP); in omapi_listen_addr() 125 if (obj->socket == -1) { in omapi_listen_addr() 135 if (fcntl (obj -> socket, F_SETFD, 1) < 0) { in omapi_listen_addr() 144 if (setsockopt (obj -> socket, SOL_SOCKET, SO_REUSEADDR, in omapi_listen_addr() 152 i = bind (obj -> socket, in omapi_listen_addr() 166 if (listen (obj -> socket, max)) { in omapi_listen_addr() 171 if (fcntl (obj -> socket, F_SETFL, O_NONBLOCK) < 0) { in omapi_listen_addr() 196 if (obj->socket != -1) { in omapi_listen_addr() 197 close(obj->socket); in omapi_listen_addr() [all …]
|
| /minix3/external/bsd/bind/dist/bin/named/ |
| H A D | pfilter.c | 26 isc_socket_t *socket; in pfilter_notify() local 31 socket = client->tcpsocket; in pfilter_notify() 33 socket = client->udpsocket; in pfilter_notify() 38 if (socket == NULL) in pfilter_notify() 45 res != ISC_R_SUCCESS, isc_socket_getfd(socket), in pfilter_notify()
|
| /minix3/crypto/external/bsd/heimdal/dist/cf/ |
| H A D | socket-wrapper.m4 | 5 AC_ARG_ENABLE(socket-wrapper, 6 AS_HELP_STRING([--enable-socket-wrapper], 7 [use sambas socket-wrapper for testing])) 13 [Define if you want to use samba socket wrappers.])
|
| H A D | roken-frag.m4 | 111 AC_CHECK_HEADERS(sys/socket.h, , , [AC_INCLUDES_DEFAULT 122 #include <sys/socket.h> 130 #include <sys/socket.h> 158 AC_FIND_FUNC(socket, socket) 224 #include <sys/socket.h> 232 #include <sys/socket.h> 423 #include <sys/socket.h> 438 #include <sys/socket.h> 453 #include <sys/socket.h> 468 #include <sys/socket.h>]) [all …]
|
| /minix3/external/bsd/bind/dist/doc/misc/ |
| H A D | ipv6 | 7 being able to use ipv6 with bind9 (or in particular the ISC socket 14 The socket library requires a certain level of support from the 16 socket API to be usable. The systems which do not follow this will 29 socket to the ipv6 wildcard address would also cause the socket to 34 ipv6 easier, by only requiring one socket to be open on a given port. 43 explicit knob (the "IPV6_V6ONLY" socket option ) to turn off the ipv6 47 socket option are available. If both of them are available, bind9 63 If an ipv6 socket is bound to the ipv6 wildcard socket, and a specific 64 ipv4 socket is later bound (say, to 1.2.3.4 port 53) the ipv4 binding 68 about being unable to bind to a socket because the address is already [all …]
|
| /minix3/sys/netinet6/ |
| H A D | ip6_var.h | 286 extern struct socket *ip6_mrouter; /* multicast routing daemon */ 322 int icmp6_ctloutput(int, struct socket *, struct sockopt *); 353 struct ip6_moptions *, struct socket *, 355 int ip6_ctloutput(int, struct socket *, struct sockopt *); 356 int ip6_raw_ctloutput(int, struct socket *, struct sockopt *); 386 int rip6_ctloutput(int, struct socket *, struct sockopt *); 387 int rip6_output(struct mbuf *, struct socket *, struct sockaddr_in6 *, 389 int rip6_attach(struct socket *, int); 390 int rip6_usrreq(struct socket *,
|
| H A D | udp6_var.h | 106 int udp6_ctloutput(int, struct socket *, struct sockopt *); 112 int udp6_usrreq(struct socket *, int, struct mbuf *, struct mbuf *,
|
| /minix3/external/bsd/bind/dist/lib/isc/win32/ |
| H A D | interfaceiter.c | 64 SOCKET socket; member 142 iter->socket = socket(AF_INET, SOCK_DGRAM, 0); in isc_interfaceiter_create() 143 if (iter->socket == INVALID_SOCKET) { in isc_interfaceiter_create() 168 if (WSAIoctl(iter->socket, SIO_GET_INTERFACE_LIST, in isc_interfaceiter_create() 216 closesocket(iter->socket); in isc_interfaceiter_create() 223 iter->socket = socket(AF_INET6, SOCK_DGRAM, 0); in isc_interfaceiter_create() 224 if (iter->socket == INVALID_SOCKET) { in isc_interfaceiter_create() 250 if (WSAIoctl(iter->socket, SIO_ADDRESS_LIST_QUERY, in isc_interfaceiter_create() 283 closesocket(iter->socket); in isc_interfaceiter_create() 298 if (iter->socket != INVALID_SOCKET) in isc_interfaceiter_create() [all …]
|
| /minix3/external/bsd/dhcp/dist/common/ |
| H A D | icmp.c | 95 icmp_state -> socket = socket (AF_INET, SOCK_RAW, protocol); 96 if (icmp_state -> socket < 0) { 103 if (fcntl (icmp_state -> socket, F_SETFD, 1) < 0) 109 if (setsockopt (icmp_state -> socket, SOL_SOCKET, SO_DONTROUTE, 130 return state -> socket; 194 status = sendto (icmp_state -> socket, 228 status = recvfrom (state -> socket, (char *)icbuf, sizeof icbuf, 0,
|
| /minix3/sys/netinet/ |
| H A D | ip_mroute.h | 247 struct socket *v_rsvpd; /* # RSVPD daemon */ 339 int ip_mrouter_set(struct socket *, struct sockopt *); 340 int ip_mrouter_get(struct socket *, struct sockopt *); 341 int mrt_ioctl(struct socket *, u_long, void *); 348 int ip_rsvp_vif_init(struct socket *, struct mbuf *); 349 int ip_rsvp_vif_done(struct socket *, struct mbuf *); 350 void ip_rsvp_force_done(struct socket *);
|
| /minix3/crypto/external/bsd/openssl/dist/demos/tunala/ |
| H A D | configure.in | 14 AC_CHECK_LIB(socket, socket) 26 AC_CHECK_FUNCS(select socket)
|
| /minix3/minix/tests/ |
| H A D | test92.c | 200 if ((fd2 = socket(domain, type | SOCK_NONBLOCK, protocol)) < 0) e(0); in raw_sweep() 209 if ((fd = socket(domain, type | SOCK_NONBLOCK, in raw_sweep() 226 if ((fd = socket(domain, type | SOCK_NONBLOCK, in raw_sweep() 290 if ((fd = socket(AF_INET, SOCK_RAW, TEST_PROTO)) < 0) e(0); in test92b() 323 if ((fd2 = socket(AF_INET, SOCK_RAW, TEST_PROTO)) < 0) e(0); in test92b() 352 if ((fd = socket(AF_INET6, SOCK_RAW, TEST_PROTO)) < 0) e(0); in test92b() 378 if ((fd2 = socket(AF_INET6, SOCK_RAW, TEST_PROTO)) < 0) e(0); in test92b() 422 if ((fd = socket(AF_INET6, SOCK_RAW, TEST_PROTO)) < 0) e(0); in test92c() 448 if ((fd2 = socket(AF_INET6, SOCK_RAW, TEST_PROTO)) < 0) e(0); in test92c() 614 if ((fd = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6)) < 0) e(0); in test92c() [all …]
|
| /minix3/lib/libc/compat/sys/ |
| H A D | compat_socket.c | 15 __warn_references(socket, 19 socket(int domain, int type, int protocol) in socket() function
|
| /minix3/external/bsd/bind/dist/lib/dns/ |
| H A D | request.c | 150 isc_socket_t *socket; in dns_requestmgr_create() local 162 UNUSED(socket); in dns_requestmgr_create() 432 isc_socket_t *socket; in req_send() local 439 socket = req_getsocket(request); in req_send() 446 sendevent = isc_socket_socketevent(request->mctx, socket, in req_send() 459 result = isc_socket_sendto2(socket, &r, task, address, NULL, in req_send() 535 isc_socket_t *socket = NULL; in create_tcp_dispatch() local 542 isc_sockettype_tcp, &socket); in create_tcp_dispatch() 549 result = isc_socket_bind(socket, &bind_any, 0); in create_tcp_dispatch() 553 result = isc_socket_bind(socket, &src, 0); in create_tcp_dispatch() [all …]
|
| /minix3/sys/compat/sys/ |
| H A D | socket.h | 82 struct socket; 85 int compat_ifioctl(struct socket *, u_long, u_long, void *, struct lwp *);
|
| /minix3/tests/lib/libc/sys/ |
| H A D | t_connect.c | 52 slist = socket(AF_INET, SOCK_STREAM, 0); in ATF_TC_BODY() 53 sd = socket(AF_INET, SOCK_STREAM, 0); in ATF_TC_BODY() 112 int sock = socket(AF_LOCAL, SOCK_STREAM, 0); in ATF_TC_BODY()
|
| H A D | t_listen.c | 65 fda = socket(AF_INET, SOCK_STREAM, 0); in ATF_TC_BODY() 66 fdb = socket(AF_INET, SOCK_STREAM, 0); in ATF_TC_BODY() 108 sd = socket(AF_INET, SOCK_STREAM, 0); in ATF_TC_BODY()
|
| /minix3/external/bsd/bind/dist/contrib/queryperf/ |
| H A D | configure.in | 29 #include <sys/socket.h>], 44 #include <sys/socket.h>], 58 AC_CHECK_LIB(socket, socket)
|