Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dxdp_synproxy_kern.c193 __be32 *tsecr; member
220 __u8 *opcode, *opsize, *wscale, *tsecr; in tscookie_tcpopt_parse() local
245 tsecr = next(ctx, 4); in tscookie_tcpopt_parse()
246 if (!tsecr) in tscookie_tcpopt_parse()
251 *ctx->tsecr = get_unaligned((__be32 *)tsecr); in tscookie_tcpopt_parse()
277 __be32 *tsecr, void *data, void *data_end) in tscookie_init() argument
282 .tsecr = tsecr, in tscookie_init()
Dtest_tcp_custom_syncookie.c223 __u32 *tsval, *tsecr; in tcp_parse_option() local
260 tsecr = next(ctx, 4); in tcp_parse_option()
261 if (*opsize == TCPOLEN_TIMESTAMP && tsval && tsecr) { in tcp_parse_option()
263 ctx->attrs.rcv_tsecr = get_unaligned_be32(tsecr); in tcp_parse_option()
/linux-6.12.1/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-6.12.1/include/net/netfilter/
Dnf_synproxy.h41 u32 tsecr; member
/linux-6.12.1/net/sched/
Dsch_cake.c1053 u32 *tsval, u32 *tsecr) in cake_tcph_get_tstamp() argument
1062 *tsecr = get_unaligned_be32(ptr + 4); in cake_tcph_get_tstamp()
1072 u32 tstamp, tsecr; in cake_tcph_may_drop() local
1116 tsecr = get_unaligned_be32(ptr + 4); in cake_tcph_may_drop()
1118 after(tsecr, tsecr_new)) in cake_tcph_may_drop()
1151 u32 tstamp = 0, tsecr = 0; in cake_ack_filter() local
1165 cake_tcph_get_tstamp(tcph, &tstamp, &tsecr); in cake_ack_filter()
1232 if (!cake_tcph_may_drop(tcph_check, tstamp, tsecr) || in cake_ack_filter()
/linux-6.12.1/net/ipv6/
Dtcp_ipv6.c863 u32 ack, u32 win, u32 tsval, u32 tsecr, in tcp_v6_send_response() argument
878 if (tsecr) in tcp_v6_send_response()
916 if (tsecr) { in tcp_v6_send_response()
920 *topt++ = htonl(tsecr); in tcp_v6_send_response()
1145 u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v6_send_ack() argument
1149 tcp_v6_send_response(sk, skb, seq, ack, win, tsval, tsecr, oif, 0, in tcp_v6_send_ack()
/linux-6.12.1/net/ipv4/
Dtcp_ipv4.c935 u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v4_send_ack() argument
954 if (tsecr) { in tcp_v4_send_ack()
959 rep.opt[2] = htonl(tsecr); in tcp_v4_send_ack()
974 int offset = (tsecr) ? 3 : 0; in tcp_v4_send_ack()
990 int offset = (tsecr) ? 3 : 0; in tcp_v4_send_ack()
Dtcp_output.c454 __u32 tsval, tsecr; /* need to include OPTION_TS */ member
696 *ptr++ = htonl(opts->tsecr); in tcp_options_write()
851 opts->tsecr = tp->rx_opt.ts_recent; in tcp_syn_options()
939 opts->tsecr = READ_ONCE(req->ts_recent); in tcp_synack_options()
996 opts->tsecr = tp->rx_opt.ts_recent; in tcp_established_options()
/linux-6.12.1/tools/testing/selftests/net/
Dgro.c430 uint32_t tsecr; in tcp_write_options() member
453 opt_ts->tsecr = 0; in tcp_write_options()