Lines Matching refs:inp

7204 	struct inpcb *inp = tptoinpcb(tp);  in rack_start_hpts_timer()  local
7341 if ((V_tcp_always_keepalive || inp->inp_socket->so_options & SO_KEEPALIVE) && in rack_start_hpts_timer()
8162 struct inpcb *inp = tptoinpcb(tp); in rack_timeout_keepalive() local
8173 if ((V_tcp_always_keepalive || inp->inp_socket->so_options & SO_KEEPALIVE) && in rack_timeout_keepalive()
8352 struct inpcb *inp = tptoinpcb(tp); in rack_timeout_rxt() local
8500 isipv6 = (inp->inp_vflag & INP_IPV6) ? true : false; in rack_timeout_rxt()
8618 if ((inp->inp_vflag & INP_IPV6) != 0) in rack_timeout_rxt()
8619 in6_losing(inp); in rack_timeout_rxt()
8622 in_losing(inp); in rack_timeout_rxt()
15907 struct inpcb *inp = tptoinpcb(tp); in rack_init() local
15947 rack->rc_inp = inp; in rack_init()
15949 rack->r_is_v6 = (inp->inp_vflag & INP_IPV6) != 0; in rack_init()
16730 struct inpcb *inp = tptoinpcb(tp); in rack_log_input_packet() local
16819 th->th_sport = inp->inp_fport; in rack_log_input_packet()
16820 th->th_dport = inp->inp_lport; in rack_log_input_packet()
17772 struct inpcb *inp = tptoinpcb(tp); in rack_do_segment_nounlock() local
17799 INP_WLOCK_ASSERT(inp); in rack_do_segment_nounlock()
18166 rack->rc_inp = inp; in rack_do_segment_nounlock()
18211 if ((inp->inp_vflag & INP_IPV6) != 0) in rack_do_segment_nounlock()
18284 INP_WLOCK_ASSERT(inp); in rack_do_segment_nounlock()
20034 struct inpcb *inp; in rack_fast_rsm_output() local
20074 inp = rack->rc_inp; in rack_fast_rsm_output()
20442 error = ip6_output(m, inp->in6p_outputopts, in rack_fast_rsm_output()
20443 &inp->inp_route6, in rack_fast_rsm_output()
20444 ip_sendflag, NULL, NULL, inp); in rack_fast_rsm_output()
20451 &inp->inp_route, in rack_fast_rsm_output()
20452 ip_sendflag, 0, inp); in rack_fast_rsm_output()
20625 struct inpcb *inp; in rack_fast_output() local
20664 inp = rack->rc_inp; in rack_fast_output()
20974 error = ip6_output(m, inp->in6p_outputopts, in rack_fast_output()
20975 &inp->inp_route6, in rack_fast_output()
20976 0, NULL, NULL, inp); in rack_fast_output()
20985 &inp->inp_route, in rack_fast_output()
20986 0, 0, inp); in rack_fast_output()
21309 struct inpcb *inp = tptoinpcb(tp); in rack_output() local
21322 INP_WLOCK_ASSERT(inp); in rack_output()
21489 inp = rack->rc_inp; in rack_output()
21490 so = inp->inp_socket; in rack_output()
21495 inp = rack->rc_inp; in rack_output()
21507 so = inp->inp_socket; in rack_output()
21672 so = inp->inp_socket; in rack_output()
21684 SOCKBUF_LOCK(&inp->inp_socket->so_snd); in rack_output()
21685 so = inp->inp_socket; in rack_output()
21804 so = inp->inp_socket; in rack_output()
21818 so = inp->inp_socket; in rack_output()
21869 so = inp->inp_socket; in rack_output()
21902 so = inp->inp_socket; in rack_output()
22311 ipsec_optlen = IPSEC_HDRSIZE(ipv6, inp); in rack_output()
22318 ipsec_optlen = IPSEC_HDRSIZE(ipv4, inp); in rack_output()
22862 to.to_mss = tcp_mssopt(&inp->inp_inc); in rack_output()
22996 ipoptlen = ip6_optlen(inp); in rack_output()
22999 if (inp->inp_options) in rack_output()
23000 ipoptlen = inp->inp_options->m_len - in rack_output()
23295 mac_inpcb_create_mbuf(inp, m); in rack_output()
23330 tcpip_fillheaders(inp, tp->t_port, ip6, th); in rack_output()
23345 tcpip_fillheaders(inp, tp->t_port, ip, th); in rack_output()
23648 rack->r_ctl.fsb.hoplimit = ip6->ip6_hlim = in6_selecthlim(inp, NULL); in rack_output()
23668 inp->in6p_outputopts, in rack_output()
23669 &inp->inp_route6, in rack_output()
23671 NULL, NULL, inp); in rack_output()
23673 if (error == EMSGSIZE && inp->inp_route6.ro_nh != NULL) in rack_output()
23674 mtu = inp->inp_route6.ro_nh->nh_mtu; in rack_output()
23684 if (inp->inp_vflag & INP_IPV6PROTO) in rack_output()
23685 ip->ip_ttl = in6_selecthlim(inp, NULL); in rack_output()
23714 inp->inp_options, in rack_output()
23718 &inp->inp_route, in rack_output()
23720 inp); in rack_output()
23721 if (error == EMSGSIZE && inp->inp_route.ro_nh != NULL) in rack_output()
23722 mtu = inp->inp_route.ro_nh->nh_mtu; in rack_output()
25942 struct inpcb *inp = tptoinpcb(tp); in rack_set_sockopt() local
25953 INP_WUNLOCK(inp); in rack_set_sockopt()
25963 MPASS(inp->inp_vflag & INP_IPV6PROTO); in rack_set_sockopt()
25969 INP_WUNLOCK(inp); in rack_set_sockopt()
25988 INP_WUNLOCK(inp); in rack_set_sockopt()
25996 if (inp->inp_socket) { in rack_set_sockopt()
25997 rack->client_bufferlvl = inp->inp_socket->so_peerprio; in rack_set_sockopt()
26001 INP_WUNLOCK(inp); in rack_set_sockopt()
26081 INP_WUNLOCK(inp); in rack_set_sockopt()
26085 INP_WUNLOCK(inp); in rack_set_sockopt()
26103 INP_WLOCK(inp); in rack_set_sockopt()
26105 INP_WUNLOCK(inp); in rack_set_sockopt()
26116 INP_WUNLOCK(inp); in rack_set_sockopt()
26120 INP_WUNLOCK(inp); in rack_set_sockopt()
26125 INP_WUNLOCK(inp); in rack_set_sockopt()
26188 struct inpcb *inp = tptoinpcb(tp); in rack_get_sockopt() local
26202 INP_WUNLOCK(inp); in rack_get_sockopt()
26210 INP_WUNLOCK(inp); in rack_get_sockopt()
26504 INP_WUNLOCK(inp); in rack_get_sockopt()