| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | migrate_reuseport.c | 64 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 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()
|
| /linux/tools/testing/selftests/net/packetdrill/ |
| H A D | tcp_zerocopy_fastopen-client.pkt | 2 // 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 D | tcp_zerocopy_fastopen-server.pkt | 2 // Fastopen server zerocopy test:
|
| H A D | defaults.sh | 6 # Flush old cached data (fastopen cookies).
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_tcp_hdr_options.c | 491 /* 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 D | tcp_metrics.yaml | 17 name: tcp-fastopen-cookie-max 66 min-len: tcp-fastopen-cookie-max
|
| /linux/net/ipv4/ |
| H A D | tcp_fastopen.c | 76 * 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 D | tcp_minisocks.c | 685 * 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 D | tcp_ipv4.c | 498 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 D | af_inet.c | 213 * 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 D | tcp_timer.c | 465 /* Add one more retry for fastopen. in tcp_fastopen_synack_timer()
|
| /linux/tools/include/uapi/linux/ |
| H A D | tcp.h | 113 #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 D | Makefile | 5 mib.o pm_netlink.o sockopt.o pm_userspace.o fastopen.o sched.o \
|
| H A D | fastopen.c | 39 /* We copy the fastopen data, but that don't belong to the mptcp sequence in mptcp_fastopen_subflow_synack_set_params()
|
| H A D | protocol.c | 1798 /* 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 D | subflow.c | 468 * even for the FASTOPEN scenarios in __mptcp_sync_state()
|
| /linux/tools/testing/selftests/net/netfilter/packetdrill/ |
| H A D | common.sh | 9 # Flush old cached data (fastopen cookies).
|
| /linux/tools/perf/trace/beauty/ |
| H A D | msg_flags.c | 66 P_MSG_FLAG(FASTOPEN); in syscall_arg__scnprintf_msg_flags()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_tcp_hdr_options.h | 33 bool fastopen; /* passive side only */ member
|
| /linux/net/ipv6/ |
| H A D | tcp_ipv6.c | 401 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 D | smc_clc.h | 53 #define SMC_CLC_DECL_OPTUNSUPP 0x03060000 /* fastopen sockopt not supported */
|
| /linux/include/net/ |
| H A D | dropreason-core.h | 333 /** @SKB_DROP_REASON_TCP_FASTOPEN: dropped by FASTOPEN request socket */
|
| H A D | tcp.h | 485 struct request_sock *req, bool fastopen, 2154 /* Fastopen key context */
|
| /linux/tools/testing/selftests/net/ |
| H A D | reuseport_bpf.c | 580 /* TCP fastopen is required for the TCP tests */ in main()
|