Home
last modified time | relevance | path

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

/linux/net/core/
H A Drequest_sock.c36 queue->fastopenq.rskq_rst_head = NULL; in reqsk_queue_alloc()
37 queue->fastopenq.rskq_rst_tail = NULL; in reqsk_queue_alloc()
38 queue->fastopenq.qlen = 0; in reqsk_queue_alloc()
92 struct fastopen_queue *fastopenq; in reqsk_fastopen_remove() local
94 fastopenq = &inet_csk(lsk)->icsk_accept_queue.fastopenq; in reqsk_fastopen_remove()
97 spin_lock_bh(&fastopenq->lock); in reqsk_fastopen_remove()
98 fastopenq->qlen--; in reqsk_fastopen_remove()
107 spin_unlock_bh(&fastopenq->lock); in reqsk_fastopen_remove()
119 if (fastopenq->rskq_rst_head == NULL) in reqsk_fastopen_remove()
120 fastopenq->rskq_rst_head = req; in reqsk_fastopen_remove()
[all …]
/linux/net/ipv4/
H A Dtcp_fastopen.c43 inet_csk(sk)->icsk_accept_queue.fastopenq.ctx, 1); in tcp_fastopen_destroy_cipher()
82 q = &inet_csk(sk)->icsk_accept_queue.fastopenq; in tcp_fastopen_reset_cipher()
103 ctx = rcu_dereference(icsk->icsk_accept_queue.fastopenq.ctx); in tcp_fastopen_get_cipher()
253 spin_lock(&queue->fastopenq.lock); in tcp_fastopen_create_child()
254 queue->fastopenq.qlen++; in tcp_fastopen_create_child()
255 spin_unlock(&queue->fastopenq.lock); in tcp_fastopen_create_child()
299 struct fastopen_queue *fastopenq; in tcp_fastopen_queue_check() local
312 fastopenq = &inet_csk(sk)->icsk_accept_queue.fastopenq; in tcp_fastopen_queue_check()
313 max_qlen = READ_ONCE(fastopenq->max_qlen); in tcp_fastopen_queue_check()
317 if (fastopenq->qlen >= max_qlen) { in tcp_fastopen_queue_check()
[all …]
H A Dinet_connection_sock.c700 spin_lock_bh(&queue->fastopenq.lock); in inet_csk_accept()
711 spin_unlock_bh(&queue->fastopenq.lock); in inet_csk_accept()
1006 /* We need not acquire fastopenq->lock in inet_reqsk_clone()
1521 if (queue->fastopenq.rskq_rst_head) { in inet_csk_listen_stop()
1523 spin_lock_bh(&queue->fastopenq.lock); in inet_csk_listen_stop()
1524 req = queue->fastopenq.rskq_rst_head; in inet_csk_listen_stop()
1525 queue->fastopenq.rskq_rst_head = NULL; in inet_csk_listen_stop()
1526 spin_unlock_bh(&queue->fastopenq.lock); in inet_csk_listen_stop()
H A Dtcp_ipv4.c2898 const struct fastopen_queue *fastopenq = &icsk->icsk_accept_queue.fastopenq; local
2949 fastopenq->max_qlen :
H A Daf_inet.c213 !inet_csk(sk)->icsk_accept_queue.fastopenq.max_qlen) { in __inet_listen_sk()
H A Dtcp.c4490 val = READ_ONCE(icsk->icsk_accept_queue.fastopenq.max_qlen); in do_tcp_getsockopt()
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_tcp4.c78 const struct fastopen_queue *fastopenq; in dump_tcp_sock() local
91 fastopenq = &icsk->icsk_accept_queue.fastopenq; in dump_tcp_sock()
140 state == TCP_LISTEN ? fastopenq->max_qlen in dump_tcp_sock()
H A Dbpf_iter_tcp6.c78 const struct fastopen_queue *fastopenq; in dump_tcp6_sock() local
91 fastopenq = &icsk->icsk_accept_queue.fastopenq; in dump_tcp6_sock()
144 state == TCP_LISTEN ? fastopenq->max_qlen in dump_tcp6_sock()
/linux/include/net/
H A Drequest_sock.h199 struct fastopen_queue fastopenq; /* Check max_qlen != 0 to determine member
H A Dinet_connection_sock.h363 spin_lock_init(&icsk->icsk_accept_queue.fastopenq.lock); in inet_init_csk_locks()
H A Dtcp.h1947 ctx = rcu_dereference(inet_csk(sk)->icsk_accept_queue.fastopenq.ctx); in tcp_fastopen_get_ctx()
/linux/include/linux/
H A Dtcp.h572 WRITE_ONCE(queue->fastopenq.max_qlen, min_t(unsigned int, backlog, somaxconn)); in fastopen_queue_tune()
/linux/net/ipv6/
H A Dtcp_ipv6.c2179 const struct fastopen_queue *fastopenq = &icsk->icsk_accept_queue.fastopenq; local
2237 fastopenq->max_qlen :
/linux/Documentation/networking/
H A Dsnmp_counter.rst946 fastopenq->max_qlen, the TCP stack will reject the fast open request
949 TcpExtTCPFastOpenPassiveFail. The fastopenq->max_qlen is set by the