/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit_event.c | 3646 short so_family, so_type; in auf_accept() local 3692 so_type = so->so_type; in auf_accept() 3700 if (so->so_type == SOCK_STREAM) { in auf_accept() 3728 au_uwrite(au_to_arg32(0, "type", (uint32_t)(so_type))); in auf_accept() 3732 au_uwrite(au_to_socket_ex(so_family, so_type, so_laddr, so_faddr)); in auf_accept() 3751 short so_family, so_type; in auf_bind() local 3775 so_type = so->so_type; in auf_bind() 3804 au_uwrite(au_to_arg32(1, "type", (uint32_t)(so_type))); in auf_bind() 3808 au_uwrite(au_to_socket_ex(so_family, so_type, so_laddr, so_faddr)); in auf_bind() 3827 short so_family, so_type; in auf_connect() local [all …]
|
H A D | audit_record.h | 350 short so_type; /* generic type, see socket.h */ member
|
/illumos-gate/usr/src/stand/lib/sock/ |
H A D | socket.c | 719 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() 846 if ((so_type == INETBOOT_DGRAM || in recvfrom() 847 so_type == INETBOOT_STREAM) && in recvfrom() 885 switch (so_type) { in recvfrom() 903 switch (so_type) { in recvfrom() [all …]
|
/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | socksctp.c | 200 ASSERT(so->so_type == SOCK_STREAM); in sosctp_init() 217 if (so->so_type == SOCK_STREAM) { in sosctp_init() 219 NULL, so->so_family, so->so_type, SCTP_CAN_BLOCK, in sosctp_init() 223 ASSERT(so->so_type == SOCK_SEQPACKET); in sosctp_init() 225 NULL, so->so_family, so->so_type, SCTP_CAN_BLOCK, 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() [all …]
|
H A D | socksdp.c | 491 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() 1085 if (!(so_state & SS_ISCONNECTED) && (so->so_type == SOCK_STREAM)) { in sosdp_poll() 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() [all …]
|
H A D | sockmod_sctp.c | 193 ASSERT((so->so_type == SOCK_STREAM || so->so_type == SOCK_SEQPACKET) && in socksctp_destroy()
|
H A D | socksctpsubr.c | 411 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 D | socktpi.c | 387 if ((so->so_type == SOCK_STREAM || so->so_type == SOCK_DGRAM) && in sotpi_init() 401 ASSERT(so->so_type != SOCK_DGRAM || tso == NULL); in sotpi_init() 402 if (so->so_type == SOCK_STREAM && tso != NULL) { in sotpi_init() 482 ASSERT(so->so_type == SOCK_DGRAM || in sotpi_init() 483 so->so_type == SOCK_STREAM); in sotpi_init() 533 if (so->so_family == AF_UNIX && so->so_type == SOCK_STREAM) { in sotpi_init() 650 tcp_udp_xport = so->so_type == SOCK_STREAM || so->so_type == SOCK_DGRAM; in sotpi_bindlisten() 1818 nso->so_type == SOCK_STREAM && !soaccept_tpi_tcp) { in sotpi_accept() 2088 error = (so->so_type == SOCK_DGRAM || so->so_type == SOCK_RAW) in sotpi_accept() 2182 so->so_type == SOCK_STREAM && !soconnect_tpi_tcp) { in sotpi_connect() [all …]
|
H A D | sockstr.c | 515 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 D | sockcommon.c | 146 parent->so_type, parent->so_protocol, parent->so_version, flags, in socket_newconn() 572 so->so_type = type; in sonode_init()
|
H A D | socksubr.c | 495 if (so->so_type == SOCK_DGRAM) in so_ux_lookup() 521 if (so->so_type != so2->so_type) { in so_ux_lookup() 1879 psi->si_type = so->so_type; in sockfs_snapshot()
|
H A D | sockcommon_subr.c | 1335 so->so_type, so->so_protocol, &so->so_downcalls, in socket_init_common() 1713 value = so->so_type; in socket_getopt_common() 2230 VERIFY(cur->so_type == orig->so_type); in so_integrity_check() 2327 newsp = sockparams_hold_ephemeral_bydev(so->so_family, so->so_type, in so_tpi_fallback()
|
H A D | sockfilter.c | 254 (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 D | sockcommon_sops.c | 317 return ((so->so_type == SOCK_DGRAM || so->so_type == SOCK_RAW) ? in so_accept()
|
H A D | socksyscalls.c | 397 if (so1->so_type == SOCK_DGRAM) { in so_socketpair()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | vfs.c | 1039 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 D | net.c | 456 if ((optt != NULL) && (so.so_type != type)) in sonode() 483 switch (so.so_type) { in sonode() 494 mdb_printf(" %4hi", so.so_type); in sonode()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | socketvar.h | 165 short so_type; member
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | au_to.c | 567 adr_short(&adr, (short *)&so->so_type, 1); in au_to_socket()
|
/illumos-gate/usr/src/cmd/auditrecord/ |
H A D | audit_record_attr.txt | 155 comment="type", so_type 182 # au_to_arg32 "type", so_type
|