Searched refs:tstamp_ok (Results 1 – 7 of 7) 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()
4626 ((estab && opt_rx->tstamp_ok) || in tcp_parse_options()4736 } else if (tp->rx_opt.tstamp_ok && in tcp_fast_parse_options()6954 tp->rx_opt.tstamp_ok = 1; in tcp_rcv_synsent_state_process()7042 tp->rx_opt.tstamp_ok = 1; in tcp_rcv_synsent_state_process()7256 if (tp->rx_opt.tstamp_ok) in tcp_rcv_state_process()7508 ireq->tstamp_ok = rx_opt->tstamp_ok; in tcp_openreq_init()7686 tmp_opt.tstamp_ok = tmp_opt.saw_tstamp; in tcp_conn_request()7705 if (tmp_opt.tstamp_ok || (!want_cookie && !isn)) in tcp_conn_request()7711 if (tmp_opt.tstamp_ok) { in tcp_conn_request()7742 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() 3980 if (unlikely(synack_type == TCP_SYNACK_COOKIE && ireq->tstamp_ok)) in tcp_make_synack()
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()
12563 if (attrs->tstamp_ok) { in bpf_sk_assign_tcp_reqsk()12584 ireq->tstamp_ok = !!attrs->tstamp_ok; in bpf_sk_assign_tcp_reqsk()