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()347 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()
573 newtp->rx_opt.sack_ok = ireq->sack_ok; in tcp_create_openreq_child()
1071 tp->rx_opt.sack_ok |= TCP_DSACK_SEEN; in tcp_dsack_seen()1107 tp->rx_opt.sack_ok, inet_csk(sk)->icsk_ca_state, in tcp_check_sack_reordering()4277 opt_rx->sack_ok = TCP_SACK_SEEN; in tcp_parse_options()4285 opt_rx->sack_ok) { in tcp_parse_options()5644 if (tp->rx_opt.sack_ok) in tcp_prune_ofo_queue()7111 ireq->sack_ok = rx_opt->sack_ok; in tcp_openreq_init()
926 ireq->tstamp_ok &= !ireq->sack_ok; in tcp_synack_options()930 ireq->tstamp_ok &= !ireq->sack_ok; in tcp_synack_options()955 if (likely(ireq->sack_ok)) { in tcp_synack_options()
3507 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)
86 sack_ok : 1, member
546 u8 sack_ok; member1348 return likely(tp->rx_opt.sack_ok); in tcp_is_sack()
12096 if (attrs->sack_ok && !READ_ONCE(net->ipv4.sysctl_tcp_sack)) in bpf_sk_assign_tcp_reqsk()12121 ireq->sack_ok = !!attrs->sack_ok; in bpf_sk_assign_tcp_reqsk()
3991 if (tmp_opt.sack_ok) in build_cpl_pass_accept_req()