Lines Matching refs:lsk
623 struct sock *listen_sk = listen_ctx->lsk; in chtls_reset_synq()
674 ctx->lsk = sk; in chtls_listen_start()
779 cxgb4_free_stid(cdev->tids, stid, listen_ctx->lsk->sk_family); in chtls_pass_open_rpl()
780 sock_put(listen_ctx->lsk); in chtls_pass_open_rpl()
802 cxgb4_free_stid(cdev->tids, stid, listen_ctx->lsk->sk_family); in chtls_close_listsrv_rpl()
803 sock_put(listen_ctx->lsk); in chtls_close_listsrv_rpl()
891 static void bl_pass_open_abort(struct sock *lsk, struct sk_buff *skb) in bl_pass_open_abort() argument
893 pass_open_abort(skb->sk, lsk, skb); in bl_pass_open_abort()
920 parent = ((struct listen_ctx *)data)->lsk; in chtls_pass_open_arp_failure()
1073 struct sock *lsk, struct sock *newsk) in inet_inherit_port() argument
1076 __inet_inherit_port(lsk, newsk); in inet_inherit_port()
1109 static struct sock *chtls_recv_sock(struct sock *lsk, in chtls_recv_sock() argument
1131 newsk = tcp_create_openreq_child(lsk, oreq, cdev->askb); in chtls_recv_sock()
1135 if (lsk->sk_family == AF_INET) { in chtls_recv_sock()
1136 dst = inet_csk_route_child_sock(lsk, newsk, oreq); in chtls_recv_sock()
1154 dst = ip6_dst_lookup_flow(sock_net(lsk), lsk, &fl6, NULL); in chtls_recv_sock()
1199 struct ipv6_pinfo *np = inet6_sk(lsk); in chtls_recv_sock()
1217 ctx = tls_get_ctx(lsk); in chtls_recv_sock()
1219 newsk->sk_prot_creator = lsk->sk_prot_creator; in chtls_recv_sock()
1243 inet_inherit_port(&tcp_hashinfo, lsk, newsk); in chtls_recv_sock()
1433 struct sock *lsk; in chtls_pass_accept_req() local
1444 lsk = ctx->lsk; in chtls_pass_accept_req()
1452 process_cpl_msg(chtls_pass_accept_request, lsk, skb); in chtls_pass_accept_req()
1537 static void add_pass_open_to_parent(struct sock *child, struct sock *lsk, in add_pass_open_to_parent() argument
1543 if (lsk->sk_state != TCP_LISTEN) in add_pass_open_to_parent()
1550 reqsk_queue_removed(&inet_csk(lsk)->icsk_accept_queue, oreq); in add_pass_open_to_parent()
1553 if (sk_acceptq_is_full(lsk)) { in add_pass_open_to_parent()
1558 inet_csk_reqsk_queue_add(lsk, oreq, child); in add_pass_open_to_parent()
1559 lsk->sk_data_ready(lsk); in add_pass_open_to_parent()
1563 static void bl_add_pass_open_to_parent(struct sock *lsk, struct sk_buff *skb) in bl_add_pass_open_to_parent() argument
1568 add_pass_open_to_parent(child, lsk, BLOG_SKB_CB(skb)->cdev); in bl_add_pass_open_to_parent()
1576 struct sock *lsk, *sk; in chtls_pass_establish() local
1607 lsk = ((struct listen_ctx *)data)->lsk; in chtls_pass_establish()
1609 bh_lock_sock(lsk); in chtls_pass_establish()
1612 bh_unlock_sock(lsk); in chtls_pass_establish()
1617 if (likely(!sock_owned_by_user(lsk))) { in chtls_pass_establish()
1619 add_pass_open_to_parent(sk, lsk, cdev); in chtls_pass_establish()
1625 __sk_add_backlog(lsk, skb); in chtls_pass_establish()
1627 bh_unlock_sock(lsk); in chtls_pass_establish()
2054 static void bl_abort_syn_rcv(struct sock *lsk, struct sk_buff *skb) in bl_abort_syn_rcv() argument
2067 do_abort_syn_rcv(child, lsk); in bl_abort_syn_rcv()
2091 psk = listen_ctx->lsk; in abort_syn_rcv()