Home
last modified time | relevance | path

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

/xnu-12377.81.4/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_namespace.c55 int so_type = 0; in flow_namespace_create() local
77 so_type = SOCK_DGRAM; in flow_namespace_create()
81 so_type = SOCK_STREAM; in flow_namespace_create()
/xnu-12377.81.4/bsd/kern/
H A Duipc_usrreq.c435 switch (so->so_type) { in uipc_rcvd()
533 switch (so->so_type) { in uipc_send()
737 if (so->so_type == SOCK_STREAM && unp->unp_conn != 0) { in uipc_sense()
844 if (so->so_type == SOCK_STREAM) { in uipc_ctloutput()
990 switch (so->so_type) { in unp_attach()
1022 LIST_INSERT_HEAD(so->so_type == SOCK_DGRAM ? in unp_attach()
1395 if (so->so_type != so2->so_type) { in unp_connect()
1526 if (so2->so_type != so->so_type) { in unp_connect2()
1543 switch (so->so_type) { in unp_connect2()
1595 panic("unknown socket type %d in unp_connect2", so->so_type); in unp_connect2()
[all …]
H A Duipc_socket2.c372 so->so_type = head->so_type; in sonewconn_internal()
2410 so->so_type == SOCK_STREAM) { in sowriteable()
2812 xso->so_type = so->so_type; in sotoxsocket()
2843 xso->so_type = so->so_type; in sotoxsocket64()
H A Dsocket_info.c77 si->soi_type = so->so_type; in fill_common_sockinfo()
H A Dvsock_domain.c522 if (pcb->so->so_type != SOCK_STREAM) { in vsock_sockaddr_vm_validate()
1140 if (so->so_type != SOCK_STREAM) { in vsock_listen()
1575 SOCK_DOM(so), so->so_type, in vsock_unlock()
H A Duipc_socket.c556 so->so_type = (short)type; in socreate_internal()
1947 (so->so_type == SOCK_STREAM && so_wait_for_if_feedback(so))) { in sosendcheck()
2101 if (so->so_type != SOCK_STREAM && (flags & MSG_OOB) != 0) { in sosend()
2119 (so->so_type == SOCK_STREAM && (flags & MSG_EOR))) { in sosend()
2610 if (so->so_type != SOCK_DGRAM) { in sosend_list()
5903 optval = so->so_type; in sogetoptlock()
6799 so->so_type == SOCK_STREAM) { in filt_sowrite_common()
7288 SOCK_DOM(so), so->so_type, in socket_unlock()
H A Duipc_syscalls.c788 dgram = (so->so_type == SOCK_DGRAM); in connect_nocancel()
876 dgram = (so->so_type == SOCK_DGRAM); in connectx_nocancel()
1900 if (so->so_type == SOCK_DGRAM && sosendallatonce(so) && in sendmsg_x()
3766 if (so->so_type != SOCK_STREAM) { in sendfile()
H A Dkern_control.c456 (so->so_type != SOCK_STREAM)) || in ctl_setup_kctl()
458 (so->so_type != SOCK_DGRAM))) { in ctl_setup_kctl()
H A Dkpi_socket.c1233 *outType = sock->so_type; in sock_gettype()
/xnu-12377.81.4/bsd/dev/dtrace/scripts/
H A Dsocket.d64 type = T->so_type;
/xnu-12377.81.4/bsd/sys/
H A Dsocketvar.h133 short so_type; /* generic type, see socket.h */ member
443 short so_type; member
466 short so_type; member
502 short so_type; member
710 #define SOCK_TYPE(so) ((so)->so_type)
/xnu-12377.81.4/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-12377.81.4/bsd/bsm/
H A Daudit_record.h311 token_t *au_to_socket_ex(u_short so_domain, u_short so_type,
/xnu-12377.81.4/bsd/netinet/
H A Din_pcblist.c122 xso->so_type = so->so_type; in sotoxsocket_n()
H A Din_tclass.c1278 if (so->so_type == SOCK_STREAM) { in set_packet_service_class()
H A Dmptcp_usrreq.c1262 VERIFY(mp_so->so_type == SOCK_STREAM); in mptcp_usr_sosend()
H A Din_pcb.c1115 (so->so_type == SOCK_STREAM ? tcp_use_randomport : in in_pcbbind()
4547 (so->so_type == SOCK_STREAM ? tcp_use_randomport : in in_pcbsetport()
/xnu-12377.81.4/bsd/netinet6/
H A Din6_src.c1687 (so->so_type == SOCK_STREAM ? tcp_use_randomport : in in6_pcbsetport()