Searched refs:soc (Results 1 - 12 of 12) sorted by relevance

/freebsd-9.3-release/sbin/iscontrol/
H A Dfsm.c76 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 Discontrol.h72 int soc; // the socket member in struct:isess
/freebsd-9.3-release/sys/dev/iscsi/initiator/
H A Disc_soc.c175 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 Discsi.c230 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 Disc_sm.c547 if(sp->soc != NULL)
548 sdebug(3, "so_state=%x", sp->soc->so_state);
549 wakeup(&sp->soc);
567 wakeup(&sp->soc);
H A Discsivar.h126 struct socket *soc; member in struct:isc_session
/freebsd-9.3-release/sbin/routed/rtquery/
H A Drtquery.c93 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 Doutput.c107 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 Ddockstar.dts47 soc = &SOC;
H A Dsheevaplug.dts47 soc = &SOC;
H A Ddb88f6281.dts48 soc = &SOC;
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-uahcx-defs.h1505 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;

Completed in 129 milliseconds