Searched refs:tstamp_ok (Results 1 – 13 of 13) sorted by relevance
266 ctx->attrs.tstamp_ok = 0; in tcp_parse_option()268 ctx->attrs.tstamp_ok = 1; in tcp_parse_option()300 if (!ctx->attrs.tstamp_ok) in tcp_validate_sysctl()343 if (ctx->attrs.tstamp_ok) { in tcp_prepare_cookie()358 if (ctx->attrs.tstamp_ok && ctx->tcp->ece && ctx->tcp->cwr) in tcp_prepare_cookie()377 if (ctx->attrs.tstamp_ok) { in tcp_write_options()420 if (!ctx->attrs.tstamp_ok || !ctx->tcp->ece || !ctx->tcp->cwr) in tcp_handle_syn()479 if (ctx->attrs.tstamp_ok) in tcp_validate_cookie()
452 mss - (ireq->tstamp_ok ? TCPOLEN_TSTAMP_ALIGNED : 0), in tcp_openreq_init_rwin()572 newtp->rx_opt.tstamp_ok = ireq->tstamp_ok; in tcp_create_openreq_child()588 if (newtp->rx_opt.tstamp_ok) { in tcp_create_openreq_child()680 if (inet_rsk(req)->tstamp_ok && !fastopen) in tcp_check_req()
346 ireq->tstamp_ok = tcp_opt->saw_tstamp; in cookie_tcp_reqsk_alloc()
4267 ((estab && opt_rx->tstamp_ok) || in tcp_parse_options()4370 } else if (tp->rx_opt.tstamp_ok && in tcp_fast_parse_options()6575 tp->rx_opt.tstamp_ok = 1; in tcp_rcv_synsent_state_process()6663 tp->rx_opt.tstamp_ok = 1; in tcp_rcv_synsent_state_process()6901 if (tp->rx_opt.tstamp_ok) in tcp_rcv_state_process()7110 ireq->tstamp_ok = rx_opt->tstamp_ok; in tcp_openreq_init()7291 tmp_opt.tstamp_ok = tmp_opt.saw_tstamp; in tcp_conn_request()7302 if (tmp_opt.tstamp_ok) { in tcp_conn_request()7333 if (!tmp_opt.tstamp_ok) in tcp_conn_request()
926 ireq->tstamp_ok &= !ireq->sack_ok; in tcp_synack_options()930 ireq->tstamp_ok &= !ireq->sack_ok; in tcp_synack_options()942 if (likely(ireq->tstamp_ok)) { in tcp_synack_options()957 if (unlikely(!ireq->tstamp_ok)) in tcp_synack_options()1005 if (likely(tp->rx_opt.tstamp_ok)) { in tcp_established_options()3762 if (unlikely(synack_type == TCP_SYNACK_COOKIE && ireq->tstamp_ok)) in tcp_make_synack()
3513 tp->rx_opt.tstamp_ok = 1; in tcp_repair_options_est()4147 if (tp->rx_opt.tstamp_ok) in tcp_get_info()
118 tstamp_ok : 1, /* TIMESTAMP seen on SYN packet */ member134 rx_opt->tstamp_ok = rx_opt->sack_ok = 0; in tcp_clear_options()
96 #define TSTAMP_OK(tp) ((tp)->rx_opt.tstamp_ok)
154 tp->rx_opt.tstamp_ok = TCPOPT_TSTAMP_G(opt); in assign_rxopt()160 if (tp->rx_opt.tstamp_ok) { in assign_rxopt()
85 tstamp_ok : 1, member
547 u8 tstamp_ok; member
351 ireq->tstamp_ok = 0; in subflow_prep_synack()
12099 if (attrs->tstamp_ok) { in bpf_sk_assign_tcp_reqsk()12120 ireq->tstamp_ok = !!attrs->tstamp_ok; in bpf_sk_assign_tcp_reqsk()