Searched refs:so_error (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dsocketvar.h45 u_short so_error; /* error affecting connection */ member in struct:socket
120 (so)->so_qlen || (so)->so_error)
128 (so)->so_error)
/illumos-gate/usr/src/stand/lib/sock/
H A Dsocket.c684 if (sockets[sock_id].so_error != 0) {
685 errno = sockets[sock_id].so_error;
705 if (sockets[sock_id].so_error != 0) {
706 errno = sockets[sock_id].so_error;
743 if (sockets[sock_id].so_error != 0) {
744 errno = sockets[sock_id].so_error;
770 if (sockets[sock_id].so_error != 0)
771 errno = sockets[sock_id].so_error;
833 if (sockets[sock_id].so_error != 0) {
835 sockets[sock_id].so_error;
[all...]
H A Dsocket_impl.h130 int so_error; /* Socket error */ member in struct:inetboot_socket
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_name_service.c738 int so_error = 0, len = sizeof (so_error); local
741 &so_error, &len);
744 * we only return 0 if so_error == 0 or
745 * so_error == ECONNREFUSED. for all other
748 if (so_error != 0 && so_error != ECONNREFUSED) {
750 errno = so_error;
752 "ns_resolve_addr: ipv%d, so_error: %s\n",
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockstr.c240 so->so_error = sti->sti_delayed_error = 0;
769 error = so->so_error;
771 so->so_error = 0;
790 error = so->so_error;
793 error = so->so_error;
794 so->so_error = 0;
818 error = so->so_error;
822 so->so_error = 0;
842 so->so_error = (ushort_t)error;
872 so->so_error
[all...]
H A Dsockcommon_subr.c75 * No need to check so_error here, because it is not
201 if (so->so_error != 0 && SOCK_CONNID_LT(so->so_proto_connid, id))
202 so->so_error = 0;
215 if (so->so_error != 0)
218 * Under normal circumstances, so_error should contain an error
922 if (so->so_error != 0) {
2219 VERIFY(cur->so_error != 0 || orig->so_error == 0);
H A Dsockcommon_sops.c308 if (so->so_error != 0) {
407 if (so->so_error != 0) {
516 if (so->so_error != 0) {
879 if (so->so_error != 0) {
916 if (so->so_error != 0 &&
H A Dsockcommon.c574 so->so_error = 0;
H A Dsocktpi.c2498 if (so->so_error != 0)
3087 pr_state(so->so_state, so->so_mode), so->so_error));
3964 if (so->so_error != 0) {
4191 if (so->so_error != 0) {
4227 pr_state(so->so_state, so->so_mode), so->so_error));
4243 if (so->so_error != 0) {
4939 * If there is an error record the error in so_error put don't fail
5064 * If there is an error record the error in so_error put don't fail
6227 (void *)vp, pr_state(so_state, so->so_mode), so->so_error));
6248 if (so->so_error !
[all...]
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksdp.c354 if (so->so_error != 0) {
507 if (so->so_error != 0) {
1094 if (so->so_error != 0 &&
1357 so->so_error = (ushort_t)error;
H A Dsocksctpsubr.c345 * Another thread could have consumed so_error
529 nso->so_error = ssa->ssa_error;
H A Dsocksctp.c388 if (so->so_error != 0) {
805 if (so->so_error != 0) {
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_record.h366 ushort_t so_error; /* error affecting connection */ member in struct:oldsocket
/illumos-gate/usr/src/uts/common/sys/
H A Dsocketvar.h157 ushort_t so_error; /* error affecting connection */ member in struct:sonode
/illumos-gate/usr/src/stand/lib/tcp/
H A Dtcp.c536 if (sockets[sock_id].so_error != 0)
1769 "error %d\n", state, sockets[sock_id].so_error);
1771 if (sockets[sock_id].so_error != 0)
1929 sockets[sock_id].so_error = err;

Completed in 169 milliseconds