/darwin-on-arm/xnu/bsd/net/ |
H A D | raw_usrreq.c | 186 if (so->so_proto->pr_getlock != NULL) 187 mutex_held = (*so->so_proto->pr_getlock)(so, 0); 189 mutex_held = so->so_proto->pr_domain->dom_mtx; 235 if (so->so_proto->pr_getlock != NULL) 236 mutex_held = (*so->so_proto->pr_getlock)(so, 0); 238 mutex_held = so->so_proto->pr_domain->dom_mtx; 289 if (so->so_proto->pr_getlock != NULL) 290 mutex_held = (*so->so_proto->pr_getlock)(so, 0); 292 mutex_held = so->so_proto->pr_domain->dom_mtx; 305 if (so->so_proto [all...] |
H A D | raw_cb.c | 109 rp->rcb_proto.sp_family = so->so_proto->pr_domain->dom_family;
|
H A D | ndrv.c | 197 lck_mtx_assert(so->so_proto->pr_domain->dom_mtx, LCK_MTX_ASSERT_NOTOWNED); 198 lck_mtx_lock(so->so_proto->pr_domain->dom_mtx); 203 lck_mtx_unlock(so->so_proto->pr_domain->dom_mtx); 237 np->nd_proto.sp_family = so->so_proto->pr_domain->dom_family; 409 lck_mtx_assert(so->so_proto->pr_domain->dom_mtx, LCK_MTX_ASSERT_OWNED); 873 lck_mtx_assert(so->so_proto->pr_domain->dom_mtx, LCK_MTX_ASSERT_OWNED);
|
H A D | if.c | 1514 if (so->so_proto == NULL) { 1685 error = ifnet_ioctl(ifp, so->so_proto->pr_domain->dom_family, 1697 error = ifnet_ioctl(ifp, so->so_proto->pr_domain->dom_family, 1706 error = ifnet_ioctl(ifp, so->so_proto->pr_domain->dom_family, 1861 if (so->so_proto == NULL) { 1867 error = ((*so->so_proto->pr_usrreqs->pru_control)(so, cmd, 1873 so->so_proto->pr_domain->dom_family, cmd, data); 1991 (void) ifnet_ioctl(ifp, so->so_proto->pr_domain->dom_family, 2023 error = ifnet_ioctl(ifp, so->so_proto->pr_domain->dom_family, 2063 error = ifnet_ioctl(ifp, so->so_proto [all...] |
H A D | kext_net.c | 207 (*kp->e_soif->sf_socreate)(so, so->so_proto, kp);
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | socket_info.c | 77 if (so->so_proto) { 78 si->soi_protocol = so->so_proto->pr_protocol; 79 if (so->so_proto->pr_domain) 80 si->soi_family = so->so_proto->pr_domain->dom_family; 110 if (so->so_pcb == 0 || so->so_proto == 0 || so->so_proto->pr_domain == 0) 114 family = so->so_proto->pr_domain->dom_family; 115 type = so->so_proto->pr_type; 116 protocol = so->so_proto->pr_protocol; 203 if (so->so_proto [all...] |
H A D | kpi_socket.c | 95 if (sock->so_proto->pr_getlock != NULL) { 96 mutex_held = (*sock->so_proto->pr_getlock)(sock, 0); 100 mutex_held = sock->so_proto->pr_domain->dom_mtx; 147 lck_mtx_assert(new_so->so_proto->pr_getlock(new_so, 0), 260 if (sock->so_proto->pr_getlock != NULL) 261 mutex_held = (*sock->so_proto->pr_getlock)(sock, 0); 263 mutex_held = sock->so_proto->pr_domain->dom_mtx; 329 if (sock->so_proto->pr_getlock != NULL) 330 mutex_held = (*sock->so_proto->pr_getlock)(sock, 0); 332 mutex_held = sock->so_proto [all...] |
H A D | uipc_socket2.c | 186 if (head->so_proto->pr_getlock != NULL) { 196 if (head->so_proto->pr_getlock != NULL) { 263 if (head->so_proto->pr_getlock != NULL) 264 mutex_held = (*head->so_proto->pr_getlock)(head, 0); 266 mutex_held = head->so_proto->pr_domain->dom_mtx; 292 so = soalloc(1, head->so_proto->pr_domain->dom_family, 297 if (head->so_proto == NULL) { 306 so->so_proto = head->so_proto; 354 if (head->so_proto [all...] |
H A D | uipc_socket.c | 582 so->so_proto = prp; 697 error = (*so->so_proto->pr_usrreqs->pru_bind)(so, nam, p); 757 if (so->so_proto == NULL) { 761 if ((so->so_proto->pr_flags & PR_CONNREQUIRED) == 0) { 791 error = (*so->so_proto->pr_usrreqs->pru_listen)(so, p); 889 if (so->so_proto->pr_getlock != NULL) 890 mutex_held = (*so->so_proto->pr_getlock)(so, 0); 892 mutex_held = so->so_proto->pr_domain->dom_mtx; 950 if (so->so_proto->pr_getlock != NULL) { 979 if (so->so_proto [all...] |
H A D | sys_socket.c | 141 fsoreceive = so->so_proto->pr_usrreqs->pru_soreceive; 175 fsosend = so->so_proto->pr_usrreqs->pru_sosend; 306 error = (*so->so_proto->pr_usrreqs->pru_control)(so, cmd, 326 error = (*so->so_proto->pr_usrreqs->pru_control)(so, 464 ret = (*so->so_proto->pr_usrreqs->pru_sense)(so, ub, isstat64);
|
H A D | uipc_syscalls.c | 376 if (head->so_proto->pr_getlock != NULL) { 377 mutex_held = (*head->so_proto->pr_getlock)(head, 0); 380 mutex_held = head->so_proto->pr_domain->dom_mtx; 385 if ((head->so_proto->pr_flags & PR_CONNREQUIRED) == 0) { 651 if (so->so_proto->pr_getlock != NULL) 652 mutex_held = (*so->so_proto->pr_getlock)(so, 0); 654 mutex_held = so->so_proto->pr_domain->dom_mtx; 871 error = so->so_proto->pr_usrreqs->pru_sosend(so, to, uiop, 0, control, 1160 error = so->so_proto->pr_usrreqs->pru_soreceive(so, &fromsa, uiop, 1726 error = (*so->so_proto [all...] |
H A D | uipc_usrreq.c | 1134 if (so->so_proto->pr_flags & PR_CONNREQUIRED) { 2071 if (so->so_proto->pr_domain != &localdomain || 2072 (so->so_proto->pr_flags&PR_RIGHTS) == 0) { 2387 return (so->so_proto->pr_domain->dom_mtx);
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | raw_ip6.c | 372 if ((error = ip6_setpktopts(control, &opt, NULL, so->so_proto->pr_protocol)) != 0) 382 if (so->so_proto->pr_protocol == IPPROTO_ICMPV6) { 505 if (so->so_proto->pr_protocol == IPPROTO_ICMPV6 || 512 if (so->so_proto->pr_protocol == IPPROTO_ICMPV6) 592 if (so->so_proto->pr_protocol == IPPROTO_ICMPV6) {
|
H A D | in6_mcast.c | 1789 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT || 1790 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && 1791 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) { 2830 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT || 2831 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && 2832 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM))
|
H A D | ip6_output.c | 1861 uproto = (int)so->so_proto->pr_protocol; 2568 } else if (so->so_proto->pr_protocol == 2577 if (so->so_proto->pr_protocol == IPPROTO_ICMPV6) 2640 if ((error = ip6_setpktopts(m, opt, NULL, so->so_proto->pr_protocol)) != 0) {
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | in_pcblist.c | 116 if (so->so_proto) { 117 xso->xso_protocol = so->so_proto->pr_protocol; 118 xso->xso_family = so->so_proto->pr_domain->dom_family;
|
H A D | in_pcb.h | 632 #define INP_SOCKAF(so) so->so_proto->pr_domain->dom_family 633 #define INP_SOCKTYPE(so) so->so_proto->pr_type
|
H A D | ip_mroute.c | 563 so->so_type, so->so_proto->pr_protocol); 566 so->so_proto->pr_protocol != IPPROTO_IGMP) return EOPNOTSUPP; 1933 so->so_type, so->so_proto->pr_protocol); 1935 if (so->so_type != SOCK_RAW || so->so_proto->pr_protocol != IPPROTO_RSVP) 1975 so->so_type, so->so_proto->pr_protocol); 1978 so->so_proto->pr_protocol != IPPROTO_RSVP) 2013 if (so->so_type != SOCK_RAW || so->so_proto->pr_protocol != IPPROTO_RSVP)
|
H A D | in_pcb.c | 315 if (so->so_proto->pr_flags & PR_PCBLOCK) { 987 inp, so, so->so_proto->pr_protocol); 998 panic("in_pcbdetach so=%p prot=%x couldn't set to STOPUSING\n", so, so->so_proto->pr_protocol); 1051 if (so->so_proto->pr_flags & PR_PCBLOCK) { 2181 if (so->so_proto->pr_type == SOCK_STREAM)
|
H A D | in_mcast.c | 1857 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT || 1858 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && 1859 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) { 2885 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT || 2886 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && 2887 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM))
|
H A D | in_tclass.c | 296 if (so->so_proto->pr_domain->dom_family != AF_INET && 297 so->so_proto->pr_domain->dom_family != AF_INET6)
|
H A D | raw_ip.c | 949 lck_mtx_unlock(so->so_proto->pr_domain->dom_mtx); 966 lck_mtx_unlock(so->so_proto->pr_domain->dom_mtx);
|
H A D | ip_divert.c | 749 return (so->so_proto->pr_domain->dom_mtx);
|
/darwin-on-arm/xnu/bsd/netat/ |
H A D | aurp_aurpd.c | 340 error = (*so->so_proto->pr_usrreqs->pru_bind)(so, (struct sockaddr *) &sin, p);
|
/darwin-on-arm/xnu/bsd/security/audit/ |
H A D | audit_arg.c | 614 so->so_proto->pr_protocol; 634 so->so_proto->pr_protocol;
|