Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dxdp_synproxy_kern.c190 __be32 *tsecr; member
217 __u8 *opcode, *opsize, *wscale, *tsecr; in tscookie_tcpopt_parse() local
242 tsecr = next(ctx, 4); in tscookie_tcpopt_parse()
243 if (!tsecr) in tscookie_tcpopt_parse()
248 *ctx->tsecr = get_unaligned((__be32 *)tsecr); in tscookie_tcpopt_parse()
274 __be32 *tsecr, void *data, void *data_end) in tscookie_init() argument
279 .tsecr = tsecr, in tscookie_init()
/openbmc/linux/net/netfilter/
H A 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()
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()
1155 swap(opts.tsval, opts.tsecr); in ipv6_synproxy_hook()
[all …]
/openbmc/linux/include/net/netfilter/
H A Dnf_synproxy.h41 u32 tsecr; member
/openbmc/linux/net/sched/
H A Dsch_cake.c1070 u32 *tsval, u32 *tsecr) in cake_tcph_get_tstamp() argument
1079 *tsecr = get_unaligned_be32(ptr + 4); in cake_tcph_get_tstamp()
1089 u32 tstamp, tsecr; in cake_tcph_may_drop() local
1133 tsecr = get_unaligned_be32(ptr + 4); in cake_tcph_may_drop()
1135 after(tsecr, tsecr_new)) in cake_tcph_may_drop()
1168 u32 tstamp = 0, tsecr = 0; in cake_ack_filter() local
1182 cake_tcph_get_tstamp(tcph, &tstamp, &tsecr); in cake_ack_filter()
1249 if (!cake_tcph_may_drop(tcph_check, tstamp, tsecr) || in cake_ack_filter()
/openbmc/linux/net/ipv6/
H A Dtcp_ipv6.c842 u32 ack, u32 win, u32 tsval, u32 tsecr, in tcp_v6_send_response() argument
857 if (tsecr) in tcp_v6_send_response()
895 if (tsecr) { in tcp_v6_send_response()
899 *topt++ = htonl(tsecr); in tcp_v6_send_response()
1082 u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v6_send_ack() argument
1086 tcp_v6_send_response(sk, skb, seq, ack, win, tsval, tsecr, oif, key, 0, in tcp_v6_send_ack()
/openbmc/linux/tools/testing/selftests/net/
H A Dgro.c404 uint32_t tsecr; in tcp_write_options() member
427 opt_ts->tsecr = 0; in tcp_write_options()
/openbmc/linux/net/ipv4/
H A Dtcp_output.c451 __u32 tsval, tsecr; /* need to include OPTION_TS */ member
652 *ptr++ = htonl(opts->tsecr); in tcp_options_write()
805 opts->tsecr = tp->rx_opt.ts_recent; in tcp_syn_options()
890 opts->tsecr = READ_ONCE(req->ts_recent); in tcp_synack_options()
949 opts->tsecr = tp->rx_opt.ts_recent; in tcp_established_options()
H A Dtcp_ipv4.c870 u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v4_send_ack() argument
893 if (tsecr) { in tcp_v4_send_ack()
898 rep.opt[2] = htonl(tsecr); in tcp_v4_send_ack()
913 int offset = (tsecr) ? 3 : 0; in tcp_v4_send_ack()