Home
last modified time | relevance | path

Searched refs:fastopenq (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/net/core/
Drequest_sock.c38 spin_lock_init(&queue->fastopenq.lock); in reqsk_queue_alloc()
39 queue->fastopenq.rskq_rst_head = NULL; in reqsk_queue_alloc()
40 queue->fastopenq.rskq_rst_tail = NULL; in reqsk_queue_alloc()
41 queue->fastopenq.qlen = 0; in reqsk_queue_alloc()
95 struct fastopen_queue *fastopenq; in reqsk_fastopen_remove() local
97 fastopenq = &inet_csk(lsk)->icsk_accept_queue.fastopenq; in reqsk_fastopen_remove()
100 spin_lock_bh(&fastopenq->lock); in reqsk_fastopen_remove()
101 fastopenq->qlen--; in reqsk_fastopen_remove()
110 spin_unlock_bh(&fastopenq->lock); in reqsk_fastopen_remove()
122 if (fastopenq->rskq_rst_head == NULL) in reqsk_fastopen_remove()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_fastopen.c49 inet_csk(sk)->icsk_accept_queue.fastopenq.ctx, 1); in tcp_fastopen_destroy_cipher()
94 q = &inet_csk(sk)->icsk_accept_queue.fastopenq; in tcp_fastopen_reset_cipher()
119 ctx = rcu_dereference(icsk->icsk_accept_queue.fastopenq.ctx); in tcp_fastopen_get_cipher()
269 spin_lock(&queue->fastopenq.lock); in tcp_fastopen_create_child()
270 queue->fastopenq.qlen++; in tcp_fastopen_create_child()
271 spin_unlock(&queue->fastopenq.lock); in tcp_fastopen_create_child()
314 struct fastopen_queue *fastopenq; in tcp_fastopen_queue_check() local
326 fastopenq = &inet_csk(sk)->icsk_accept_queue.fastopenq; in tcp_fastopen_queue_check()
327 if (fastopenq->max_qlen == 0) in tcp_fastopen_queue_check()
330 if (fastopenq->qlen >= fastopenq->max_qlen) { in tcp_fastopen_queue_check()
[all …]
Dinet_connection_sock.c524 spin_lock_bh(&queue->fastopenq.lock); in inet_csk_accept()
535 spin_unlock_bh(&queue->fastopenq.lock); in inet_csk_accept()
1086 if (queue->fastopenq.rskq_rst_head) { in inet_csk_listen_stop()
1088 spin_lock_bh(&queue->fastopenq.lock); in inet_csk_listen_stop()
1089 req = queue->fastopenq.rskq_rst_head; in inet_csk_listen_stop()
1090 queue->fastopenq.rskq_rst_head = NULL; in inet_csk_listen_stop()
1091 spin_unlock_bh(&queue->fastopenq.lock); in inet_csk_listen_stop()
Dtcp_ipv4.c2568 const struct fastopen_queue *fastopenq = &icsk->icsk_accept_queue.fastopenq; in get_tcp4_sock() local
2619 fastopenq->max_qlen : in get_tcp4_sock()
Daf_inet.c226 !inet_csk(sk)->icsk_accept_queue.fastopenq.max_qlen) { in inet_listen()
Dtcp.c3872 val = icsk->icsk_accept_queue.fastopenq.max_qlen; in do_tcp_getsockopt()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dbpf_iter_tcp4.c79 const struct fastopen_queue *fastopenq; in dump_tcp_sock() local
92 fastopenq = &icsk->icsk_accept_queue.fastopenq; in dump_tcp_sock()
141 state == TCP_LISTEN ? fastopenq->max_qlen in dump_tcp_sock()
Dbpf_iter_tcp6.c79 const struct fastopen_queue *fastopenq; in dump_tcp6_sock() local
92 fastopenq = &icsk->icsk_accept_queue.fastopenq; in dump_tcp6_sock()
145 state == TCP_LISTEN ? fastopenq->max_qlen in dump_tcp6_sock()
/kernel/linux/linux-5.10/include/net/
Drequest_sock.h183 struct fastopen_queue fastopenq; /* Check max_qlen != 0 to determine member
Dtcp.h1707 ctx = rcu_dereference(inet_csk(sk)->icsk_accept_queue.fastopenq.ctx); in tcp_fastopen_get_ctx()
/kernel/linux/linux-5.10/include/linux/
Dtcp.h495 queue->fastopenq.max_qlen = min_t(unsigned int, backlog, somaxconn); in fastopen_queue_tune()
/kernel/linux/linux-5.10/net/ipv6/
Dtcp_ipv6.c1988 const struct fastopen_queue *fastopenq = &icsk->icsk_accept_queue.fastopenq; in get_tcp6_sock() local
2046 fastopenq->max_qlen : in get_tcp6_sock()
/kernel/linux/linux-5.10/Documentation/networking/
Dsnmp_counter.rst950 fastopenq->max_qlen, the TCP stack will reject the fast open request
953 TcpExtTCPFastOpenPassiveFail. The fastopenq->max_qlen is set by the