Searched refs:sack_ok (Results 1 – 13 of 13) sorted by relevance
68 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()
178 tp->rx_opt.sack_ok, tcp_min_rtt(tp)); in tcp_rate_gen()
564 newtp->rx_opt.sack_ok = ireq->sack_ok; in tcp_create_openreq_child()
1052 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()
919 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()
3480 tp->rx_opt.sack_ok |= TCP_SACK_SEEN; in tcp_repair_options_est()
273 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()
121 sack_ok : 3, /* SACK seen on SYN packet */ member134 rx_opt->tstamp_ok = rx_opt->sack_ok = 0; in tcp_clear_options()
97 #define SACK_OK(tp) ((tp)->rx_opt.sack_ok)
85 sack_ok : 1, member
505 u8 sack_ok; member1278 return likely(tp->rx_opt.sack_ok); in tcp_is_sack()
12011 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()
3991 if (tmp_opt.sack_ok) in build_cpl_pass_accept_req()