Home
last modified time | relevance | path

Searched refs:so_type (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/uts/common/c2/
H A Daudit_event.c3692 so_type = so->so_type; in auf_accept()
3775 so_type = so->so_type; in auf_bind()
3843 so_type = so->so_type; in auf_connect()
3931 so_type = so->so_type; in aus_shutdown()
4034 so_type = so->so_type; in auf_setsockopt()
4219 so_type = so->so_type; in auf_recvmsg()
4420 so_type = so->so_type; in auf_recvfrom()
4617 so_type = so->so_type; in auf_sendmsg()
4807 so_type = so->so_type; in auf_sendto()
5700 so_type = so->so_type; in auf_recv()
[all …]
H A Daudit_record.h350 short so_type; /* generic type, see socket.h */ member
/illumos-gate/usr/src/stand/lib/sock/
H A Dsocket.c719 int so_type; in connect() local
725 so_type = sockets[sock_id].type; in connect()
732 if (so_type == INETBOOT_RAW) { in connect()
750 if (so_type == INETBOOT_STREAM) { in connect()
799 enum SockType so_type; in recvfrom() local
842 so_type = sockets[sock_id].type; in recvfrom()
885 switch (so_type) { in recvfrom()
903 switch (so_type) { in recvfrom()
994 enum SockType so_type; in sendto() local
1007 so_type = sockets[sock_id].type; in sendto()
[all …]
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksctp.c200 ASSERT(so->so_type == SOCK_STREAM); in sosctp_init()
217 if (so->so_type == SOCK_STREAM) { in sosctp_init()
223 ASSERT(so->so_type == SOCK_SEQPACKET); in sosctp_init()
373 ASSERT(so->so_type == SOCK_STREAM); in sosctp_connect()
454 ASSERT(so->so_type == SOCK_SEQPACKET); in sosctp_seq_connect()
510 if (so->so_type == SOCK_STREAM) { in sosctp_recvmsg()
569 if (so->so_type == SOCK_SEQPACKET) { in sosctp_recvmsg()
744 ASSERT(so->so_type == SOCK_STREAM); in sosctp_sendmsg()
947 ASSERT(so->so_type == SOCK_SEQPACKET); in sosctp_seq_sendmsg()
1318 if (so->so_type == SOCK_STREAM) { in sosctp_setsockopt()
[all …]
H A Dsocksdp.c491 ASSERT(so->so_type == SOCK_STREAM); in sosdp_sendmsg()
701 value = so->so_type; in sosdp_getsockopt()
812 if (so->so_type == SOCK_STREAM) { in sosdp_setsockopt()
817 so->so_type, conn, level, option_name)); in sosdp_setsockopt()
1102 if (so->so_type != SOCK_STREAM) { in sosdp_poll()
1200 ASSERT(lso->so_type == SOCK_STREAM); in sdp_sock_newconn()
1235 ASSERT(so->so_type == SOCK_STREAM); in sdp_sock_connected()
1257 ASSERT(so->so_type == SOCK_STREAM); in sdp_sock_disconnected()
1277 ASSERT(so->so_type == SOCK_STREAM); in sdp_sock_recv()
1319 ASSERT(so->so_type == SOCK_STREAM); in sdp_sock_urgdata()
[all …]
H A Dsockmod_sctp.c193 ASSERT((so->so_type == SOCK_STREAM || so->so_type == SOCK_SEQPACKET) && in socksctp_destroy()
H A Dsocksctpsubr.c411 so->so_family, so->so_type, SCTP_CAN_BLOCK, &sosctp_assoc_upcalls, in sosctp_assoc_createconn()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocktpi.c386 if ((so->so_type == SOCK_STREAM || so->so_type == SOCK_DGRAM) && in sotpi_init()
481 ASSERT(so->so_type == SOCK_DGRAM || in sotpi_init()
482 so->so_type == SOCK_STREAM); in sotpi_init()
649 tcp_udp_xport = so->so_type == SOCK_STREAM || so->so_type == SOCK_DGRAM; in sotpi_bindlisten()
2087 error = (so->so_type == SOCK_DGRAM || so->so_type == SOCK_RAW) in sotpi_accept()
2234 (so->so_type == SOCK_DGRAM || in sotpi_connect()
2235 so->so_type == SOCK_RAW) && in sotpi_connect()
2383 (so->so_type != SOCK_DGRAM && so->so_type != SOCK_RAW) || in sotpi_connect()
2761 if (so->so_type == SOCK_STREAM || so->so_type == SOCK_SEQPACKET) { in so_unix_close()
4504 if (so->so_type != SOCK_STREAM) in sotpi_sendmblk()
[all …]
H A Dsockstr.c515 if (so->so_type == SOCK_SEQPACKET || so->so_type == SOCK_RAW) { in copy_tinfo()
526 if (so->so_type == SOCK_STREAM) { in copy_tinfo()
550 if (so->so_type == SOCK_DGRAM && sti->sti_serv_type != T_CLTS) { in check_tinfo()
555 if (so->so_type == SOCK_STREAM && sti->sti_serv_type == T_CLTS) { in check_tinfo()
560 if (so->so_type == SOCK_SEQPACKET && sti->sti_serv_type == T_CLTS) { in check_tinfo()
1841 (so->so_type != SOCK_RAW && in strsock_proto()
1878 (so->so_type != SOCK_RAW && in strsock_proto()
H A Dsockcommon.c146 parent->so_type, parent->so_protocol, parent->so_version, flags, in socket_newconn()
572 so->so_type = type; in sonode_init()
H A Dsocksubr.c480 if (so->so_type == SOCK_DGRAM) in so_ux_lookup()
506 if (so->so_type != so2->so_type) { in so_ux_lookup()
1857 psi->si_type = so->so_type; in sockfs_snapshot()
H A Dsockcommon_subr.c1335 so->so_type, so->so_protocol, &so->so_downcalls, in socket_init_common()
1707 value = so->so_type; in socket_getopt_common()
2224 VERIFY(cur->so_type == orig->so_type); in so_integrity_check()
2321 newsp = sockparams_hold_ephemeral_bydev(so->so_family, so->so_type, in so_tpi_fallback()
H A Dsockfilter.c254 (sof_handle_t)inst, so->so_family, so->so_type, in sof_setsockopt_impl()
556 (sof_handle_t)inst, so->so_family, so->so_type, in sof_sonode_autoattach_filters()
H A Dsockcommon_sops.c317 return ((so->so_type == SOCK_DGRAM || so->so_type == SOCK_RAW) ? in so_accept()
H A Dsocksyscalls.c386 if (so1->so_type == SOCK_DGRAM) { in so_socketpair()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dvfs.c1039 sock_prints[i].type == so.so_type && in pfile_callback()
1042 sock_prints[i].type == so.so_type && in pfile_callback()
1043 so.so_type == SOCK_RAW)) { in pfile_callback()
H A Dnet.c450 if ((optt != NULL) && (so.so_type != type)) in sonode()
477 switch (so.so_type) { in sonode()
488 mdb_printf(" %4hi", so.so_type); in sonode()
/illumos-gate/usr/src/uts/common/sys/
H A Dsocketvar.h165 short so_type; member
/illumos-gate/usr/src/lib/libbsm/common/
H A Dau_to.c567 adr_short(&adr, (short *)&so->so_type, 1); in au_to_socket()
/illumos-gate/usr/src/cmd/auditrecord/
H A Daudit_record_attr.txt155 comment="type", so_type
182 # au_to_arg32 "type", so_type