Home
last modified time | relevance | path

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

/linux-6.6.21/net/netfilter/
Dnf_synproxy_core.c78 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, opts.tsecr); in ipv4_synproxy_hook()
[all …]
/linux-6.6.21/include/net/netfilter/
Dnf_synproxy.h40 u32 tsval; member
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dxdp_synproxy_kern.c273 __u16 tcp_len, __be32 *tsval, in tscookie_init() argument
303 *tsval = bpf_htonl(cookie); in tscookie_init()
/linux-6.6.21/net/ipv6/
Dtcp_ipv6.c846 u32 ack, u32 win, u32 tsval, u32 tsecr, in tcp_v6_send_response() argument
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() argument
1090 tcp_v6_send_response(sk, skb, seq, ack, win, tsval, tsecr, oif, key, 0, in tcp_v6_send_ack()
/linux-6.6.21/tools/testing/selftests/net/
Dgro.c403 uint32_t tsval; in tcp_write_options() member
426 opt_ts->tsval = ts; in tcp_write_options()
/linux-6.6.21/net/ipv4/
Dtcp_output.c449 __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()
Dtcp_ipv4.c864 u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v4_send_ack() argument
891 rep.opt[1] = htonl(tsval); in tcp_v4_send_ack()
/linux-6.6.21/net/sched/
Dsch_cake.c1067 u32 *tsval, u32 *tsecr) in cake_tcph_get_tstamp() argument
1075 *tsval = get_unaligned_be32(ptr); in cake_tcph_get_tstamp()