Home
last modified time | relevance | path

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

/Linux-v4.19/net/netfilter/
Dnf_synproxy_core.c77 opts->tsecr = get_unaligned_be32(ptr + 4); in synproxy_parse_options()
136 *ptr++ = htonl(opts->tsecr); in synproxy_build_options()
154 opts->tsecr = opts->tsval; in synproxy_init_timestamp_cookie()
173 opts->wscale = opts->tsecr & 0xf; in synproxy_check_timestamp_cookie()
177 opts->options |= opts->tsecr & (1 << 4) ? XT_SYNPROXY_OPT_SACK_PERM : 0; in synproxy_check_timestamp_cookie()
179 opts->options |= opts->tsecr & (1 << 5) ? XT_SYNPROXY_OPT_ECN : 0; in synproxy_check_timestamp_cookie()
/Linux-v4.19/include/net/netfilter/
Dnf_conntrack_synproxy.h71 u32 tsecr; member
/Linux-v4.19/net/ipv4/netfilter/
Dipt_SYNPROXY.c387 synproxy->its = opts.tsecr; in ipv4_synproxy_hook()
407 swap(opts.tsval, opts.tsecr); in ipv4_synproxy_hook()
413 swap(opts.tsval, opts.tsecr); in ipv4_synproxy_hook()
/Linux-v4.19/net/ipv6/netfilter/
Dip6t_SYNPROXY.c408 synproxy->its = opts.tsecr; in ipv6_synproxy_hook()
428 swap(opts.tsval, opts.tsecr); in ipv6_synproxy_hook()
434 swap(opts.tsval, opts.tsecr); in ipv6_synproxy_hook()
/Linux-v4.19/net/ipv6/
Dtcp_ipv6.c793 u32 ack, u32 win, u32 tsval, u32 tsecr, in tcp_v6_send_response() argument
808 if (tsecr) in tcp_v6_send_response()
838 if (tsecr) { in tcp_v6_send_response()
842 *topt++ = htonl(tsecr); in tcp_v6_send_response()
978 u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v6_send_ack() argument
982 tcp_v6_send_response(sk, skb, seq, ack, win, tsval, tsecr, oif, key, 0, in tcp_v6_send_ack()
/Linux-v4.19/net/sched/
Dsch_cake.c1021 u32 *tsval, u32 *tsecr) in cake_tcph_get_tstamp() argument
1030 *tsecr = get_unaligned_be32(ptr + 4); in cake_tcph_get_tstamp()
1040 u32 tstamp, tsecr; in cake_tcph_may_drop() local
1082 tsecr = get_unaligned_be32(ptr + 4); in cake_tcph_may_drop()
1084 after(tsecr, tsecr_new)) in cake_tcph_may_drop()
1117 u32 tstamp = 0, tsecr = 0; in cake_ack_filter() local
1131 cake_tcph_get_tstamp(tcph, &tstamp, &tsecr); in cake_ack_filter()
1198 if (!cake_tcph_may_drop(tcph_check, tstamp, tsecr) || in cake_ack_filter()
/Linux-v4.19/net/ipv4/
Dtcp_ipv4.c796 u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v4_send_ack() argument
818 if (tsecr) { in tcp_v4_send_ack()
823 rep.opt[2] = htonl(tsecr); in tcp_v4_send_ack()
838 int offset = (tsecr) ? 3 : 0; in tcp_v4_send_ack()
Dtcp_output.c441 __u32 tsval, tsecr; /* need to include OPTION_TS */ member
491 *ptr++ = htonl(opts->tsecr); in tcp_options_write()
625 opts->tsecr = tp->rx_opt.ts_recent; in tcp_syn_options()
696 opts->tsecr = req->ts_recent; in tcp_synack_options()
749 opts->tsecr = tp->rx_opt.ts_recent; in tcp_established_options()