Home
last modified time | relevance | path

Searched refs:lsk (Results 1 – 9 of 9) sorted by relevance

/net/core/
Drequest_sock.c91 struct sock *lsk = req->rsk_listener; in reqsk_fastopen_remove() local
94 fastopenq = &inet_csk(lsk)->icsk_accept_queue.fastopenq; in reqsk_fastopen_remove()
103 if (!reset || lsk->sk_state != TCP_LISTEN) { in reqsk_fastopen_remove()
/net/mptcp/
Dmptcp_diag.c210 struct sock *lsk = READ_ONCE(msk->first); in mptcp_diag_get_info() local
212 if (lsk) { in mptcp_diag_get_info()
216 r->idiag_rqueue = READ_ONCE(lsk->sk_ack_backlog); in mptcp_diag_get_info()
217 r->idiag_wqueue = READ_ONCE(lsk->sk_max_ack_backlog); in mptcp_diag_get_info()
Dpm_netlink.c935 if (entry->lsk) in __mptcp_pm_release_addr_entry()
936 sock_release(entry->lsk); in __mptcp_pm_release_addr_entry()
1049 SOCK_STREAM, IPPROTO_MPTCP, &entry->lsk); in mptcp_pm_nl_create_listen_socket()
1053 newsk = entry->lsk->sk; in mptcp_pm_nl_create_listen_socket()
1132 entry->lsk = NULL; in mptcp_pm_nl_get_local_id()
Dprotocol.h244 struct socket *lsk; member
/net/nfc/
Dllcp_sock.c411 struct nfc_llcp_sock *lsk, *n, *llcp_parent; in nfc_llcp_accept_dequeue() local
416 list_for_each_entry_safe(lsk, n, &llcp_parent->accept_queue, in nfc_llcp_accept_dequeue()
418 sk = &lsk->sk; in nfc_llcp_accept_dequeue()
428 list_del_init(&lsk->accept_queue); in nfc_llcp_accept_dequeue()
619 struct nfc_llcp_sock *lsk, *n; in llcp_sock_release() local
622 list_for_each_entry_safe(lsk, n, &llcp_sock->accept_queue, in llcp_sock_release()
624 accept_sk = &lsk->sk; in llcp_sock_release()
627 nfc_llcp_send_disconnect(lsk); in llcp_sock_release()
Dllcp_core.c88 struct nfc_llcp_sock *lsk, *n; in nfc_llcp_socket_release() local
91 list_for_each_entry_safe(lsk, n, in nfc_llcp_socket_release()
94 accept_sk = &lsk->sk; in nfc_llcp_socket_release()
/net/l2tp/
Dl2tp_ip6.c423 struct l2tp_ip6_sock *lsk = l2tp_ip6_sk(sk); in l2tp_ip6_getname() local
430 if (!lsk->peer_conn_id) in l2tp_ip6_getname()
432 lsa->l2tp_conn_id = lsk->peer_conn_id; in l2tp_ip6_getname()
442 lsa->l2tp_conn_id = lsk->conn_id; in l2tp_ip6_getname()
Dl2tp_ip.c356 struct l2tp_ip_sock *lsk = l2tp_ip_sk(sk); in l2tp_ip_getname() local
364 lsa->l2tp_conn_id = lsk->peer_conn_id; in l2tp_ip_getname()
371 lsa->l2tp_conn_id = lsk->conn_id; in l2tp_ip_getname()
/net/smc/
Daf_smc.c1705 struct sock *lsk = &lsmc->sk; in smc_clcsock_accept() local
1709 release_sock(lsk); in smc_clcsock_accept()
1710 new_sk = smc_sock_alloc(sock_net(lsk), NULL, lsk->sk_protocol); in smc_clcsock_accept()
1713 lsk->sk_err = ENOMEM; in smc_clcsock_accept()
1715 lock_sock(lsk); in smc_clcsock_accept()
1724 lock_sock(lsk); in smc_clcsock_accept()
1726 lsk->sk_err = -rc; in smc_clcsock_accept()
1727 if (rc < 0 || lsk->sk_state == SMC_CLOSED) { in smc_clcsock_accept()
2521 struct sock *lsk = &lsmc->sk; in smc_tcp_listen_work() local
2525 lock_sock(lsk); in smc_tcp_listen_work()
[all …]