/illumos-gate/usr/src/stand/lib/sock/ |
H A D | socket.c | 50 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 D | socket_impl.h | 147 extern struct inetboot_socket sockets[MAXSOCKET];
|
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | udp.c | 110 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 D | ipv4.c | 629 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 D | ibd.c | 314 if ((reltime = sockets[index].in_timeout) == 0) 406 add_grams(&sockets[index].inq, inp);
|
H A D | ethernet.c | 315 if ((reltime = sockets[index].in_timeout) == 0) 407 add_grams(&sockets[index].inq, inp);
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | netif.c | 50 struct iodesc sockets[SOPEN_MAX]; variable in typeref:struct:iodesc 288 return (&sockets[sock]); 300 for (fd = 0, s = sockets; fd < SOPEN_MAX; fd++, s++) 331 netif_detach(sockets[sock].io_netif); 332 sockets[sock].io_netif = (struct netif *)0;
|
H A D | net.h | 89 extern struct iodesc sockets[SOPEN_MAX];
|
/illumos-gate/usr/src/stand/lib/tcp/ |
H A D | tcp.c | 484 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...] |
/illumos-gate/usr/src/cmd/lms/tools/ |
H A D | ATNetworkTool.cpp | 440 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 D | ATNetworkTool.h | 412 /* 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...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | pcic.c | 40 * 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...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | k5-int.h | 261 #include <port-sockets.h>
|