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.c81 opts->tsval = get_unaligned_be32(ptr); in synproxy_parse_options()
140 *ptr++ = htonl(opts->tsval); in synproxy_build_options()
158 opts->tsecr = opts->tsval; in synproxy_init_timestamp_cookie()
159 opts->tsval = tcp_clock_ms() & ~0x3f; in synproxy_init_timestamp_cookie()
162 opts->tsval |= opts->wscale; in synproxy_init_timestamp_cookie()
165 opts->tsval |= 0xf; in synproxy_init_timestamp_cookie()
168 opts->tsval |= 1 << 4; in synproxy_init_timestamp_cookie()
171 opts->tsval |= 1 << 5; in synproxy_init_timestamp_cookie()
727 synproxy->tsoff = opts.tsval - synproxy->its; in ipv4_synproxy_hook()
735 swap(opts.tsval, opt 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/ipv4/
H A Dtcp_output.c440 __u32 tsval, tsecr; /* need to include OPTION_TS */
691 *ptr++ = htonl(opts->tsval); in tcp_options_write()
997 opts->tsval = tcp_skb_timestamp_ts(tp->tcp_usec_ts, skb) + tp->tsoffset; in tcp_syn_options()
1102 opts->tsval = tcp_skb_timestamp_ts(tcp_rsk(req)->req_usec_ts, skb) + in tcp_synack_options()
1105 if (!opts->tsval) in tcp_synack_options()
1106 opts->tsval = ~0U; in tcp_synack_options()
1107 tcp_rsk(req)->snt_tsval_first = opts->tsval; in tcp_synack_options()
1109 WRITE_ONCE(tcp_rsk(req)->snt_tsval_last, opts->tsval); in tcp_synack_options()
1172 opts->tsval = skb ? tcp_skb_timestamp_ts(tp->tcp_usec_ts, skb) + in tcp_established_options()
446 __u32 tsval, tsecr; /* need to include OPTION_TS */ global() member
H A Dtcp_ipv4.c911 u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v4_send_ack() argument
934 rep.opt[1] = htonl(tsval); in tcp_v4_send_ack()
/linux/net/ipv6/
H A Dtcp_ipv6.c848 u32 ack, u32 win, u32 tsval, u32 tsecr, in tcp_v6_send_response()
904 *topt++ = htonl(tsval); 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/tools/testing/selftests/drivers/net/
H A Dgro.c
/linux/net/sched/
H A Dsch_cake.c1132 u32 *tsval, u32 *tsecr) in cake_tcph_get_tstamp() argument
1140 *tsval = get_unaligned_be32(ptr); in cake_tcph_get_tstamp()