Lines Matching refs:inp_socket
369 INP_CHECK_SOCKAF(inp->inp_socket, AF_INET6)) { in in_pcbinslbgrouphash()
610 inp->inp_socket = so; in in_pcballoc()
879 struct socket *so = inp->inp_socket; in in_pcbbind_setup()
973 (t->inp_socket->so_options & SO_REUSEPORT) || in in_pcbbind_setup()
974 (t->inp_socket->so_options & SO_REUSEPORT_LB) == 0) && in in_pcbbind_setup()
981 if (t != NULL && (reuseport & t->inp_socket->so_options) == 0 && in in_pcbbind_setup()
982 (reuseport_lb & t->inp_socket->so_options) == 0) { in in_pcbbind_setup()
1100 if ((inp->inp_socket->so_options & SO_DONTROUTE) == 0) in in_pcbladdr()
1117 inp->inp_socket->so_fibnum)); in in_pcbladdr()
1120 inp->inp_socket->so_fibnum)); in in_pcbladdr()
1222 inp->inp_socket->so_fibnum)); in in_pcbladdr()
1225 inp->inp_socket->so_fibnum)); in in_pcbladdr()
1316 inp->inp_socket->so_proto->pr_protocol, &hash_type); in in_pcbconnect_setup()
1673 MPASS(inp->inp_socket == NULL); in in_pcbrele_rlocked()
1693 MPASS(inp->inp_socket == NULL); in in_pcbrele_wlocked()
1732 KASSERT(inp->inp_socket != NULL, ("%s: inp_socket == NULL", __func__)); in in_pcbfree()
1754 inp->inp_socket->so_pcb = NULL; in in_pcbfree()
1755 inp->inp_socket = NULL; in in_pcbfree()
1821 if (inp->inp_socket != NULL && inp->inp_ppcb != NULL) in in_pcbdrop()
1903 inp->inp_socket == NULL) { in in_pcbnotifyall()
2645 if ((inp->inp_socket->so_options & SO_REUSEPORT_LB) != 0) { in in_pcbinshash()
2890 return (inp->inp_socket); in inp_inpcbtosocket()
2948 if (inp->inp_socket) in in_pcbtoxinpcb()
2949 sotoxsocket(inp->inp_socket, &xi->xi_socket); in in_pcbtoxinpcb()
3031 so = inp->inp_socket; in sysctl_setsockopt()
3239 inp->inp_ppcb, inp->inp_pcbinfo, inp->inp_socket); in db_print_inpcb()
3508 socket = inp->inp_socket; in in_pcboutput_txrtlmt()