Home
last modified time | relevance | path

Searched refs:sack_ok (Results 1 – 13 of 13) sorted by relevance

/linux/net/ipv4/
H A Dsyncookies.c68 if (ireq->sack_ok) in cookie_init_timestamp()
249 tcp_opt->sack_ok = (options & TS_OPT_SACK) ? TCP_SACK_SEEN : 0; in cookie_timestamp_decode()
251 if (tcp_opt->sack_ok && !READ_ONCE(net->ipv4.sysctl_tcp_sack)) in cookie_timestamp_decode()
346 ireq->sack_ok = tcp_opt->sack_ok; in cookie_tcp_reqsk_alloc()
H A Dtcp_rate.c178 tp->rx_opt.sack_ok, tcp_min_rtt(tp)); in tcp_rate_gen()
H A Dtcp_minisocks.c564 newtp->rx_opt.sack_ok = ireq->sack_ok; in tcp_create_openreq_child()
H A Dtcp_input.c1052 tp->rx_opt.sack_ok |= TCP_DSACK_SEEN; in tcp_dsack_seen()
1088 tp->rx_opt.sack_ok, inet_csk(sk)->icsk_ca_state, in tcp_check_sack_reordering()
4253 opt_rx->sack_ok = TCP_SACK_SEEN; in tcp_parse_options()
4261 opt_rx->sack_ok) { in tcp_parse_options()
5614 if (tp->rx_opt.sack_ok) in tcp_prune_ofo_queue()
7064 ireq->sack_ok = rx_opt->sack_ok; in tcp_openreq_init()
H A Dtcp_output.c919 ireq->tstamp_ok &= !ireq->sack_ok; in tcp_synack_options()
923 ireq->tstamp_ok &= !ireq->sack_ok; in tcp_synack_options()
942 if (likely(ireq->sack_ok)) { in tcp_synack_options()
H A Dtcp.c3480 tp->rx_opt.sack_ok |= TCP_SACK_SEEN; in tcp_repair_options_est()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_custom_syncookie.c273 ctx->attrs.sack_ok = 1; in tcp_parse_option()
303 if (!ctx->attrs.sack_ok) in tcp_validate_sysctl()
355 if (ctx->attrs.sack_ok) in tcp_prepare_cookie()
378 if (ctx->attrs.sack_ok) in tcp_write_options()
391 } else if (ctx->attrs.sack_ok) { in tcp_write_options()
497 ctx->attrs.sack_ok = cookie & BPF_SYNCOOKIE_SACK; in tcp_validate_cookie()
/linux/include/linux/
H A Dtcp.h121 sack_ok : 3, /* SACK seen on SYN packet */ member
134 rx_opt->tstamp_ok = rx_opt->sack_ok = 0; in tcp_clear_options()
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.h97 #define SACK_OK(tp) ((tp)->rx_opt.sack_ok)
/linux/include/net/
H A Dinet_sock.h85 sack_ok : 1, member
H A Dtcp.h505 u8 sack_ok; member
1278 return likely(tp->rx_opt.sack_ok); in tcp_is_sack()
/linux/net/core/
H A Dfilter.c12011 if (attrs->sack_ok && !READ_ONCE(net->ipv4.sysctl_tcp_sack)) in bpf_sk_assign_tcp_reqsk()
12036 ireq->sack_ok = !!attrs->sack_ok; in bpf_sk_assign_tcp_reqsk()
/linux/drivers/infiniband/hw/cxgb4/
H A Dcm.c3991 if (tmp_opt.sack_ok) in build_cpl_pass_accept_req()