Home
last modified time | relevance | path

Searched refs:rej (Results 1 – 3 of 3) sorted by relevance

/net/bluetooth/
Da2mp.c118 struct a2mp_cmd_rej *rej = (void *) skb->data; in a2mp_command_rej() local
120 if (le16_to_cpu(hdr->len) < sizeof(*rej)) in a2mp_command_rej()
123 BT_DBG("ident %d reason %d", hdr->ident, le16_to_cpu(rej->reason)); in a2mp_command_rej()
125 skb_pull(skb, sizeof(*rej)); in a2mp_command_rej()
689 struct a2mp_cmd_rej rej; in a2mp_chan_recv_cb() local
691 memset(&rej, 0, sizeof(rej)); in a2mp_chan_recv_cb()
693 rej.reason = cpu_to_le16(0); in a2mp_chan_recv_cb()
698 a2mp_send(mgr, A2MP_COMMAND_REJ, hdr->ident, sizeof(rej), in a2mp_chan_recv_cb()
699 &rej); in a2mp_chan_recv_cb()
Dhci_request.c2246 struct hci_cp_reject_conn_req rej; in __hci_abort_conn() local
2248 bacpy(&rej.bdaddr, &conn->dst); in __hci_abort_conn()
2249 rej.reason = reason; in __hci_abort_conn()
2252 sizeof(rej), &rej); in __hci_abort_conn()
2254 struct hci_cp_reject_sync_conn_req rej; in __hci_abort_conn() local
2256 bacpy(&rej.bdaddr, &conn->dst); in __hci_abort_conn()
2264 rej.reason = HCI_ERROR_REJ_LIMITED_RESOURCES; in __hci_abort_conn()
2267 sizeof(rej), &rej); in __hci_abort_conn()
Dl2cap_core.c3826 struct l2cap_cmd_rej_unk *rej = (struct l2cap_cmd_rej_unk *) data; in l2cap_command_rej() local
3828 if (cmd_len < sizeof(*rej)) in l2cap_command_rej()
3831 if (rej->reason != L2CAP_REJ_NOT_UNDERSTOOD) in l2cap_command_rej()
4128 struct l2cap_cmd_rej_cid rej; in cmd_reject_invalid_cid() local
4130 rej.reason = cpu_to_le16(L2CAP_REJ_INVALID_CID); in cmd_reject_invalid_cid()
4131 rej.scid = __cpu_to_le16(scid); in cmd_reject_invalid_cid()
4132 rej.dcid = __cpu_to_le16(dcid); in cmd_reject_invalid_cid()
4134 l2cap_send_cmd(conn, ident, L2CAP_COMMAND_REJ, sizeof(rej), &rej); in cmd_reject_invalid_cid()
5720 struct l2cap_cmd_rej_unk *rej = (struct l2cap_cmd_rej_unk *) data; in l2cap_le_command_rej() local
5723 if (cmd_len < sizeof(*rej)) in l2cap_le_command_rej()
[all …]