Home
last modified time | relevance | path

Searched refs:tsecr (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.6/net/netfilter/
Dnf_synproxy_core.c79 opts->tsecr = get_unaligned_be32(ptr + 4); in synproxy_parse_options()
138 *ptr++ = htonl(opts->tsecr); in synproxy_build_options()
155 opts->tsecr = opts->tsval; in synproxy_init_timestamp_cookie()
175 opts->wscale = opts->tsecr & 0xf; in synproxy_check_timestamp_cookie()
179 opts->options |= opts->tsecr & (1 << 4) ? NF_SYNPROXY_OPT_SACK_PERM : 0; in synproxy_check_timestamp_cookie()
181 opts->options |= opts->tsecr & (1 << 5) ? NF_SYNPROXY_OPT_ECN : 0; in synproxy_check_timestamp_cookie()
712 synproxy->its = opts.tsecr; in ipv4_synproxy_hook()
732 swap(opts.tsval, opts.tsecr); in ipv4_synproxy_hook()
738 swap(opts.tsval, opts.tsecr); in ipv4_synproxy_hook()
1135 synproxy->its = opts.tsecr; in ipv6_synproxy_hook()
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dxdp_synproxy_kern.c189 __be32 *tsecr; member
233 *ctx->tsecr = get_unaligned((__be32 *)(ctx->ptr + 2)); in tscookie_tcpopt_parse()
259 __be32 *tsecr, void *data_end) in tscookie_init() argument
265 .tsecr = tsecr, in tscookie_init()
/Linux-v6.6/include/net/netfilter/
Dnf_synproxy.h41 u32 tsecr; member
/Linux-v6.6/net/sched/
Dsch_cake.c1067 u32 *tsval, u32 *tsecr) in cake_tcph_get_tstamp() argument
1076 *tsecr = get_unaligned_be32(ptr + 4); in cake_tcph_get_tstamp()
1086 u32 tstamp, tsecr; in cake_tcph_may_drop() local
1130 tsecr = get_unaligned_be32(ptr + 4); in cake_tcph_may_drop()
1132 after(tsecr, tsecr_new)) in cake_tcph_may_drop()
1165 u32 tstamp = 0, tsecr = 0; in cake_ack_filter() local
1179 cake_tcph_get_tstamp(tcph, &tstamp, &tsecr); in cake_ack_filter()
1246 if (!cake_tcph_may_drop(tcph_check, tstamp, tsecr) || in cake_ack_filter()
/Linux-v6.6/net/ipv6/
Dtcp_ipv6.c846 u32 ack, u32 win, u32 tsval, u32 tsecr, in tcp_v6_send_response() argument
861 if (tsecr) in tcp_v6_send_response()
899 if (tsecr) { in tcp_v6_send_response()
903 *topt++ = htonl(tsecr); in tcp_v6_send_response()
1086 u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v6_send_ack() argument
1090 tcp_v6_send_response(sk, skb, seq, ack, win, tsval, tsecr, oif, key, 0, in tcp_v6_send_ack()
/Linux-v6.6/tools/testing/selftests/net/
Dgro.c404 uint32_t tsecr; in tcp_write_options() member
427 opt_ts->tsecr = 0; in tcp_write_options()
/Linux-v6.6/net/ipv4/
Dtcp_output.c449 __u32 tsval, tsecr; /* need to include OPTION_TS */ member
650 *ptr++ = htonl(opts->tsecr); in tcp_options_write()
803 opts->tsecr = tp->rx_opt.ts_recent; in tcp_syn_options()
888 opts->tsecr = READ_ONCE(req->ts_recent); in tcp_synack_options()
947 opts->tsecr = tp->rx_opt.ts_recent; in tcp_established_options()
Dtcp_ipv4.c864 u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v4_send_ack() argument
887 if (tsecr) { in tcp_v4_send_ack()
892 rep.opt[2] = htonl(tsecr); in tcp_v4_send_ack()
907 int offset = (tsecr) ? 3 : 0; in tcp_v4_send_ack()