Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A Dnf_synproxy_core.c82 opts->tsecr = get_unaligned_be32(ptr + 4); in synproxy_parse_options()
141 *ptr++ = htonl(opts->tsecr); in synproxy_build_options()
158 opts->tsecr = opts->tsval; in synproxy_init_timestamp_cookie()
178 opts->wscale = opts->tsecr & 0xf; in synproxy_check_timestamp_cookie()
182 opts->options |= opts->tsecr & (1 << 4) ? NF_SYNPROXY_OPT_SACK_PERM : 0; in synproxy_check_timestamp_cookie()
184 opts->options |= opts->tsecr & (1 << 5) ? NF_SYNPROXY_OPT_ECN : 0; in synproxy_check_timestamp_cookie()
715 synproxy->its = opts.tsecr; in ipv4_synproxy_hook()
735 swap(opts.tsval, opts.tsecr); in ipv4_synproxy_hook()
741 swap(opts.tsval, opts.tsecr); in ipv4_synproxy_hook()
1145 synproxy->its = opts.tsecr; in ipv6_synproxy_hook()
[all...]
/linux/tools/testing/selftests/bpf/progs/
H A 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/include/net/netfilter/
H A Dnf_synproxy.h41 u32 tsecr; member
/linux/net/ipv6/
H A Dtcp_ipv6.c848 u32 ack, u32 win, u32 tsval, u32 tsecr, in tcp_v6_send_response()
863 if (tsecr) in tcp_v6_send_response()
901 if (tsecr) { in tcp_v6_send_response()
905 *topt++ = htonl(tsecr); in tcp_v6_send_response()
1141 u32 ack, u32 win, u32 tsval, u32 tsecr, int oif,
1145 tcp_v6_send_response(sk, skb, seq, ack, win, tsval, tsecr, oif, 0,
840 tcp_v6_send_response(const struct sock * sk,struct sk_buff * skb,u32 seq,u32 ack,u32 win,u32 tsval,u32 tsecr,int oif,int rst,u8 tclass,__be32 label,u32 priority,u32 txhash,struct tcp_key * key) tcp_v6_send_response() argument
1126 tcp_v6_send_ack(const struct sock * sk,struct sk_buff * skb,u32 seq,u32 ack,u32 win,u32 tsval,u32 tsecr,int oif,struct tcp_key * key,u8 tclass,__be32 label,u32 priority,u32 txhash) tcp_v6_send_ack() argument
/linux/net/sched/
H A Dsch_cake.c1132 u32 *tsval, u32 *tsecr) in cake_tcph_get_tstamp() argument
1141 *tsecr = get_unaligned_be32(ptr + 4); in cake_tcph_get_tstamp()
1151 u32 tstamp, tsecr; in cake_tcph_may_drop() local
1195 tsecr = get_unaligned_be32(ptr + 4); in cake_tcph_may_drop()
1197 after(tsecr, tsecr_new)) in cake_tcph_may_drop()
1230 u32 tstamp = 0, tsecr = 0; in cake_ack_filter() local
1244 cake_tcph_get_tstamp(tcph, &tstamp, &tsecr); in cake_ack_filter()
1311 if (!cake_tcph_may_drop(tcph_check, tstamp, tsecr) || in cake_ack_filter()
/linux/net/ipv4/
H A Dtcp_ipv4.c911 u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v4_send_ack() argument
930 if (tsecr) { in tcp_v4_send_ack()
935 rep.opt[2] = htonl(tsecr); in tcp_v4_send_ack()
950 int offset = (tsecr) ? 3 : 0; in tcp_v4_send_ack()
966 int offset = (tsecr) ? 3 : 0; in tcp_v4_send_ack()
H A Dtcp_output.c32 * Andrea Arcangeli: SYNACK carry ts_recent in tsecr.
440 __u32 tsval, tsecr; /* need to include OPTION_TS */
692 *ptr++ = htonl(opts->tsecr); in tcp_options_write()
998 opts->tsecr = tp->rx_opt.ts_recent; in tcp_syn_options()
1110 opts->tsecr = req->ts_recent; in tcp_synack_options()
1174 opts->tsecr = tp->rx_opt.ts_recent; in tcp_established_options()
446 __u32 tsval, tsecr; /* need to include OPTION_TS */ global() member
/linux/tools/testing/selftests/drivers/net/
H A Dgro.c