/freebsd-10.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-10.3-release/sys/dev/iscsi_initiator/ |
H A D | isc_soc.c | 176 if((error = sosend(sp->soc, NULL, NULL, mh, 0, 0, sp->td)) != 0) { 245 sdebug(5, "sp=%p sp->soc=%p uio=%p sp->td=%p", 246 sp, sp->soc, uio, sp->td); 249 error = sosend(sp->soc, NULL, uio, 0, 0, 0, sp->td); 337 error = soreceive(sp->soc, NULL, uio, 0, 0, &flags); 347 sp->soc->so_error, uio->uio_resid, iov->iov_len); 357 sp->soc->so_error, uio->uio_resid, iov->iov_len, sp->soc->so_state); 409 error = soreceive(sp->soc, NULL, uio, NULL, NULL, &flags); 478 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; 388 if(sp->soc != NULL) 396 &sp->soc, 0); 420 if(sp->soc == NULL) 495 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 | 125 struct socket *soc; member in struct:isc_session
|
/freebsd-10.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-10.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-10.3-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-sso-defs.h | 575 uint64_t soc : 1; /**< SSO CAM BIST status */ member in struct:cvmx_sso_bist_stat::cvmx_sso_bist_stat_s 597 uint64_t soc : 1; 621 uint64_t soc : 1; /**< SSO CAM BIST status */ member in struct:cvmx_sso_bist_stat::cvmx_sso_bist_stat_cn68xxp1 643 uint64_t soc : 1;
|
H A D | cvmx-uahcx-defs.h | 1724 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 1768 uint32_t soc : 2;
|