Searched refs:sockets (Results 1 - 24 of 24) sorted by relevance

/opensolaris-onvv-gate/usr/src/stand/lib/sock/
H A Dsocket.c50 struct inetboot_socket sockets[MAXSOCKET] = { 0 }; variable in typeref:struct:inetboot_socket
76 if (sockets[i].type == INETBOOT_UNUSED) {
101 sockets[i].type = INETBOOT_UNUSED;
111 if (sockets[i].type == INETBOOT_UNUSED)
120 sockets[i].so_rcvbuf = SO_DEF_RCVBUF;
121 sockets[i].so_sndbuf = SO_DEF_SNDBUF;
130 ipv4_raw_socket(&sockets[i], (uint8_t)protocol);
133 udp_socket_init(&sockets[i]);
136 tcp_socket_init(&sockets[i]);
147 ipv4_socket_init(&sockets[
[all...]
H A Dsocket_impl.h147 extern struct inetboot_socket sockets[MAXSOCKET];
/opensolaris-onvv-gate/usr/src/stand/lib/inet/
H A Dudp.c110 while ((igp = sockets[index].inq) != NULL) {
116 del_gram(&sockets[index].inq, igp, TRUE);
122 header_len = (sockets[index].headerlen[TRANSPORT_LVL])(NULL);
129 &igp->igm_target, sockets[index].proto) != 0) {
133 del_gram(&sockets[index].inq, igp, TRUE);
139 if (sockets[index].bind.sin_port != udphp->uh_dport) {
143 sockets[index].bind.sin_port),
145 del_gram(&sockets[index].inq, igp, TRUE);
150 del_gram(&sockets[index].inq, igp, FALSE);
154 add_grams(&sockets[inde
[all...]
H A Dipv4.c629 ngp->igm_saddr.sin_port = sockets[index].ports(transp, SOURCE);
673 * destined for sockets other than the referenced one. Data is handled in
709 while ((igp = sockets[index].inq) != NULL) {
715 del_gram(&sockets[index].inq, igp, TRUE);
722 del_gram(&sockets[index].inq, igp, TRUE);
729 del_gram(&sockets[index].inq, igp, TRUE);
736 del_gram(&sockets[index].inq, igp, TRUE);
749 del_gram(&sockets[index].inq, igp, TRUE);
763 del_gram(&sockets[index].inq, igp, TRUE);
771 del_gram(&sockets[inde
[all...]
H A Dibd.c314 if ((reltime = sockets[index].in_timeout) == 0)
406 add_grams(&sockets[index].inq, inp);
H A Dethernet.c315 if ((reltime = sockets[index].in_timeout) == 0)
407 add_grams(&sockets[index].inq, inp);
/opensolaris-onvv-gate/usr/src/cmd/ssh/ssh-agent/
H A Dssh-agent.c79 SocketEntry *sockets = NULL; variable
698 if (sockets[i].type == AUTH_UNUSED) {
699 sockets[i].fd = fd;
700 buffer_init(&sockets[i].input);
701 buffer_init(&sockets[i].output);
702 buffer_init(&sockets[i].request);
703 sockets[i].type = type;
708 sockets = xrealloc(sockets, new_alloc * sizeof(sockets[
[all...]
/opensolaris-onvv-gate/usr/src/stand/lib/tcp/
H A Dtcp.c484 old_timeout = sockets[sock_id].in_timeout;
485 sockets[sock_id].in_timeout = timeout;
491 old_in_gram = sockets[sock_id].inq;
492 sockets[sock_id].inq = NULL;
496 if (sockets[sock_id].input[i] != NULL) {
497 if (sockets[sock_id].input[i](sock_id) < 0) {
498 sockets[sock_id].in_timeout = old_timeout;
499 if (sockets[sock_id].inq != NULL)
500 nuke_grams(&sockets[sock_id].inq);
501 sockets[sock_i
[all...]
/opensolaris-onvv-gate/usr/src/cmd/lms/tools/
H A DATNetworkTool.cpp440 ATSocketList sockets; local
443 int num = ATNetworkTool::CreateServerSockets(sockets, port,
448 if ((num > 0) && (sockets.size() > 0)) {
449 s = sockets[0];
451 sockets.clear();
456 int ATNetworkTool::CreateServerSockets(ATSocketList &sockets, in_port_t port, argument
465 return ATNetworkTool::CreateServerSockets(sockets, ssport.str().c_str(),
472 int ATNetworkTool::CreateServerSockets(ATSocketList &sockets, const char *port, argument
511 sockets.push_back(s);
H A DATNetworkTool.h412 /* Creates server listening sockets
413 * @param sockets [out] list of created server listening sockets
417 * @param nonblocking true for nonblocking sockets
418 * @param family sockets expected family
419 * @param socktype sockets type
420 * @param protocol sockets protocol
423 * @return int >=0 number of created server sockets, ==-1 on error
425 static int CreateServerSockets(ATSocketList &sockets, in_port_t port,
432 static int CreateServerSockets(ATSocketList &sockets, cons
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/IO/lib/IO/Socket/
H A DUNIX.pm72 IO::Socket::UNIX - Object interface for AF_UNIX domain sockets
80 C<IO::Socket::UNIX> provides an object interface to creating and using sockets
H A DINET.pm282 IO::Socket::INET - Object interface for AF_INET domain sockets
290 C<IO::Socket::INET> provides an object interface to creating and using sockets
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/
H A Dutil.c3956 int sockets[2] = {-1, -1}; local
3966 sockets[i] = PerlSock_socket(AF_INET, SOCK_DGRAM, PF_INET);
3967 if (sockets[i] == -1)
3973 if (PerlSock_bind(sockets[i], (struct sockaddr *) &addresses[i],
3978 /* Now have 2 UDP sockets. Find out which port each is connected to, and
3982 if (PerlSock_getsockname(sockets[i], (struct sockaddr *) &addresses[i],
3988 if (PerlSock_connect(sockets[!i], (struct sockaddr *) &addresses[i],
3993 /* Now we have 2 sockets connected to each other. I don't trust some other
4002 got = PerlLIO_write(sockets[i], &port, sizeof(port));
4022 int max = sockets[
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/IO/lib/IO/
H A DSocket.pm316 C<IO::Socket> provides an object interface to creating and using sockets. It
390 Call C<socketpair> and return a list of two sockets created, or an
H A DSelect.pm343 to write a server which communicates with several sockets while also
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Socket/
H A DSocket.pm138 Internet domain sockets, this structure is normally what you need for
163 that path packed in with AF_UNIX filled in. For unix domain sockets, this
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/File/
H A DCopy.pm314 1k for filehandles that do not reference files (eg. sockets).
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DPerlIO.pm306 for example with sockets there may be differences, or if you have
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/
H A DFunctions.pm332 socketpair Socket create a pair of sockets
/opensolaris-onvv-gate/usr/src/uts/common/io/
H A Dpcic.c40 * need-mult-irq need status IRQ for each pair of sockets
685 /* should probe for new sockets showing up */
1178 * look for total number of sockets.
1218 * the case where more than 2 sockets are
1235 cmn_err(CE_CONT, "num sockets = %d\n",
1552 cmn_err(CE_CONT, "type = %s sockets = %d\n", typename,
1659 /* turn everything off for all sockets and chips */
1711 /* turn everything off for all sockets and chips */
2261 * we need to look at all known sockets to determine
2267 * Set the bitmask for IO interrupts to initially include all sockets
2459 pcic_do_io_intr(pcicdev_t *pcic, uint32_t sockets) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Sys/Syslog/
H A DSyslog.pm771 # by a write. Instead, sockets are made readable and the next read
1451 UNIX domain sockets added by Sean Robinson
/opensolaris-onvv-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-int.h261 #include <port-sockets.h>
/opensolaris-onvv-gate/exception_lists/
H A Dcopyright82 usr/src/lib/gss_mechs/mech_krb5/include/port-sockets.h
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Tie/
H A DFile.pm2313 means no pipes or sockets. If C<Tie::File> can detect that you

Completed in 223 milliseconds