/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | migrate_reuseport.c | 59 bool fastopen; member 68 .fastopen = false, 76 .fastopen = true, 84 .fastopen = false, 92 .fastopen = false, 100 .fastopen = false, 108 .fastopen = true, 116 .fastopen = false, 124 .fastopen = false, 259 if (test_case->fastopen) { in start_servers() 297 int fastopen = 1; start_clients() local [all...] |
H A D | tcp_hdr_options.c | 56 fprintf(stderr, "%s{active:%u, resend_syn:%u, syncookie:%u, fastopen:%u}\n", in print_hdr_stg() 58 hdr_stg->syncookie, hdr_stg->fastopen); in print_hdr_stg() 133 if (!ASSERT_EQ(ret, sizeof(fast), "read fastopen syn data")) { in sk_fds_connect() 311 exp_passive_hdr_stg.fastopen = true; in fastopen_estab() 315 /* Allow fastopen without fastopen cookie */ in fastopen_estab()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_minisocks.c | 569 * Note: If @fastopen is true, this can be called from process context. 575 bool fastopen, bool *req_stolen) in tcp_check_req() 637 if (!fastopen) in tcp_check_req() 702 if ((flg & TCP_FLAG_ACK) && !fastopen && in tcp_check_req() 761 if (fastopen) in tcp_check_req() 808 } else if (fastopen) { /* received a valid RST pkt */ in tcp_check_req() 812 if (!fastopen) { in tcp_check_req() 573 tcp_check_req(struct sock *sk, struct sk_buff *skb, struct request_sock *req, bool fastopen, bool *req_stolen) tcp_check_req() argument
|
H A D | tcp_fastopen.c | 166 /* Generate the fastopen cookie by applying SipHash to both the source and 297 /* Now finish processing the fastopen child socket. */ in tcp_fastopen_create_child() 317 /* Make sure the listener has enabled fastopen, and we don't in tcp_fastopen_queue_check() 385 goto fastopen; in tcp_try_fastopen() 406 fastopen: in tcp_try_fastopen()
|
H A D | tcp_ipv4.c | 482 struct request_sock *fastopen; in tcp_v4_err() local 528 fastopen = rcu_dereference(tp->fastopen_rsk); in tcp_v4_err() 529 snd_una = fastopen ? tcp_rsk(fastopen)->snt_isn : tp->snd_una; in tcp_v4_err() 573 if (!fastopen && in tcp_v4_err() 590 if (fastopen && !fastopen->sk) in tcp_v4_err()
|
H A D | tcp_output.c | 500 * "req" is also used here for fastopen even the "sk" here is in bpf_skops_hdr_opt_len() 502 * consistent between fastopen and non-fastopen on in bpf_skops_hdr_opt_len() 764 struct tcp_fastopen_request *fastopen = tp->fastopen_req; in tcp_syn_options() local 807 if (fastopen && fastopen->cookie.len >= 0) { in tcp_syn_options() 808 u32 need = fastopen->cookie.len; in tcp_syn_options() 810 need += fastopen->cookie.exp ? TCPOLEN_EXP_FASTOPEN_BASE : in tcp_syn_options() 815 opts->fastopen_cookie = &fastopen->cookie; in tcp_syn_options() 818 tp->syn_fastopen_exp = fastopen in tcp_syn_options() [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_minisocks.c | 595 * Note: If @fastopen is true, this can be called from process context. 601 bool fastopen, bool *req_stolen) in tcp_check_req() 662 if (!fastopen) in tcp_check_req() 727 if ((flg & TCP_FLAG_ACK) && !fastopen && in tcp_check_req() 786 if (fastopen) in tcp_check_req() 836 } else if (fastopen) { /* received a valid RST pkt */ in tcp_check_req() 840 if (!fastopen) { in tcp_check_req() 599 tcp_check_req(struct sock *sk, struct sk_buff *skb, struct request_sock *req, bool fastopen, bool *req_stolen) tcp_check_req() argument
|
H A D | tcp_fastopen.c | 149 /* Generate the fastopen cookie by applying SipHash to both the source and 281 /* Now finish processing the fastopen child socket. */ in tcp_fastopen_create_child() 301 /* Make sure the listener has enabled fastopen, and we don't in tcp_fastopen_queue_check() 369 goto fastopen; in tcp_try_fastopen() 390 fastopen: in tcp_try_fastopen()
|
H A D | tcp_output.c | 509 * "req" is also used here for fastopen even the "sk" here is in bpf_skops_hdr_opt_len() 511 * consistent between fastopen and non-fastopen on in bpf_skops_hdr_opt_len() 774 struct tcp_fastopen_request *fastopen = tp->fastopen_req; in tcp_syn_options() local 817 if (fastopen && fastopen->cookie.len >= 0) { in tcp_syn_options() 818 u32 need = fastopen->cookie.len; in tcp_syn_options() 820 need += fastopen->cookie.exp ? TCPOLEN_EXP_FASTOPEN_BASE : in tcp_syn_options() 825 opts->fastopen_cookie = &fastopen->cookie; in tcp_syn_options() 828 tp->syn_fastopen_exp = fastopen in tcp_syn_options() [all...] |
H A D | tcp_ipv4.c | 483 struct request_sock *fastopen; in tcp_v4_err() local 532 fastopen = rcu_dereference(tp->fastopen_rsk); in tcp_v4_err() 533 snd_una = fastopen ? tcp_rsk(fastopen)->snt_isn : tp->snd_una; in tcp_v4_err() 577 if (!fastopen && in tcp_v4_err() 594 if (fastopen && !fastopen->sk) in tcp_v4_err()
|
/kernel/linux/linux-6.6/net/mptcp/ |
H A D | Makefile | 5 mib.o pm_netlink.o sockopt.o pm_userspace.o fastopen.o sched.o
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_hdr_options.c | 505 init_stg.fastopen = true; in handle_passive_estab() 547 if (hdr_stg->resend_syn || hdr_stg->fastopen) in handle_parse_hdr() 554 * - Passive side: SYNACK during fastopen in handle_parse_hdr() 571 if (hdr_stg->fastopen && !passive_fin_out.flags) in handle_parse_hdr() 572 /* Passive side was in fastopen. in handle_parse_hdr()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_hdr_options.c | 505 init_stg.fastopen = true; in handle_passive_estab() 547 if (hdr_stg->resend_syn || hdr_stg->fastopen) in handle_parse_hdr() 554 * - Passive side: SYNACK during fastopen in handle_parse_hdr() 571 if (hdr_stg->fastopen && !passive_fin_out.flags) in handle_parse_hdr() 572 /* Passive side was in fastopen. in handle_parse_hdr()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_tcp_hdr_options.h | 33 bool fastopen; /* passive side only */ member
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_tcp_hdr_options.h | 33 bool fastopen; /* passive side only */ member
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | tcp_ipv6.c | 385 struct request_sock *fastopen; in tcp_v6_err() local 429 fastopen = rcu_dereference(tp->fastopen_rsk); in tcp_v6_err() 430 snd_una = fastopen ? tcp_rsk(fastopen)->snt_isn : tp->snd_una; in tcp_v6_err() 483 if (fastopen && !fastopen->sk) in tcp_v6_err() 502 if (!fastopen && type == ICMPV6_DEST_UNREACH && in tcp_v6_err()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | tcp_hdr_options.c | 79 fprintf(stderr, "%s{active:%u, resend_syn:%u, syncookie:%u, fastopen:%u}\n", in print_hdr_stg() 81 hdr_stg->syncookie, hdr_stg->fastopen); in print_hdr_stg() 164 if (CHECK(ret != sizeof(fast), "read fastopen syn data", in sk_fds_connect() 347 exp_passive_hdr_stg.fastopen = true; in fastopen_estab() 351 /* Allow fastopen without fastopen cookie */ in fastopen_estab()
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | tcp_ipv6.c | 385 struct request_sock *fastopen; in tcp_v6_err() local 432 fastopen = rcu_dereference(tp->fastopen_rsk); in tcp_v6_err() 433 snd_una = fastopen ? tcp_rsk(fastopen)->snt_isn : tp->snd_una; in tcp_v6_err() 486 if (fastopen && !fastopen->sk) in tcp_v6_err() 506 if (!fastopen && type == ICMPV6_DEST_UNREACH && in tcp_v6_err()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | tcp.h | 379 struct request_sock *req, bool fastopen,
|
/kernel/linux/linux-6.6/include/net/ |
H A D | tcp.h | 388 struct request_sock *req, bool fastopen,
|