/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nf_synproxy_core.c | 78 opts->tsval = get_unaligned_be32(ptr); in synproxy_parse_options() 137 *ptr++ = htonl(opts->tsval); in synproxy_build_options() 155 opts->tsecr = opts->tsval; in synproxy_init_timestamp_cookie() 156 opts->tsval = tcp_time_stamp_raw() & ~0x3f; in synproxy_init_timestamp_cookie() 159 opts->tsval |= opts->wscale; in synproxy_init_timestamp_cookie() 162 opts->tsval |= 0xf; in synproxy_init_timestamp_cookie() 165 opts->tsval |= 1 << 4; in synproxy_init_timestamp_cookie() 168 opts->tsval |= 1 << 5; in synproxy_init_timestamp_cookie() 747 synproxy->tsoff = opts.tsval - synproxy->its; in ipv4_synproxy_hook() 755 swap(opts.tsval, opt in ipv4_synproxy_hook() [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_synproxy_core.c | 78 opts->tsval = get_unaligned_be32(ptr); in synproxy_parse_options() 137 *ptr++ = htonl(opts->tsval); in synproxy_build_options() 155 opts->tsecr = opts->tsval; in synproxy_init_timestamp_cookie() 156 opts->tsval = tcp_time_stamp_raw() & ~0x3f; in synproxy_init_timestamp_cookie() 159 opts->tsval |= opts->wscale; in synproxy_init_timestamp_cookie() 162 opts->tsval |= 0xf; in synproxy_init_timestamp_cookie() 165 opts->tsval |= 1 << 4; in synproxy_init_timestamp_cookie() 168 opts->tsval |= 1 << 5; in synproxy_init_timestamp_cookie() 724 synproxy->tsoff = opts.tsval - synproxy->its; in ipv4_synproxy_hook() 732 swap(opts.tsval, opt in ipv4_synproxy_hook() [all...] |
/kernel/linux/linux-5.10/include/net/netfilter/ |
H A D | nf_synproxy.h | 40 u32 tsval; member
|
/kernel/linux/linux-6.6/include/net/netfilter/ |
H A D | nf_synproxy.h | 40 u32 tsval; member
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
H A D | tcp_nip_output.c | 75 __u32 tsval, tsecr; /* need to include OPTION_TS */ member 437 opts->tsval = skb ? tcp_skb_timestamp(skb) + tp->tsoffset : 0; in tcp_nip_established_options() 739 opts->tsval = tcp_skb_timestamp(skb); in tcp_nip_synack_options()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | xdp_synproxy_kern.c | 247 /* Client's tsval becomes our tsecr. */ in tscookie_tcpopt_parse() 273 __u16 tcp_len, __be32 *tsval, in tscookie_init() 303 *tsval = bpf_htonl(cookie); in tscookie_init() 272 tscookie_init(struct tcphdr *tcp_header, __u16 tcp_len, __be32 *tsval, __be32 *tsecr, void *data, void *data_end) tscookie_init() argument
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | tcp_ipv6.c | 886 u32 ack, u32 win, u32 tsval, u32 tsecr, in tcp_v6_send_response() 934 *topt++ = htonl(tsval); in tcp_v6_send_response() 1114 u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v6_send_ack() 1118 tcp_v6_send_response(sk, skb, seq, ack, win, tsval, tsecr, oif, key, 0, in tcp_v6_send_ack() 885 tcp_v6_send_response(const struct sock *sk, struct sk_buff *skb, u32 seq, u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, struct tcp_md5sig_key *key, int rst, u8 tclass, __be32 label, u32 priority) tcp_v6_send_response() argument 1113 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_md5sig_key *key, u8 tclass, __be32 label, u32 priority) tcp_v6_send_ack() argument
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | tcp_ipv6.c | 846 u32 ack, u32 win, u32 tsval, u32 tsecr, in tcp_v6_send_response() 902 *topt++ = htonl(tsval); in tcp_v6_send_response() 1086 u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v6_send_ack() 1090 tcp_v6_send_response(sk, skb, seq, ack, win, tsval, tsecr, oif, key, 0, in tcp_v6_send_ack() 845 tcp_v6_send_response(const struct sock *sk, struct sk_buff *skb, u32 seq, u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, struct tcp_md5sig_key *key, int rst, u8 tclass, __be32 label, u32 priority, u32 txhash) tcp_v6_send_response() argument 1085 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_md5sig_key *key, u8 tclass, __be32 label, u32 priority, u32 txhash) tcp_v6_send_ack() argument
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | gro.c | 403 uint32_t tsval; in tcp_write_options() member 426 opt_ts->tsval = ts; in tcp_write_options()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_output.c | 442 __u32 tsval, tsecr; /* need to include OPTION_TS */ member 639 *ptr++ = htonl(opts->tsval); in tcp_options_write() 792 opts->tsval = tcp_skb_timestamp(skb) + tp->tsoffset; in tcp_syn_options() 877 opts->tsval = tcp_skb_timestamp(skb) + tcp_rsk(req)->ts_off; in tcp_synack_options() 936 opts->tsval = skb ? tcp_skb_timestamp(skb) + tp->tsoffset : 0; in tcp_established_options()
|
H A D | tcp_ipv4.c | 842 u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v4_send_ack() 869 rep.opt[1] = htonl(tsval); in tcp_v4_send_ack() 840 tcp_v4_send_ack(const struct sock *sk, struct sk_buff *skb, u32 seq, u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, struct tcp_md5sig_key *key, int reply_flags, u8 tos) tcp_v4_send_ack() argument
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_output.c | 449 __u32 tsval, tsecr; /* need to include OPTION_TS */ member 649 *ptr++ = htonl(opts->tsval); in tcp_options_write() 802 opts->tsval = tcp_skb_timestamp(skb) + tp->tsoffset; in tcp_syn_options() 887 opts->tsval = tcp_skb_timestamp(skb) + tcp_rsk(req)->ts_off; in tcp_synack_options() 946 opts->tsval = skb ? tcp_skb_timestamp(skb) + tp->tsoffset : 0; in tcp_established_options()
|
H A D | tcp_ipv4.c | 864 u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v4_send_ack() 891 rep.opt[1] = htonl(tsval); in tcp_v4_send_ack() 862 tcp_v4_send_ack(const struct sock *sk, struct sk_buff *skb, u32 seq, u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, struct tcp_md5sig_key *key, int reply_flags, u8 tos, u32 txhash) tcp_v4_send_ack() argument
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_cake.c | 1066 u32 *tsval, u32 *tsecr) in cake_tcph_get_tstamp() 1074 *tsval = get_unaligned_be32(ptr); in cake_tcph_get_tstamp() 1065 cake_tcph_get_tstamp(const struct tcphdr *tcph, u32 *tsval, u32 *tsecr) cake_tcph_get_tstamp() argument
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | sch_cake.c | 1067 u32 *tsval, u32 *tsecr) in cake_tcph_get_tstamp() 1075 *tsval = get_unaligned_be32(ptr); in cake_tcph_get_tstamp() 1066 cake_tcph_get_tstamp(const struct tcphdr *tcph, u32 *tsval, u32 *tsecr) cake_tcph_get_tstamp() argument
|