Searched refs:inp_socket (Results 1 - 25 of 34) sorted by relevance

12

/freebsd-10-stable/sys/netinet/
H A Dtcp_timer.c313 tp->t_inpcb && tp->t_inpcb->inp_socket &&
314 (tp->t_inpcb->inp_socket->so_rcv.sb_state & SBS_CANTRCVMORE)) {
328 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG))
380 inp->inp_socket->so_options & SO_KEEPALIVE) &&
414 if (inp->inp_socket->so_options & SO_DEBUG)
428 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG))
507 if (tp != NULL && tp->t_inpcb->inp_socket->so_options & SO_DEBUG)
761 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG))
H A Dudp_usrreq.c337 inp->inp_socket->so_options & (SO_TIMESTAMP | SO_BINTIME)) {
357 so = inp->inp_socket;
586 if ((last->inp_socket->so_options &
718 inp->inp_socket->so_error = errno;
719 sorwakeup(inp->inp_socket);
720 sowwakeup(inp->inp_socket);
760 if (inp->inp_socket != NULL) {
856 if (inp->inp_socket)
857 sotoxsocket(inp->inp_socket, &xi.xi_socket);
915 if (inp->inp_socket
[all...]
H A Din_pcb.c286 inp->inp_socket = so;
511 struct socket *so = inp->inp_socket;
741 if ((inp->inp_socket->so_options & SO_DONTROUTE) == 0)
1078 KASSERT(inp->inp_socket != NULL, ("%s: inp_socket == NULL", __func__));
1080 inp->inp_socket->so_pcb = NULL;
1081 inp->inp_socket = NULL;
1145 KASSERT(inp->inp_socket == NULL, ("%s: inp_socket != NULL", __func__));
1174 KASSERT(inp->inp_socket
[all...]
H A Dtcp_subr.c591 win = sbspace(&inp->inp_socket->so_rcv);
817 if (tp == NULL || (inp->inp_socket->so_options & SO_DEBUG))
1005 struct socket *so = tp->t_inpcb->inp_socket;
1026 struct socket *so = inp->inp_socket;
1229 KASSERT(inp->inp_socket != NULL, ("tcp_close: inp_socket NULL"));
1230 so = inp->inp_socket;
1439 if (inp->inp_socket != NULL)
1440 sotoxsocket(inp->inp_socket, &xt.xt_socket);
1501 if (inp->inp_socket
[all...]
H A Dip_divert.c282 sa = inp->inp_socket;
693 if (inp->inp_socket)
694 sotoxsocket(inp->inp_socket, &xi.xi_socket);
H A Dtcp_usrreq.c173 KASSERT(inp->inp_socket == so, ("tcp_detach: inp_socket != so"));
272 KASSERT(inp->inp_socket != NULL,
273 ("tcp_usr_detach: inp_socket == NULL"));
1031 KASSERT(inp->inp_socket != NULL,
1032 ("tcp_usr_abort: inp_socket == NULL"));
1069 KASSERT(inp->inp_socket != NULL,
1070 ("tcp_usr_close: inp_socket == NULL"));
1194 struct socket *so = inp->inp_socket;
1255 struct socket *so = inp->inp_socket;
[all...]
H A Dsiftr.c790 pn->snd_buf_hiwater = inp->inp_socket->so_snd.sb_hiwat;
791 pn->snd_buf_cc = inp->inp_socket->so_snd.sb_cc;
792 pn->rcv_buf_hiwater = inp->inp_socket->so_rcv.sb_hiwat;
793 pn->rcv_buf_cc = inp->inp_socket->so_rcv.sb_cc;
H A Dtcp_timewait.c332 so = inp->inp_socket;
514 so = inp->inp_socket;
H A Dsctp_lock_bsd.h470 #define SCTP_INP_SO(sctpinp) (sctpinp)->ip_inp.inp.inp_socket
H A Dtcp_reass.c166 struct socket *so = tp->t_inpcb->inp_socket;
H A Draw_ip.c249 so = last->inp_socket;
1076 if (inp->inp_socket)
1077 sotoxsocket(inp->inp_socket, &xi.xi_socket);
H A Din_mcast.c1731 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT ||
1732 (inp->inp_socket->so_proto->pr_type != SOCK_RAW &&
1733 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) {
2654 * SMPng: XXX: Unlocked read of inp_socket believed OK.
2670 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT ||
2671 (inp->inp_socket->so_proto->pr_type != SOCK_RAW &&
2672 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM))
H A Dip_input.c1580 if (inp->inp_socket->so_options & (SO_BINTIME | SO_TIMESTAMP)) {
1584 if (inp->inp_socket->so_options & SO_BINTIME) {
1590 if (inp->inp_socket->so_options & SO_TIMESTAMP) {
H A Dtcp_input.c894 ((inp->inp_socket == NULL) ||
895 (inp->inp_socket->so_options & SO_ACCEPTCONN) == 0)) {
1033 so = inp->inp_socket;
3252 if (tp == NULL || (tp->t_inpcb->inp_socket->so_options & SO_DEBUG))
3761 so = inp->inp_socket;
H A Din_pcb.h168 * netinet/netinet6-layer code should not assume that the inp_socket pointer
189 struct socket *inp_socket; /* (i) back pointer to socket */ member in struct:inpcb
/freebsd-10-stable/sys/netinet6/
H A Draw_ip6.c278 last->inp_socket->so_options & SO_TIMESTAMP)
282 if (sbappendaddr(&last->inp_socket->so_rcv,
290 sorwakeup(last->inp_socket);
312 last->inp_socket->so_options & SO_TIMESTAMP)
316 if (sbappendaddr(&last->inp_socket->so_rcv,
323 sorwakeup(last->inp_socket);
H A Dudp6_usrreq.c171 inp->inp_socket->so_options & SO_TIMESTAMP)
175 so = inp->inp_socket;
387 if ((last->inp_socket->so_options &
604 if (inp->inp_socket == NULL)
608 inp->inp_socket);
795 nxt = (inp->inp_socket->so_proto->pr_protocol == IPPROTO_UDP) ?
H A Dicmp6.c2060 SOCKBUF_LOCK(&last->inp_socket->so_rcv);
2062 &last->inp_socket->so_rcv,
2071 &last->inp_socket->so_rcv);
2073 sorwakeup_locked(last->inp_socket);
2106 SOCKBUF_LOCK(&last->inp_socket->so_rcv);
2107 if (sbappendaddr_locked(&last->inp_socket->so_rcv,
2112 SOCKBUF_UNLOCK(&last->inp_socket->so_rcv);
2114 sorwakeup_locked(last->inp_socket);
H A Din6_pcb.c113 struct socket *so = inp->inp_socket;
641 inp->inp_socket != NULL &&
647 inp->inp_socket == 0 ||
H A Din6_mcast.c1702 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT ||
1703 (inp->inp_socket->so_proto->pr_type != SOCK_RAW &&
1704 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) {
2554 * SMPng: XXX: Unlocked read of inp_socket believed OK.
2568 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT ||
2569 (inp->inp_socket->so_proto->pr_type != SOCK_RAW &&
2570 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM))
/freebsd-10-stable/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c231 struct socket *so = inp->inp_socket;
297 struct socket *so = inp->inp_socket;
383 struct socket *so = inp->inp_socket;
599 struct socket *so = inp->inp_socket;
1121 so = inp->inp_socket;
1203 so = inp->inp_socket;
1334 struct socket *so = inp->inp_socket;
1659 so = inp->inp_socket;
H A Dt4_listen.c223 lctx->vnet = inp->inp_socket->so_vnet;
1380 so = inp->inp_socket;
1615 so = inp->inp_socket;
/freebsd-10-stable/sys/dev/cxgb/ulp/tom/
H A Dcxgb_cpl_io.c590 struct socket *so = inp->inp_socket;
656 struct socket *so = inp->inp_socket;
1056 struct socket *so = inp->inp_socket;
1163 so = inp->inp_socket;
1494 so = inp->inp_socket;
1681 so = inp->inp_socket;
1717 so = inp->inp_socket;
/freebsd-10-stable/usr.bin/systat/
H A Dnetstat.c225 KREAD(inpcb.inp_socket, &sockb,
/freebsd-10-stable/sys/netpfil/ipfw/
H A Dip_fw2.c693 if (inp->inp_socket != NULL) {
1998 inp->inp_socket->so_user_cookie;
2004 if (inp->inp_socket) {
2006 inp->inp_socket->so_user_cookie;

Completed in 179 milliseconds

12