Home
last modified time | relevance | path

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

/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()
734 synproxy->its = opts.tsecr; in ipv4_synproxy_hook()
754 swap(opts.tsval, opts.tsecr); in ipv4_synproxy_hook()
760 swap(opts.tsval, opts.tsecr); in ipv4_synproxy_hook()
1157 synproxy->its = opts.tsecr; in ipv6_synproxy_hook()
[all …]
/net/sched/
Dsch_cake.c1066 u32 *tsval, u32 *tsecr) in cake_tcph_get_tstamp() argument
1075 *tsecr = get_unaligned_be32(ptr + 4); in cake_tcph_get_tstamp()
1085 u32 tstamp, tsecr; in cake_tcph_may_drop() local
1129 tsecr = get_unaligned_be32(ptr + 4); in cake_tcph_may_drop()
1131 after(tsecr, tsecr_new)) in cake_tcph_may_drop()
1164 u32 tstamp = 0, tsecr = 0; in cake_ack_filter() local
1178 cake_tcph_get_tstamp(tcph, &tstamp, &tsecr); in cake_ack_filter()
1245 if (!cake_tcph_may_drop(tcph_check, tstamp, tsecr) || in cake_ack_filter()
/net/ipv6/
Dtcp_ipv6.c892 u32 ack, u32 win, u32 tsval, u32 tsecr, in tcp_v6_send_response() argument
907 if (tsecr) in tcp_v6_send_response()
946 if (tsecr) { in tcp_v6_send_response()
950 *topt++ = htonl(tsecr); in tcp_v6_send_response()
1132 u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v6_send_ack() argument
1136 tcp_v6_send_response(sk, skb, seq, ack, win, tsval, tsecr, oif, key, 0, in tcp_v6_send_ack()
/net/ipv4/
Dtcp_output.c440 __u32 tsval, tsecr; /* need to include OPTION_TS */ member
639 *ptr++ = htonl(opts->tsecr); in tcp_options_write()
792 opts->tsecr = tp->rx_opt.ts_recent; in tcp_syn_options()
877 opts->tsecr = READ_ONCE(req->ts_recent); in tcp_synack_options()
936 opts->tsecr = tp->rx_opt.ts_recent; in tcp_established_options()
Dtcp_ipv4.c847 u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v4_send_ack() argument
870 if (tsecr) { in tcp_v4_send_ack()
875 rep.opt[2] = htonl(tsecr); in tcp_v4_send_ack()
890 int offset = (tsecr) ? 3 : 0; in tcp_v4_send_ack()