Home
last modified time | relevance | path

Searched refs:conn_id (Results 1 – 8 of 8) sorted by relevance

/net/nfc/nci/
Ddata.c39 __u8 conn_id, int err) in nci_data_exchange_complete() argument
45 conn_info = nci_get_conn_info_by_conn_id(ndev, conn_id); in nci_data_exchange_complete()
77 __u8 conn_id, in nci_push_data_hdr() argument
85 hdr->conn_id = conn_id; in nci_push_data_hdr()
93 int nci_conn_max_data_pkt_payload_size(struct nci_dev *ndev, __u8 conn_id) in nci_conn_max_data_pkt_payload_size() argument
97 conn_info = nci_get_conn_info_by_conn_id(ndev, conn_id); in nci_conn_max_data_pkt_payload_size()
106 __u8 conn_id, in nci_queue_tx_data_frags() argument
117 pr_debug("conn_id 0x%x, total_len %d\n", conn_id, total_len); in nci_queue_tx_data_frags()
119 conn_info = nci_get_conn_info_by_conn_id(ndev, conn_id); in nci_queue_tx_data_frags()
144 nci_push_data_hdr(ndev, conn_id, skb_frag, in nci_queue_tx_data_frags()
[all …]
Drsp.c160 conn_info->conn_id = NCI_STATIC_RF_CONN_ID; in nci_rf_disc_rsp_packet()
245 conn_info->conn_id = rsp->conn_id; in nci_core_conn_create_rsp_packet()
257 conn_info->conn_id = rsp->conn_id; in nci_core_conn_create_rsp_packet()
Dhci.c31 u8 conn_id; member
192 r = nci_send_data(ndev, conn_info->conn_id, skb); in nci_hci_send_data()
251 data.conn_id = conn_info->conn_id; in nci_hci_send_cmd()
515 data.conn_id = conn_info->conn_id; in nci_hci_open_pipe()
591 data.conn_id = conn_info->conn_id; in nci_hci_set_param()
631 data.conn_id = conn_info->conn_id; in nci_hci_get_param()
Dntf.c56 ntf->conn_entries[i].conn_id = in nci_core_conn_credits_ntf_packet()
57 nci_conn_id(&ntf->conn_entries[i].conn_id); in nci_core_conn_credits_ntf_packet()
60 i, ntf->conn_entries[i].conn_id, in nci_core_conn_credits_ntf_packet()
64 ntf->conn_entries[i].conn_id); in nci_core_conn_credits_ntf_packet()
96 ntf->conn_id = nci_conn_id(&ntf->conn_id); in nci_core_conn_intf_error_ntf_packet()
98 pr_debug("status 0x%x, conn_id %d\n", ntf->status, ntf->conn_id); in nci_core_conn_intf_error_ntf_packet()
102 nci_data_exchange_complete(ndev, NULL, ntf->conn_id, -EIO); in nci_core_conn_intf_error_ntf_packet()
Dcore.c55 int conn_id) in nci_get_conn_info_by_conn_id() argument
60 if (conn_info->conn_id == conn_id) in nci_get_conn_info_by_conn_id()
73 return conn_info->conn_id; in nci_get_conn_info_by_id()
654 __u8 conn_id = opt; in nci_core_conn_close_req() local
656 nci_send_cmd(ndev, NCI_OP_CORE_CONN_CLOSE_CMD, 1, &conn_id); in nci_core_conn_close_req()
659 int nci_core_conn_close(struct nci_dev *ndev, u8 conn_id) in nci_core_conn_close() argument
661 return __nci_request(ndev, nci_core_conn_close_req, conn_id, in nci_core_conn_close()
/net/rxrpc/
Dar-connection.c630 u32 conn_id; in rxrpc_incoming_connection() local
637 conn_id = ntohl(hdr->cid) & RXRPC_CIDMASK; in rxrpc_incoming_connection()
652 else if (conn_id < conn->real_conn_id) in rxrpc_incoming_connection()
654 else if (conn_id > conn->real_conn_id) in rxrpc_incoming_connection()
676 candidate->real_conn_id = conn_id; in rxrpc_incoming_connection()
693 else if (conn_id < conn->real_conn_id) in rxrpc_incoming_connection()
695 else if (conn_id > conn->real_conn_id) in rxrpc_incoming_connection()
759 u32 conn_id; in rxrpc_find_connection() local
765 conn_id = ntohl(hdr->cid) & RXRPC_CIDMASK; in rxrpc_find_connection()
782 else if (conn_id < conn->real_conn_id) in rxrpc_find_connection()
[all …]
/net/l2tp/
Dl2tp_ip.c37 u32 conn_id; member
61 if ((l2tp->conn_id == tunnel_id) && in __l2tp_ip_bind_lookup()
309 l2tp_ip_sk(sk)->conn_id = addr->l2tp_conn_id; in l2tp_ip_bind()
387 lsa->l2tp_conn_id = lsk->conn_id; in l2tp_ip_getname()
Dl2tp_ip6.c41 u32 conn_id; member
71 if ((l2tp->conn_id == tunnel_id) && in __l2tp_ip6_bind_lookup()
363 l2tp_ip6_sk(sk)->conn_id = addr->l2tp_conn_id; in l2tp_ip6_bind()
464 lsa->l2tp_conn_id = lsk->conn_id; in l2tp_ip6_getname()