Searched refs:tsval (Results 1 – 8 of 8) sorted by relevance
| /linux/net/netfilter/ |
| H A D | nf_synproxy_core.c | 79 opts->tsval = get_unaligned_be32(ptr); in synproxy_parse_options() 138 *ptr++ = htonl(opts->tsval); in synproxy_build_options() 156 opts->tsecr = opts->tsval; in synproxy_init_timestamp_cookie() 157 opts->tsval = tcp_clock_ms() & ~0x3f; in synproxy_init_timestamp_cookie() 160 opts->tsval |= opts->wscale; in synproxy_init_timestamp_cookie() 163 opts->tsval |= 0xf; in synproxy_init_timestamp_cookie() 166 opts->tsval |= 1 << 4; in synproxy_init_timestamp_cookie() 169 opts->tsval |= 1 << 5; in synproxy_init_timestamp_cookie() 725 synproxy->tsoff = opts.tsval - synproxy->its; in ipv4_synproxy_hook() 733 swap(opts.tsval, opt in ipv4_synproxy_hook() [all...] |
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_tcp_custom_syncookie.c | 223 __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 D | nf_synproxy.h | 40 u32 tsval; member
|
| /linux/net/ipv4/ |
| H A D | tcp_output.c | 441 __u32 tsval, tsecr; /* need to include OPTION_TS */ in bpf_skops_write_hdr_opt_arg0() 691 *ptr++ = htonl(opts->tsval); in tcp_options_write() 995 opts->tsval = tcp_skb_timestamp_ts(tp->tcp_usec_ts, skb) + tp->tsoffset; in tcp_syn_options() 1099 opts->tsval = tcp_skb_timestamp_ts(tcp_rsk(req)->req_usec_ts, skb) + in tcp_synack_options() 1102 if (!opts->tsval) in tcp_synack_options() 1103 opts->tsval = ~0U; in tcp_synack_options() 1104 tcp_rsk(req)->snt_tsval_first = opts->tsval; in tcp_synack_options() 1106 WRITE_ONCE(tcp_rsk(req)->snt_tsval_last, opts->tsval); in tcp_synack_options() 1169 opts->tsval = skb ? tcp_skb_timestamp_ts(tp->tcp_usec_ts, skb) + in tcp_established_options() 419 __u32 tsval, tsecr; /* need to include OPTION_TS */ global() member
|
| H A D | tcp_ipv4.c | 934 u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v4_send_ack() argument 957 rep.opt[1] = htonl(tsval); in tcp_v4_send_ack()
|
| /linux/net/ipv6/ |
| H A D | tcp_ipv6.c | 823 u32 ack, u32 win, u32 tsval, u32 tsecr, in tcp_v6_send_response() argument 879 *topt++ = htonl(tsval); in tcp_v6_send_response() 1109 u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v6_send_ack() argument 1113 tcp_v6_send_response(sk, skb, seq, ack, win, tsval, tsecr, oif, 0, in tcp_v6_send_ack()
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | gro.c | 503 uint32_t tsval; in add_standard_tcp_options() 526 opt_ts->tsval = ts; in send_changed_checksum() 450 uint32_t tsval; tcp_write_options() member
|
| /linux/net/sched/ |
| H A D | sch_cake.c | 1126 u32 *tsval, u32 *tsecr) in cake_tcph_get_tstamp() argument 1134 *tsval = get_unaligned_be32(ptr); in cake_tcph_get_tstamp()
|