Searched refs:tsval (Results 1 – 11 of 11) sorted by relevance
| /linux-6.15/net/netfilter/ |
| H A D | nf_synproxy_core.c | 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() 732 swap(opts.tsval, opts.tsecr); in ipv4_synproxy_hook() 738 swap(opts.tsval, opts.tsecr); in ipv4_synproxy_hook() 1155 swap(opts.tsval, opts.tsecr); in ipv6_synproxy_hook() [all …]
|
| /linux-6.15/tools/testing/selftests/net/packetdrill/ |
| H A D | tcp_ts_recent_invalid_ack.pkt | 20 // bad packet with high tsval (its ACK sequence is above our sndnxt)
|
| /linux-6.15/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()
|
| H A D | xdp_synproxy_kern.c | 275 __u16 tcp_len, __be32 *tsval, in tscookie_init() argument 305 *tsval = bpf_htonl(cookie); in tscookie_init()
|
| /linux-6.15/include/net/netfilter/ |
| H A D | nf_synproxy.h | 40 u32 tsval; member
|
| /linux-6.15/Documentation/netlink/specs/ |
| H A D | tcp_metrics.yaml | 42 name: tw-tsval
|
| /linux-6.15/net/ipv4/ |
| H A D | tcp_output.c | 457 __u32 tsval, tsecr; /* need to include OPTION_TS */ member 700 *ptr++ = htonl(opts->tsval); in tcp_options_write() 855 opts->tsval = tcp_skb_timestamp_ts(tp->tcp_usec_ts, skb) + tp->tsoffset; in tcp_syn_options() 944 opts->tsval = tcp_skb_timestamp_ts(tcp_rsk(req)->req_usec_ts, skb) + in tcp_synack_options() 947 if (!opts->tsval) in tcp_synack_options() 948 opts->tsval = ~0U; in tcp_synack_options() 949 tcp_rsk(req)->snt_tsval_first = opts->tsval; in tcp_synack_options() 951 WRITE_ONCE(tcp_rsk(req)->snt_tsval_last, opts->tsval); in tcp_synack_options() 1007 opts->tsval = skb ? tcp_skb_timestamp_ts(tp->tcp_usec_ts, skb) + in tcp_established_options()
|
| H A D | tcp_ipv4.c | 937 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-6.15/net/ipv6/ |
| H A D | tcp_ipv6.c | 865 u32 ack, u32 win, u32 tsval, u32 tsecr, in tcp_v6_send_response() argument 921 *topt++ = htonl(tsval); in tcp_v6_send_response() 1151 u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v6_send_ack() argument 1155 tcp_v6_send_response(sk, skb, seq, ack, win, tsval, tsecr, oif, 0, in tcp_v6_send_ack()
|
| /linux-6.15/tools/testing/selftests/net/ |
| H A D | gro.c | 429 uint32_t tsval; in tcp_write_options() member 452 opt_ts->tsval = ts; in tcp_write_options()
|
| /linux-6.15/net/sched/ |
| H A D | sch_cake.c | 1113 u32 *tsval, u32 *tsecr) in cake_tcph_get_tstamp() argument 1121 *tsval = get_unaligned_be32(ptr); in cake_tcph_get_tstamp()
|