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

/darwin-on-arm/xnu/bsd/kern/
H A Duipc_usrreq.c356 switch (so->so_type) {
438 switch (so->so_type) {
610 if (so->so_type == SOCK_STREAM && unp->unp_conn != 0) {
698 if (so->so_type == SOCK_STREAM)
775 switch (so->so_type) {
804 LIST_INSERT_HEAD(so->so_type == SOCK_DGRAM ?
1129 if (so->so_type != so2->so_type) {
1266 if (so2->so_type != so->so_type)
[all...]
H A Duipc_socket2.c293 head->so_type);
302 so->so_type = head->so_type;
1890 xso->so_type = so->so_type;
1921 xso->so_type = so->so_type;
H A Dsocket_info.c72 si->soi_type = so->so_type;
H A Dkern_control.c305 if (((kctl->flags & CTL_FLAG_REG_SOCK_STREAM) && (so->so_type != SOCK_STREAM)) ||
306 (!(kctl->flags & CTL_FLAG_REG_SOCK_STREAM) && (so->so_type != SOCK_DGRAM))) {
H A Duipc_socket.c574 so->so_type = type;
1432 (so->so_type == SOCK_STREAM && so_wait_for_if_feedback(so))) {
1535 if (so->so_type != SOCK_STREAM && (flags & MSG_OOB) != 0) {
1551 if (resid < 0 || (so->so_type == SOCK_STREAM && (flags & MSG_EOR))) {
3514 optval = so->so_type;
4259 so->so_type, so->so_proto->pr_protocol,
H A Dkpi_socket.c1052 *outType = sock->so_type;
H A Dsys_generic.c2165 if ((sp->so_type == SOCK_STREAM) && ((sp->so_error == ECONNREFUSED) || (sp->so_error == ECONNRESET))) {
2183 if ((sp->so_type == SOCK_STREAM) && ((sp->so_error == ECONNREFUSED) || (sp->so_error == ECONNRESET))) {
H A Duipc_syscalls.c608 dgram = (so->so_type == SOCK_DGRAM);
2111 if (so->so_type != SOCK_STREAM) {
/darwin-on-arm/xnu/bsd/sys/
H A Dsocketvar.h130 short so_type; /* generic type, see socket.h */ member in struct:socket
360 short so_type; member in struct:xsocket
384 short so_type; member in struct:xsocket64
418 short so_type; member in struct:xsocket_n
/darwin-on-arm/xnu/bsd/netinet/
H A Din_tclass.c910 if ((so->so_type == SOCK_RAW &&
917 if ((so->so_type == SOCK_RAW &&
930 if (so->so_type == SOCK_STREAM) {
964 if (so->so_type == SOCK_STREAM)
H A Dip_mroute.c562 log(LOG_DEBUG,"ip_mrouter_init: so_type = %d, pr_protocol = %d\n",
563 so->so_type, so->so_proto->pr_protocol);
565 if (so->so_type != SOCK_RAW ||
1932 printf("ip_rsvp_vif_init: so_type = %d, pr_protocol = %d\n",
1933 so->so_type, so->so_proto->pr_protocol);
1935 if (so->so_type != SOCK_RAW || so->so_proto->pr_protocol != IPPROTO_RSVP)
1974 printf("ip_rsvp_vif_done: so_type = %d, pr_protocol = %d\n",
1975 so->so_type, so->so_proto->pr_protocol);
1977 if (so->so_type != SOCK_RAW ||
2013 if (so->so_type !
[all...]
H A Din_pcblist.c111 xso->so_type = so->so_type;
H A Din.c1201 if (so->so_type == SOCK_DGRAM)
1203 else if (so->so_type == SOCK_STREAM)
H A Din_pcb.c576 (so->so_type == SOCK_STREAM ? tcp_use_randomport : udp_use_randomport);
H A Dip_input.c2809 if (so->so_type != SOCK_RAW ||
/darwin-on-arm/xnu/bsd/bsm/
H A Daudit_record.h253 token_t *au_to_socket_ex(u_short so_domain, u_short so_type,
/darwin-on-arm/xnu/bsd/security/audit/
H A Daudit_arg.c610 so->so_type;
630 so->so_type;
H A Daudit_bsm_token.c812 au_to_socket_ex(u_short so_domain, u_short so_type, argument
831 ADD_U_INT16(dptr, au_socket_type_to_bsm(so_type));
/darwin-on-arm/xnu/bsd/netinet6/
H A Dip6_mroute.c471 "ip6_mrouter_init: so_type = %d, pr_protocol = %d\n",
472 so->so_type, so->so_proto->pr_protocol);
475 if (so->so_type != SOCK_RAW ||

Completed in 125 milliseconds