Home
last modified time | relevance | path

Searched refs:fastopen (Results 1 – 11 of 11) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dmigrate_reuseport.c64 bool fastopen;
73 .fastopen = false,
81 .fastopen = true,
89 .fastopen = false,
97 .fastopen = false,
105 .fastopen = false,
113 .fastopen = true,
121 .fastopen = false,
129 .fastopen = false, in init_fds()
264 if (test_case->fastopen) { in start_servers()
59 bool fastopen; global() member
297 int fastopen = 1; start_clients() local
[all...]
H A Dtcp_hdr_options.c58 hdr_stg->syncookie, hdr_stg->fastopen); in print_hdr_stg()
311 exp_passive_hdr_stg.fastopen = true; in fastopen_estab()
/linux/net/ipv4/
H A Dtcp_minisocks.c683 * Note: If @fastopen is true, this can be called from process context.
689 bool fastopen, bool *req_stolen, in tcp_check_req()
708 if (inet_rsk(req)->tstamp_ok && !fastopen) in tcp_check_req()
769 if (!fastopen) in tcp_check_req()
836 if ((flg & TCP_FLAG_ACK) && !fastopen && in tcp_check_req()
907 if (fastopen) in tcp_check_req()
962 } else if (fastopen) { /* received a valid RST pkt */ in tcp_check_req()
966 if (!fastopen) { in tcp_check_req()
691 tcp_check_req(struct sock * sk,struct sk_buff * skb,struct request_sock * req,bool fastopen,bool * req_stolen,enum skb_drop_reason * drop_reason) tcp_check_req() argument
H A Dtcp_fastopen.c460 goto fastopen; in tcp_try_fastopen()
481 fastopen: in tcp_try_fastopen()
H A Dtcp_ipv4.c498 struct request_sock *fastopen; in tcp_v4_err() local
554 fastopen = rcu_dereference(tp->fastopen_rsk); in tcp_v4_err()
555 snd_una = fastopen ? tcp_rsk(fastopen)->snt_isn : tp->snd_una; in tcp_v4_err()
599 if (!fastopen && in tcp_v4_err()
616 if (fastopen && !fastopen->sk) in tcp_v4_err()
H A Dtcp_output.c500 * "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()
965 struct tcp_fastopen_request *fastopen = tp->fastopen_req; in tcp_syn_options()
1012 if (fastopen && fastopen->cookie.len >= 0) { in tcp_syn_options()
1013 u32 need = fastopen->cookie.len; in tcp_syn_options()
1015 need += fastopen->cookie.exp ? TCPOLEN_EXP_FASTOPEN_BASE : in tcp_syn_options()
1020 opts->fastopen_cookie = &fastopen->cookie; in tcp_syn_options()
1023 tp->syn_fastopen_exp = fastopen in tcp_syn_options()
970 struct tcp_fastopen_request *fastopen = tp->fastopen_req; tcp_syn_options() local
[all...]
/linux/net/mptcp/
H A DMakefile5 mib.o pm_netlink.o sockopt.o pm_userspace.o fastopen.o sched.o \
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_hdr_options.c502 init_stg.fastopen = true; in handle_passive_estab()
544 if (hdr_stg->resend_syn || hdr_stg->fastopen) in handle_parse_hdr()
551 * - Passive side: SYNACK during fastopen in handle_parse_hdr()
568 if (hdr_stg->fastopen && !passive_fin_out.flags) in handle_parse_hdr()
569 /* Passive side was in fastopen. in handle_parse_hdr()
/linux/tools/testing/selftests/bpf/
H A Dtest_tcp_hdr_options.h33 bool fastopen; /* passive side only */ member
/linux/net/ipv6/
H A Dtcp_ipv6.c409 struct request_sock *fastopen; in tcp_v6_err()
462 fastopen = rcu_dereference(tp->fastopen_rsk); in tcp_v6_err()
463 snd_una = fastopen ? tcp_rsk(fastopen)->snt_isn : tp->snd_una; in tcp_v6_err()
516 if (fastopen && !fastopen->sk) in tcp_v6_err()
532 if (!fastopen && type == ICMPV6_DEST_UNREACH && in tcp_v6_err()
401 struct request_sock *fastopen; tcp_v6_err() local
/linux/include/net/
H A Dtcp.h482 struct request_sock *req, bool fastopen,