Lines Matching refs:inp_socket
580 win = ssb_space(&inp->inp_socket->so_rcv); in tcp_respond()
689 if (tp == NULL || (inp->inp_socket->so_options & SO_DEBUG)) in tcp_respond()
798 struct socket *so = tp->t_inpcb->inp_socket; in tcp_drop()
852 struct socket *so = inp->inp_socket; in tcp_close()
1052 if (inp_inh != NULL && inp_inh->inp_socket != NULL) { in tcp_close()
1058 soinherit(so, inp_inh->inp_socket); in tcp_close()
1291 if (inp->inp_socket) in tcp_pcblist()
1292 sotoxsocket(inp->inp_socket, &xt.xt_socket); in tcp_pcblist()
1347 if (inp == NULL || inp->inp_socket == NULL) { in tcp_getcred()
1349 } else if (inp->inp_socket->so_cred != NULL) { in tcp_getcred()
1350 cred0 = *(inp->inp_socket->so_cred); in tcp_getcred()
1383 if (inp == NULL || inp->inp_socket == NULL) { in tcp6_getcred()
1387 error = SYSCTL_OUT(req, inp->inp_socket->so_cred, sizeof(struct ucred)); in tcp6_getcred()
1505 if (inp != NULL && inp->inp_socket != NULL) { in tcp_ctlinput()
1788 struct socket *so = inp->inp_socket; in tcp_mtudisc()