Searched refs:tstamp_ok (Results 1 – 9 of 9) sorted by relevance
266 ctx->attrs.tstamp_ok = 0; in tcp_parse_option() 268 ctx->attrs.tstamp_ok = 1; in tcp_parse_option() 302 if (!ctx->attrs.tstamp_ok) in tcp_validate_sysctl() 345 if (ctx->attrs.tstamp_ok) { in tcp_prepare_cookie() 360 if (ctx->attrs.tstamp_ok && ctx->tcp->ece && ctx->tcp->cwr) in tcp_prepare_cookie() 379 if (ctx->attrs.tstamp_ok) { in tcp_write_options() 422 if (!ctx->attrs.tstamp_ok || !ctx->tcp->ece || !ctx->tcp->cwr) in tcp_handle_syn() 481 if (ctx->attrs.tstamp_ok) in tcp_validate_cookie()
461 mss - (ireq->tstamp_ok ? TCPOLEN_TSTAMP_ALIGNED : 0), in tcp_openreq_init_rwin()599 newtp->rx_opt.tstamp_ok = ireq->tstamp_ok; in tcp_create_openreq_child()616 if (newtp->rx_opt.tstamp_ok) { in tcp_create_openreq_child()708 if (inet_rsk(req)->tstamp_ok && !fastopen) in tcp_check_req()
4632 ((estab && opt_rx->tstamp_ok) || in tcp_parse_options()4742 } else if (tp->rx_opt.tstamp_ok && in tcp_fast_parse_options()6961 tp->rx_opt.tstamp_ok = 1; in tcp_rcv_synsent_state_process()7049 tp->rx_opt.tstamp_ok = 1; in tcp_rcv_synsent_state_process()7263 if (tp->rx_opt.tstamp_ok) in tcp_rcv_state_process()7515 ireq->tstamp_ok = rx_opt->tstamp_ok; in tcp_openreq_init()7693 tmp_opt.tstamp_ok = tmp_opt.saw_tstamp; in tcp_conn_request()7712 if (tmp_opt.tstamp_ok || (!want_cookie && !isn)) in tcp_conn_request()7718 if (tmp_opt.tstamp_ok) { in tcp_conn_request()7749 if (!tmp_opt.tstamp_ok) in tcp_conn_request()
1084 ireq->tstamp_ok &= !ireq->sack_ok; in tcp_synack_options()1088 ireq->tstamp_ok &= !ireq->sack_ok; in tcp_synack_options()1100 if (likely(ireq->tstamp_ok)) { in tcp_synack_options()1115 if (unlikely(!ireq->tstamp_ok)) in tcp_synack_options()1170 if (likely(tp->rx_opt.tstamp_ok)) { in tcp_established_options()3983 if (unlikely(synack_type == TCP_SYNACK_COOKIE && ireq->tstamp_ok)) in tcp_make_synack()
3590 tp->rx_opt.tstamp_ok = 1; in tcp_repair_options_est()4258 if (tp->rx_opt.tstamp_ok) in tcp_get_info()
118 tstamp_ok : 1, /* TIMESTAMP seen on SYN packet */ member135 rx_opt->tstamp_ok = rx_opt->sack_ok = 0; in tcp_clear_options()
349 ireq->tstamp_ok = 0; in subflow_prep_synack()
609 u8 tstamp_ok; member
12554 if (attrs->tstamp_ok) { in bpf_sk_assign_tcp_reqsk()12575 ireq->tstamp_ok = !!attrs->tstamp_ok; in bpf_sk_assign_tcp_reqsk()