/freebsd-9.3-release/sbin/iscontrol/ |
H A D | fsm.c | 76 int val, sv_errno, soc; local 86 shutdown(sess->soc, SHUT_RDWR); 87 //close(sess->soc); 88 sess->soc = -1; 134 soc = -1; 136 soc = socket(res->ai_family, res->ai_socktype, res->ai_protocol); 137 if (soc == -1) 143 if(setsockopt(soc, SOL_SOCKET, SO_REUSEADDR, &val, (socklen_t)sizeof(val)) < 0) { 148 if(connect(soc, res->ai_addr, res->ai_addrlen) == 0) 151 close(soc); [all...] |
H A D | iscontrol.h | 72 int soc; // the socket member in struct:isess
|
/freebsd-9.3-release/sys/dev/iscsi/initiator/ |
H A D | isc_soc.c | 175 if((error = sosend(sp->soc, NULL, NULL, mh, 0, 0, sp->td)) != 0) { 244 sdebug(5, "sp=%p sp->soc=%p uio=%p sp->td=%p", 245 sp, sp->soc, uio, sp->td); 248 error = sosend(sp->soc, NULL, uio, 0, 0, 0, sp->td); 336 error = soreceive(sp->soc, NULL, uio, 0, 0, &flags); 346 sp->soc->so_error, uio->uio_resid, iov->iov_len); 356 sp->soc->so_error, uio->uio_resid, iov->iov_len, sp->soc->so_state); 408 error = soreceive(sp->soc, NULL, uio, NULL, NULL, &flags); 477 error = soreceive(sp->soc, NUL [all...] |
H A D | iscsi.c | 230 error = sp->soc == NULL? ENOTCONN: i_fullfeature(dev, 1); 240 error = sp->soc == NULL? ENOTCONN: i_fullfeature(dev, 2); 298 struct socket *so = sp->soc; 387 if(sp->soc != NULL) 394 if((error = fgetsock(td, fd, CAP_SOCK_ALL, &sp->soc, 0)) == 0) { 417 if(sp->soc == NULL) 492 if(sp->soc == NULL)
|
H A D | isc_sm.c | 547 if(sp->soc != NULL) 548 sdebug(3, "so_state=%x", sp->soc->so_state); 549 wakeup(&sp->soc); 567 wakeup(&sp->soc);
|
H A D | iscsivar.h | 126 struct socket *soc; member in struct:isc_session
|
/freebsd-9.3-release/sbin/routed/rtquery/ |
H A D | rtquery.c | 93 int soc; variable 283 soc = socket(AF_INET, SOCK_DGRAM, 0); 284 if (soc < 0) { 291 if (setsockopt(soc, SOL_SOCKET, SO_RCVBUF, 346 while (bind(soc, (struct sockaddr *)&myaddr, sizeof(myaddr)) < 0) { 429 FD_SET(soc, &bits); 432 cc = select(soc+1, &bits, 0,0, &delay); 435 cc = recvfrom(soc, imsg_buf.packet, 531 if (sendto(soc, &omsg_buf, omsg_len, 0,
|
/freebsd-9.3-release/sbin/routed/ |
H A D | output.c | 107 int soc; local 119 soc = rip_sock; 125 if (soc < 0) 126 soc = ifp->int_rip_sock; 130 if (soc < 0) 131 soc = ifp->int_rip_sock; 187 res = sendto(soc, buf, size, flags,
|
/freebsd-9.3-release/sys/boot/fdt/dts/ |
H A D | dockstar.dts | 47 soc = &SOC;
|
H A D | sheevaplug.dts | 47 soc = &SOC;
|
H A D | db88f6281.dts | 48 soc = &SOC;
|
/freebsd-9.3-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-uahcx-defs.h | 1505 uint32_t soc : 2; /**< SchedulingOverrunCount. These bits are incremented on each scheduling overrun member in struct:cvmx_uahcx_ohci0_hccommandstatus::cvmx_uahcx_ohci0_hccommandstatus_s 1549 uint32_t soc : 2;
|