Home
last modified time | relevance | path

Searched refs:L2CAP_CMD_HDR_SIZE (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/net/bluetooth/
Dl2cap_core.c2880 if (conn->mtu < L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE) in l2cap_build_cmd()
2883 len = L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE + dlen; in l2cap_build_cmd()
2891 lh->len = cpu_to_le16(L2CAP_CMD_HDR_SIZE + dlen); in l2cap_build_cmd()
2898 cmd = (struct l2cap_cmd_hdr *) skb_put(skb, L2CAP_CMD_HDR_SIZE); in l2cap_build_cmd()
2904 count -= L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE; in l2cap_build_cmd()
5658 if (skb->len < L2CAP_CMD_HDR_SIZE) in l2cap_le_sig_channel()
5662 skb_pull(skb, L2CAP_CMD_HDR_SIZE); in l2cap_le_sig_channel()
5702 while (len >= L2CAP_CMD_HDR_SIZE) { in l2cap_sig_channel()
5704 memcpy(&cmd, data, L2CAP_CMD_HDR_SIZE); in l2cap_sig_channel()
5705 data += L2CAP_CMD_HDR_SIZE; in l2cap_sig_channel()
[all …]
/linux-4.4.14/include/net/bluetooth/
Dl2cap.h220 #define L2CAP_CMD_HDR_SIZE 4 macro