Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_custom_syncookie.c273 ctx->attrs.sack_ok = 1; in tcp_parse_option()
305 if (!ctx->attrs.sack_ok) in tcp_validate_sysctl()
357 if (ctx->attrs.sack_ok) in tcp_prepare_cookie()
380 if (ctx->attrs.sack_ok) in tcp_write_options()
393 } else if (ctx->attrs.sack_ok) { in tcp_write_options()
499 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
135 rx_opt->tstamp_ok = rx_opt->sack_ok = 0; in tcp_clear_options()
/linux/net/ipv4/
H A Dtcp_minisocks.c98 * We don't need to initialize tmp_out.sack_ok as we don't use the results
600 newtp->rx_opt.sack_ok = ireq->sack_ok; in tcp_create_openreq_child()
681 * We don't need to initialize tmp_opt.sack_ok as we don't use the results
H A Dtcp_input.c1254 tp->rx_opt.sack_ok |= TCP_DSACK_SEEN; in tcp_dsack_seen()
1290 tp->rx_opt.sack_ok, inet_csk(sk)->icsk_ca_state, in tcp_check_sack_reordering()
1785 tp->rx_opt.sack_ok, tcp_min_rtt(tp)); in tcp_rate_gen()
4636 opt_rx->sack_ok = TCP_SACK_SEEN; in tcp_parse_options()
4644 opt_rx->sack_ok) { in tcp_parse_options()
5980 if (tp->rx_opt.sack_ok) in tcp_prune_ofo_queue()
7509 ireq->sack_ok = rx_opt->sack_ok; in tcp_openreq_init()
H A Dtcp_output.c1084 ireq->tstamp_ok &= !ireq->sack_ok; in tcp_synack_options()
1088 ireq->tstamp_ok &= !ireq->sack_ok; in tcp_synack_options()
1113 if (likely(ireq->sack_ok)) { in tcp_synack_options()
/linux/net/core/
H A Dfilter.c12560 if (attrs->sack_ok && !READ_ONCE(net->ipv4.sysctl_tcp_sack)) in bpf_sk_assign_tcp_reqsk()
12585 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()