Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A 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_clock_ms() & ~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/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_custom_syncookie.c223 __u32 *tsval, *tsecr; in tcp_parse_option() local
259 tsval = next(ctx, 4); in tcp_parse_option()
261 if (*opsize == TCPOLEN_TIMESTAMP && tsval && tsecr) { in tcp_parse_option()
262 ctx->attrs.rcv_tsval = get_unaligned_be32(tsval); in tcp_parse_option()
/linux/include/net/netfilter/
H A Dnf_synproxy.h40 u32 tsval; member
/linux/net/ipv6/
H A Dtcp_ipv6.c863 u32 ack, u32 win, u32 tsval, u32 tsecr, in tcp_v6_send_response() argument
919 *topt++ = htonl(tsval); in tcp_v6_send_response()
1148 u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v6_send_ack() argument
1152 tcp_v6_send_response(sk, skb, seq, ack, win, tsval, tsecr, oif, 0, in tcp_v6_send_ack()
/linux/tools/testing/selftests/net/
H A Dgro.c429 uint32_t tsval; in tcp_write_options() member
452 opt_ts->tsval = ts; in tcp_write_options()
/linux/net/ipv4/
H A Dtcp_output.c457 __u32 tsval, tsecr; /* need to include OPTION_TS */ member
698 *ptr++ = htonl(opts->tsval); in tcp_options_write()
853 opts->tsval = tcp_skb_timestamp_ts(tp->tcp_usec_ts, skb) + tp->tsoffset; in tcp_syn_options()
942 opts->tsval = tcp_skb_timestamp_ts(tcp_rsk(req)->req_usec_ts, skb) + in tcp_synack_options()
999 opts->tsval = skb ? tcp_skb_timestamp_ts(tp->tcp_usec_ts, skb) + in tcp_established_options()
H A Dtcp_ipv4.c937 u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v4_send_ack() argument
960 rep.opt[1] = htonl(tsval); in tcp_v4_send_ack()
/linux/net/sched/
H A Dsch_cake.c1113 u32 *tsval, u32 *tsecr) in cake_tcph_get_tstamp() argument
1121 *tsval = get_unaligned_be32(ptr); in cake_tcph_get_tstamp()