Lines Matching refs:inp_socket

286 	inp->inp_socket = so;  in in_pcballoc()
538 if (t && t->inp_socket != so && in in_pcbbind_laddrport_check()
539 (so->so_cred->cr_uid != t->inp_socket->so_cred->cr_uid)) in in_pcbbind_laddrport_check()
553 if (t && t->inp_socket != so && in in_pcbbind_laddrport_check()
554 (reuseport & t->inp_socket->so_options) == 0 && in in_pcbbind_laddrport_check()
555 (t->inp_socket->so_state & SS_ACCEPTMECH) == 0) in in_pcbbind_laddrport_check()
565 const struct socket *so = inp->inp_socket; in in_pcbsrcaddr_check()
630 const struct socket *so = inp->inp_socket; in in_pcbbind()
764 if (inp->inp_socket && inp->inp_socket->so_cred) in in_pcblookup_localremote()
765 pscan = inp->inp_socket->so_cred->cr_prison; in in_pcblookup_localremote()
1021 inp->inp_socket->so_options & SO_DONTROUTE)) { in in_pcbladdr_find()
1033 if (!(inp->inp_socket->so_options & SO_DONTROUTE) && /*XXX*/ in in_pcbladdr_find()
1212 struct socket *so = inp->inp_socket; in in_pcbdetach()
1327 inp->inp_socket == NULL) in in_pcbnotifyall()
1528 if (inp->inp_socket && inp->inp_socket->so_cred) in in_pcblookup_local()
1529 pscan = inp->inp_socket->so_cred->cr_prison; in in_pcblookup_local()
1660 if (inp->inp_socket == NULL) in inp_localgroup_lookup()
1662 cred = inp->inp_socket->so_cred; in inp_localgroup_lookup()
1733 if (inp->inp_socket == NULL || in in_pcblookup_pkthash()
1734 inp->inp_socket->so_cred->cr_prison == NULL) { in in_pcblookup_pkthash()
1817 if (inp->inp_socket) { in in_pcblookup_pkthash()
1818 cred = inp->inp_socket->so_cred; in in_pcblookup_pkthash()
2087 if (inp->inp_socket && inp->inp_socket->so_cred) in in_pcbinslocalgrphash_oncpu()
2088 isjailed = jailed(inp->inp_socket->so_cred); in in_pcbinslocalgrphash_oncpu()
2401 if (inp->inp_socket && inp->inp_socket->so_cred && in prison_xinpcb()
2402 inp->inp_socket->so_cred->cr_prison && in prison_xinpcb()
2403 cr->cr_prison == inp->inp_socket->so_cred->cr_prison) in prison_xinpcb()
2470 if (inp->inp_socket) in in_pcblist_range()
2471 sotoxsocket(inp->inp_socket, &xi.xi_socket); in in_pcblist_range()