Home
last modified time | relevance | path

Searched full:fastopen (Results 1 – 25 of 28) sorted by relevance

12

/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.c56 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()
/linux/tools/testing/selftests/net/packetdrill/
H A Dtcp_zerocopy_fastopen-client.pkt2 // Fastopen client zerocopy test:
7 // Fastopen requires a stored cookie. Create two sockets. The first
15 // Send a FastOpen request, no cookie yet so no data in SYN
35 // Send another Fastopen request, now SYN will have data
H A Dtcp_zerocopy_fastopen-server.pkt2 // Fastopen server zerocopy test:
H A Ddefaults.sh6 # Flush old cached data (fastopen cookies).
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_hdr_options.c491 /* Fastopen */ in handle_passive_estab()
502 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/Documentation/netlink/specs/
H A Dtcp_metrics.yaml17 name: tcp-fastopen-cookie-max
66 min-len: tcp-fastopen-cookie-max
/linux/net/ipv4/
H A Dtcp_fastopen.c76 * counting the req against fastopen.max_qlen, and disabling in reqsk_fastopen_remove()
237 /* Generate the fastopen cookie by applying SipHash to both the source and
371 /* Now finish processing the fastopen child socket. */ in tcp_fastopen_create_child()
392 /* Make sure the listener has enabled fastopen, and we don't in tcp_fastopen_queue_check()
460 goto fastopen; in tcp_try_fastopen()
481 fastopen: in tcp_try_fastopen()
H A Dtcp_minisocks.c685 * Note: If @fastopen is true, this can be called from process context.
691 bool fastopen, bool *req_stolen, in tcp_check_req() argument
710 if (inet_rsk(req)->tstamp_ok && !fastopen) in tcp_check_req()
771 if (!fastopen) in tcp_check_req()
838 if ((flg & TCP_FLAG_ACK) && !fastopen && in tcp_check_req()
909 if (fastopen) in tcp_check_req()
964 } else if (fastopen) { /* received a valid RST pkt */ in tcp_check_req()
968 if (!fastopen) { in tcp_check_req()
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 Daf_inet.c213 * Also fastopen backlog may already been set via the option in __inet_listen_sk()
640 * sk is a TCP fastopen active socket and in __inet_stream_connect()
H A Dtcp_timer.c465 /* Add one more retry for fastopen. in tcp_fastopen_synack_timer()
/linux/tools/include/uapi/linux/
H A Dtcp.h113 #define TCP_FASTOPEN 23 /* Enable FastOpen on listeners */
120 #define TCP_FASTOPEN_CONNECT 30 /* Attempt FastOpen with connect */
158 /* why fastopen failed from client perspective */
/linux/net/mptcp/
H A DMakefile5 mib.o pm_netlink.o sockopt.o pm_userspace.o fastopen.o sched.o \
H A Dfastopen.c39 /* We copy the fastopen data, but that don't belong to the mptcp sequence in mptcp_fastopen_subflow_synack_set_params()
H A Dprotocol.c1798 /* on flags based fastopen the mptcp is supposed to create the in mptcp_sendmsg_fastopen()
1802 * fastopen attempt, no need to check for additional subflow status. in mptcp_sendmsg_fastopen()
3424 /* We are on the fastopen error path. We can't call straight into the in mptcp_disconnect()
4001 /* if reaching here via the fastopen/sendmsg path, the caller already in mptcp_connect()
H A Dsubflow.c468 * even for the FASTOPEN scenarios in __mptcp_sync_state()
/linux/tools/testing/selftests/net/netfilter/packetdrill/
H A Dcommon.sh9 # Flush old cached data (fastopen cookies).
/linux/tools/perf/trace/beauty/
H A Dmsg_flags.c66 P_MSG_FLAG(FASTOPEN); in syscall_arg__scnprintf_msg_flags()
/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.c401 struct request_sock *fastopen; in tcp_v6_err() local
454 fastopen = rcu_dereference(tp->fastopen_rsk); in tcp_v6_err()
455 snd_una = fastopen ? tcp_rsk(fastopen)->snt_isn : tp->snd_una; in tcp_v6_err()
508 if (fastopen && !fastopen->sk) in tcp_v6_err()
524 if (!fastopen && type == ICMPV6_DEST_UNREACH && in tcp_v6_err()
/linux/net/smc/
H A Dsmc_clc.h53 #define SMC_CLC_DECL_OPTUNSUPP 0x03060000 /* fastopen sockopt not supported */
/linux/include/net/
H A Ddropreason-core.h333 /** @SKB_DROP_REASON_TCP_FASTOPEN: dropped by FASTOPEN request socket */
H A Dtcp.h485 struct request_sock *req, bool fastopen,
2154 /* Fastopen key context */
/linux/tools/testing/selftests/net/
H A Dreuseport_bpf.c580 /* TCP fastopen is required for the TCP tests */ in main()

12