Lines Matching refs:new_sock
909 struct nfc_llcp_sock *sock, *new_sock; in nfc_llcp_recv_connect() local
976 new_sock = nfc_llcp_sock(new_sk); in nfc_llcp_recv_connect()
978 new_sock->local = nfc_llcp_local_get(local); in nfc_llcp_recv_connect()
979 if (!new_sock->local) { in nfc_llcp_recv_connect()
981 sock_put(&new_sock->sk); in nfc_llcp_recv_connect()
987 new_sock->dev = local->dev; in nfc_llcp_recv_connect()
988 new_sock->rw = sock->rw; in nfc_llcp_recv_connect()
989 new_sock->miux = sock->miux; in nfc_llcp_recv_connect()
990 new_sock->nfc_protocol = sock->nfc_protocol; in nfc_llcp_recv_connect()
991 new_sock->dsap = ssap; in nfc_llcp_recv_connect()
992 new_sock->target_idx = local->target_idx; in nfc_llcp_recv_connect()
993 new_sock->parent = parent; in nfc_llcp_recv_connect()
994 new_sock->ssap = sock->ssap; in nfc_llcp_recv_connect()
998 pr_debug("reserved_ssap %d for %p\n", sock->ssap, new_sock); in nfc_llcp_recv_connect()
1004 new_sock->reserved_ssap = sock->ssap; in nfc_llcp_recv_connect()
1007 nfc_llcp_parse_connection_tlv(new_sock, &skb->data[LLCP_HEADER_SIZE], in nfc_llcp_recv_connect()
1010 pr_debug("new sock %p sk %p\n", new_sock, &new_sock->sk); in nfc_llcp_recv_connect()
1024 nfc_llcp_send_cc(new_sock); in nfc_llcp_recv_connect()