/linux-master/include/net/netfilter/ |
H A D | nf_synproxy.h | 40 u32 tsval; member in struct:synproxy_options
|
/linux-master/net/netfilter/ |
H A D | nf_synproxy_core.c | 78 opts->tsval = get_unaligned_be32(ptr); 137 *ptr++ = htonl(opts->tsval); 155 opts->tsecr = opts->tsval; 156 opts->tsval = tcp_clock_ms() & ~0x3f; 159 opts->tsval |= opts->wscale; 162 opts->tsval |= 0xf; 165 opts->tsval |= 1 << 4; 168 opts->tsval |= 1 << 5; 724 synproxy->tsoff = opts.tsval - synproxy->its; 732 swap(opts.tsval, opt [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_custom_syncookie.c | 222 __u32 *tsval, *tsecr; local 258 tsval = next(ctx, 4); 260 if (*opsize == TCPOLEN_TIMESTAMP && tsval && tsecr) { 261 ctx->attrs.rcv_tsval = get_unaligned_be32(tsval);
|
H A D | xdp_synproxy_kern.c | 249 /* Client's tsval becomes our tsecr. */ 275 __u16 tcp_len, __be32 *tsval, 305 *tsval = bpf_htonl(cookie); 274 tscookie_init(struct tcphdr *tcp_header, __u16 tcp_len, __be32 *tsval, __be32 *tsecr, void *data, void *data_end) argument
|
/linux-master/net/ipv6/ |
H A D | tcp_ipv6.c | 865 u32 ack, u32 win, u32 tsval, u32 tsecr, 921 *topt++ = htonl(tsval); 1145 u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, 1149 tcp_v6_send_response(sk, skb, seq, ack, win, tsval, tsecr, oif, 0, 864 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) argument 1144 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) argument
|
/linux-master/tools/testing/selftests/net/ |
H A D | gro.c | 425 uint32_t tsval; member in struct:tcp_option_ts 448 opt_ts->tsval = ts;
|
/linux-master/net/ipv4/ |
H A D | tcp_output.c | 450 __u32 tsval, tsecr; /* need to include OPTION_TS */ member in struct:tcp_out_options 691 *ptr++ = htonl(opts->tsval); 846 opts->tsval = tcp_skb_timestamp_ts(tp->tcp_usec_ts, skb) + tp->tsoffset; 933 opts->tsval = tcp_skb_timestamp_ts(tcp_rsk(req)->req_usec_ts, skb) + 990 opts->tsval = skb ? tcp_skb_timestamp_ts(tp->tcp_usec_ts, skb) +
|
H A D | tcp_ipv4.c | 920 u32 win, u32 tsval, u32 tsecr, int oif, 943 rep.opt[1] = htonl(tsval); 918 tcp_v4_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, int reply_flags, u8 tos, u32 txhash) argument
|
/linux-master/net/sched/ |
H A D | sch_cake.c | 1067 u32 *tsval, u32 *tsecr) 1075 *tsval = get_unaligned_be32(ptr); 1066 cake_tcph_get_tstamp(const struct tcphdr *tcph, u32 *tsval, u32 *tsecr) argument
|