Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/c2/
H A Daudit_event.c3537 short so_family, so_type; in auf_accept() local
3583 so_type = so->so_type; in auf_accept()
3591 if (so->so_type == SOCK_STREAM) { in auf_accept()
3619 au_uwrite(au_to_arg32(0, "type", (uint32_t)(so_type))); in auf_accept()
3623 au_uwrite(au_to_socket_ex(so_family, so_type, so_laddr, so_faddr)); in auf_accept()
3642 short so_family, so_type; in auf_bind() local
3666 so_type = so->so_type; in auf_bind()
3695 au_uwrite(au_to_arg32(1, "type", (uint32_t)(so_type))); in auf_bind()
3699 au_uwrite(au_to_socket_ex(so_family, so_type, so_laddr, so_faddr)); in auf_bind()
3718 short so_family, so_type; in auf_connect() local
[all …]
H A Daudit_record.h340 short so_type; /* generic type, see socket.h */ member
/titanic_50/usr/src/stand/lib/sock/
H A Dsocket.c720 int so_type; in connect() local
726 so_type = sockets[sock_id].type; in connect()
733 if (so_type == INETBOOT_RAW) { in connect()
751 if (so_type == INETBOOT_STREAM) { in connect()
800 enum SockType so_type; in recvfrom() local
843 so_type = sockets[sock_id].type; in recvfrom()
847 if ((so_type == INETBOOT_DGRAM || in recvfrom()
848 so_type == INETBOOT_STREAM) && in recvfrom()
886 switch (so_type) { in recvfrom()
904 switch (so_type) { in recvfrom()
[all …]
/titanic_50/usr/src/uts/common/inet/sockmods/
H A Dsocksctp.c190 ASSERT(so->so_type == SOCK_STREAM); in sosctp_init()
207 if (so->so_type == SOCK_STREAM) { in sosctp_init()
209 NULL, so->so_family, so->so_type, SCTP_CAN_BLOCK, in sosctp_init()
213 ASSERT(so->so_type == SOCK_SEQPACKET); in sosctp_init()
215 NULL, so->so_family, so->so_type, SCTP_CAN_BLOCK, in sosctp_init()
363 ASSERT(so->so_type == SOCK_STREAM); in sosctp_connect()
445 ASSERT(so->so_type == SOCK_SEQPACKET); in sosctp_seq_connect()
501 if (so->so_type == SOCK_STREAM) { in sosctp_recvmsg()
560 if (so->so_type == SOCK_SEQPACKET) { in sosctp_recvmsg()
735 ASSERT(so->so_type == SOCK_STREAM); in sosctp_sendmsg()
[all …]
H A Dsocksdp.c490 ASSERT(so->so_type == SOCK_STREAM); in sosdp_sendmsg()
700 value = so->so_type; in sosdp_getsockopt()
811 if (so->so_type == SOCK_STREAM) { in sosdp_setsockopt()
816 so->so_type, conn, level, option_name)); in sosdp_setsockopt()
1084 if (!(so_state & SS_ISCONNECTED) && (so->so_type == SOCK_STREAM)) { in sosdp_poll()
1106 if (so->so_type == SOCK_STREAM) { in sosdp_poll()
1203 ASSERT(lso->so_type == SOCK_STREAM); in sdp_sock_newconn()
1238 ASSERT(so->so_type == SOCK_STREAM); in sdp_sock_connected()
1260 ASSERT(so->so_type == SOCK_STREAM); in sdp_sock_disconnected()
1280 ASSERT(so->so_type == SOCK_STREAM); in sdp_sock_recv()
[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()
/titanic_50/usr/src/lib/libbc/inc/include/sys/
H A Dsocketvar.h21 short so_type; /* generic type, see socket.h */ member
/titanic_50/usr/src/uts/common/fs/sockfs/
H A Dsocktpi.c391 if ((so->so_type == SOCK_STREAM || so->so_type == SOCK_DGRAM) && in sotpi_init()
405 ASSERT(so->so_type != SOCK_DGRAM || tso == NULL); in sotpi_init()
406 if (so->so_type == SOCK_STREAM && tso != NULL) { in sotpi_init()
486 ASSERT(so->so_type == SOCK_DGRAM || in sotpi_init()
487 so->so_type == SOCK_STREAM); in sotpi_init()
647 tcp_udp_xport = so->so_type == SOCK_STREAM || so->so_type == SOCK_DGRAM; in sotpi_bindlisten()
1849 nso->so_type == SOCK_STREAM && !soaccept_tpi_tcp) { in sotpi_accept()
2159 error = (so->so_type == SOCK_DGRAM || so->so_type == SOCK_RAW) in sotpi_accept()
2253 so->so_type == SOCK_STREAM && !soconnect_tpi_tcp) { in sotpi_connect()
2306 (so->so_type == SOCK_DGRAM || in sotpi_connect()
[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.c144 parent->so_type, parent->so_protocol, parent->so_version, flags, in socket_newconn()
565 so->so_type = type; in sonode_init()
H A Dsocksubr.c495 if (so->so_type == SOCK_DGRAM) in so_ux_lookup()
521 if (so->so_type != so2->so_type) { in so_ux_lookup()
1812 pksi->ks_si.si_type = so->so_type; in sockfs_snapshot()
H A Dsockcommon_subr.c1332 so->so_type, so->so_protocol, &so->so_downcalls, in socket_init_common()
1704 value = so->so_type; in socket_getopt_common()
2222 VERIFY(cur->so_type == orig->so_type); in so_integrity_check()
2319 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.c343 return ((so->so_type == SOCK_DGRAM || so->so_type == SOCK_RAW) ? in so_accept()
H A Dsocksyscalls.c394 if (so1->so_type == SOCK_DGRAM) { in so_socketpair()
/titanic_50/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()
/titanic_50/usr/src/uts/common/sys/
H A Dsocketvar.h162 short so_type; member
/titanic_50/usr/src/lib/libbsm/common/
H A Dau_to.c567 adr_short(&adr, (short *)&so->so_type, 1); in au_to_socket()
/titanic_50/usr/src/cmd/auditrecord/
H A Daudit_record_attr.txt153 comment="type", so_type
180 # au_to_arg32 "type", so_type