Home
last modified time | relevance | path

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

/linux-4.4.14/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-4.4.14/include/net/netfilter/
Dnf_conntrack_synproxy.h54 u32 tsecr; member
/linux-4.4.14/net/ipv4/netfilter/
Dipt_SYNPROXY.c376 synproxy->its = opts.tsecr; in ipv4_synproxy_hook()
392 swap(opts.tsval, opts.tsecr); in ipv4_synproxy_hook()
397 swap(opts.tsval, opts.tsecr); in ipv4_synproxy_hook()
/linux-4.4.14/net/ipv6/netfilter/
Dip6t_SYNPROXY.c396 synproxy->its = opts.tsecr; in ipv6_synproxy_hook()
412 swap(opts.tsval, opts.tsecr); in ipv6_synproxy_hook()
417 swap(opts.tsval, opts.tsecr); in ipv6_synproxy_hook()
/linux-4.4.14/net/ipv6/
Dtcp_ipv6.c737 u32 ack, u32 win, u32 tsval, u32 tsecr, in tcp_v6_send_response() argument
751 if (tsecr) in tcp_v6_send_response()
781 if (tsecr) { in tcp_v6_send_response()
785 *topt++ = htonl(tsecr); in tcp_v6_send_response()
907 u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v6_send_ack() argument
911 tcp_v6_send_response(sk, skb, seq, ack, win, tsval, tsecr, oif, key, 0, in tcp_v6_send_ack()
/linux-4.4.14/net/ipv4/
Dtcp_ipv4.c713 u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v4_send_ack() argument
733 if (tsecr) { in tcp_v4_send_ack()
738 rep.opt[2] = htonl(tsecr); in tcp_v4_send_ack()
753 int offset = (tsecr) ? 3 : 0; in tcp_v4_send_ack()
Dtcp_output.c430 __u32 tsval, tsecr; /* need to include OPTION_TS */ member
480 *ptr++ = htonl(opts->tsecr); in tcp_options_write()
578 opts->tsecr = tp->rx_opt.ts_recent; in tcp_syn_options()
646 opts->tsecr = req->ts_recent; in tcp_synack_options()
696 opts->tsecr = tp->rx_opt.ts_recent; in tcp_established_options()