Home
last modified time | relevance | path

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

/xnu-8020.140.41/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_namespace.c55 int so_type = 0; in flow_namespace_create() local
74 so_type = SOCK_DGRAM; in flow_namespace_create()
78 so_type = SOCK_STREAM; in flow_namespace_create()
/xnu-8020.140.41/bsd/kern/
H A Duipc_usrreq.c394 switch (so->so_type) { in uipc_rcvd()
480 switch (so->so_type) { in uipc_send()
676 if (so->so_type == SOCK_STREAM && unp->unp_conn != 0) { in uipc_sense()
783 if (so->so_type == SOCK_STREAM) { in uipc_ctloutput()
922 switch (so->so_type) { in unp_attach()
947 LIST_INSERT_HEAD(so->so_type == SOCK_DGRAM ? in unp_attach()
1318 if (so->so_type != so2->so_type) { in unp_connect()
1451 if (so2->so_type != so->so_type) { in unp_connect2()
1468 switch (so->so_type) { in unp_connect2()
1520 panic("unknown socket type %d in unp_connect2", so->so_type); in unp_connect2()
[all …]
H A Duipc_socket2.c362 so = soalloc(1, SOCK_DOM(head), head->so_type); in sonewconn_internal()
372 so->so_type = head->so_type; in sonewconn_internal()
2324 so->so_type == SOCK_STREAM) { in sowriteable()
2744 xso->so_type = so->so_type; in sotoxsocket()
2775 xso->so_type = so->so_type; in sotoxsocket64()
H A Dsocket_info.c75 si->soi_type = so->so_type; in fill_common_sockinfo()
H A Dvsock_domain.c456 if (pcb->so->so_type != SOCK_STREAM) { in vsock_sockaddr_vm_validate()
1019 if (so->so_type != SOCK_STREAM) { in vsock_listen()
H A Duipc_socket.c704 so->so_type = (short)type; in socreate_internal()
2070 (so->so_type == SOCK_STREAM && so_wait_for_if_feedback(so))) { in sosendcheck()
2218 if (so->so_type != SOCK_STREAM && (flags & MSG_OOB) != 0) { in sosend()
2236 (so->so_type == SOCK_STREAM && (flags & MSG_EOR))) { in sosend()
2683 if (so->so_type != SOCK_DGRAM) { in sosend_list()
4208 if (so->so_type != SOCK_DGRAM) { in soreceive_list()
6064 optval = so->so_type; in sogetoptlock()
6871 so->so_type == SOCK_STREAM) { in filt_sowrite_common()
7362 SOCK_DOM(so), so->so_type, in socket_unlock()
H A Dkern_control.c441 (so->so_type != SOCK_STREAM)) || in ctl_setup_kctl()
443 (so->so_type != SOCK_DGRAM))) { in ctl_setup_kctl()
H A Duipc_syscalls.c724 dgram = (so->so_type == SOCK_DGRAM); in connect_nocancel()
812 dgram = (so->so_type == SOCK_DGRAM); in connectx_nocancel()
3420 if (so->so_type != SOCK_STREAM) { in sendfile()
H A Dkpi_socket.c1174 *outType = sock->so_type; in sock_gettype()
/xnu-8020.140.41/bsd/dev/dtrace/scripts/
H A Dsocket.d64 type = T->so_type;
/xnu-8020.140.41/bsd/sys/
H A Dsocketvar.h132 short so_type; /* generic type, see socket.h */ member
431 short so_type; member
454 short so_type; member
489 short so_type; member
/xnu-8020.140.41/bsd/netinet/
H A Din_pcblist.c120 xso->so_type = so->so_type; in sotoxsocket_n()
H A Din_tclass.c1322 if (so->so_type == SOCK_STREAM) { in set_packet_service_class()
H A Dmptcp_usrreq.c1255 VERIFY(mp_so->so_type == SOCK_STREAM); in mptcp_usr_sosend()
H A Din_pcb.c1014 (so->so_type == SOCK_STREAM ? tcp_use_randomport : in in_pcbbind()
/xnu-8020.140.41/bsd/security/audit/
H A Daudit_arg.c598 so->so_type; in audit_arg_file()
617 so->so_type; in audit_arg_file()
H A Daudit_bsm_token.c850 au_to_socket_ex(u_short so_domain, u_short so_type, in au_to_socket_ex() argument
870 ADD_U_INT16(dptr, au_socket_type_to_bsm(so_type)); in au_to_socket_ex()
/xnu-8020.140.41/bsd/bsm/
H A Daudit_record.h311 token_t *au_to_socket_ex(u_short so_domain, u_short so_type,
/xnu-8020.140.41/bsd/netinet6/
H A Din6_src.c1589 (so->so_type == SOCK_STREAM ? tcp_use_randomport : in in6_pcbsetport()
/xnu-8020.140.41/bsd/nfs/
H A Dnfs_socket.c1626 int so_type = NM_OMFLAG(nmp, MNTUDP) ? SOCK_DGRAM : nso->nso_sotype; in nfs_connect() local
1628 NULL, RPCPROG_MNT, mntvers, so_type, timeo); in nfs_connect()