Lines Matching refs:inp_socket

163 		struct socket *so = inp->inp_socket;  in in6_pcblookup_local_and_cleanup()
188 struct socket *so = inp->inp_socket; in in6_pcbbind()
388 !(t->inp_socket->so_options & SO_REUSEPORT)) && in in6_pcbbind()
389 (u != kauth_cred_getuid(t->inp_socket->so_cred)) && in in6_pcbbind()
390 !(t->inp_socket->so_flags & SOF_REUSESHAREUID) && in in6_pcbbind()
407 !(t->inp_socket->so_options & SO_REUSEPORT) && in in6_pcbbind()
409 kauth_cred_getuid(t->inp_socket->so_cred)) && in in6_pcbbind()
411 SOCK_DOM(so) == SOCK_DOM(t->inp_socket)) && in in6_pcbbind()
442 (reuseport & t->inp_socket->so_options) == 0 && in in6_pcbbind()
461 t->inp_socket->so_options) == 0 && in in6_pcbbind()
463 SOCK_DOM(so) == SOCK_DOM(t->inp_socket)) && in in6_pcbbind()
668 soevent(inp->inp_socket, in in6_pcbladdr()
701 struct socket *so = inp->inp_socket; in in6_pcbconnect()
799 struct socket *so = inp->inp_socket; in in6_pcbdisconnect()
835 struct socket *so = inp->inp_socket; in in6_pcbdetach()
1146 socket_lock(inp->inp_socket, 1); in in6_pcbnotify()
1149 socket_unlock(inp->inp_socket, 1); in in6_pcbnotify()
1161 inp->inp_socket != NULL && in in6_pcbnotify()
1166 inp->inp_fifscope, sa6_dst->sin6_scope_id) || inp->inp_socket == NULL || in in6_pcbnotify()
1179 socket_lock(inp->inp_socket, 1); in in6_pcbnotify()
1182 socket_unlock(inp->inp_socket, 1); in in6_pcbnotify()
1372 if ((found = (inp->inp_socket != NULL))) { in in6_pcblookup_hash_exists()
1377 inp->inp_socket->so_cred); in in6_pcblookup_hash_exists()
1379 inp->inp_socket->so_cred); in in6_pcblookup_hash_exists()
1410 found = (inp->inp_socket != NULL); in in6_pcblookup_hash_exists()
1413 inp->inp_socket->so_cred); in in6_pcblookup_hash_exists()
1415 inp->inp_socket->so_cred); in in6_pcblookup_hash_exists()
1426 if ((found = (local_wild->inp_socket != NULL))) { in in6_pcblookup_hash_exists()
1428 local_wild->inp_socket->so_cred); in in6_pcblookup_hash_exists()
1430 local_wild->inp_socket->so_cred); in in6_pcblookup_hash_exists()
1606 socket_lock_assert_owned(inp->inp_socket); in in6p_route_copyout()
1621 socket_lock_assert_owned(inp->inp_socket); in in6p_route_copyin()