Lines Matching refs:inp_socket
165 struct socket *so = inp->inp_socket; in in6_pcblookup_local_and_cleanup()
190 struct socket *__single so = inp->inp_socket; in in6_pcbbind()
406 !(t->inp_socket->so_options & SO_REUSEPORT)) && in in6_pcbbind()
407 (u != kauth_cred_getuid(t->inp_socket->so_cred)) && in in6_pcbbind()
408 !(t->inp_socket->so_flags & SOF_REUSESHAREUID) && in in6_pcbbind()
426 !(t->inp_socket->so_options & SO_REUSEPORT) && in in6_pcbbind()
428 kauth_cred_getuid(t->inp_socket->so_cred)) && in in6_pcbbind()
430 SOCK_DOM(so) == SOCK_DOM(t->inp_socket)) && in in6_pcbbind()
463 (reuseport & t->inp_socket->so_options) == 0 && in in6_pcbbind()
483 t->inp_socket->so_options) == 0 && in in6_pcbbind()
485 SOCK_DOM(so) == SOCK_DOM(t->inp_socket)) && in in6_pcbbind()
699 soevent(inp->inp_socket, in in6_pcbladdr()
732 struct socket *so = inp->inp_socket; in in6_pcbconnect()
830 struct socket *__single so = inp->inp_socket; in in6_pcbdisconnect()
866 struct socket *__single so = inp->inp_socket; in in6_pcbdetach()
1186 socket_lock(inp->inp_socket, 1); in in6_pcbnotify()
1189 socket_unlock(inp->inp_socket, 1); in in6_pcbnotify()
1201 inp->inp_socket != NULL && in in6_pcbnotify()
1206 inp->inp_fifscope, sa6_dst->sin6_scope_id) || inp->inp_socket == NULL || in in6_pcbnotify()
1219 socket_lock(inp->inp_socket, 1); in in6_pcbnotify()
1222 socket_unlock(inp->inp_socket, 1); in in6_pcbnotify()
1413 if ((found = (inp->inp_socket != NULL))) { in in6_pcblookup_hash_exists()
1418 inp->inp_socket->so_cred); in in6_pcblookup_hash_exists()
1420 inp->inp_socket->so_cred); in in6_pcblookup_hash_exists()
1451 found = (inp->inp_socket != NULL); in in6_pcblookup_hash_exists()
1454 inp->inp_socket->so_cred); in in6_pcblookup_hash_exists()
1456 inp->inp_socket->so_cred); in in6_pcblookup_hash_exists()
1467 if ((found = (local_wild->inp_socket != NULL))) { in in6_pcblookup_hash_exists()
1469 local_wild->inp_socket->so_cred); in in6_pcblookup_hash_exists()
1471 local_wild->inp_socket->so_cred); in in6_pcblookup_hash_exists()
1674 socket_lock_assert_owned(inp->inp_socket); in in6p_route_copyout()
1689 socket_lock_assert_owned(inp->inp_socket); in in6p_route_copyin()