Home
last modified time | relevance | path

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

/Linux-v5.4/net/bluetooth/
Dl2cap_core.c2933 if (conn->mtu < L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE) in l2cap_build_cmd()
2936 len = L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE + dlen; in l2cap_build_cmd()
2944 lh->len = cpu_to_le16(L2CAP_CMD_HDR_SIZE + dlen); in l2cap_build_cmd()
2951 cmd = skb_put(skb, L2CAP_CMD_HDR_SIZE); in l2cap_build_cmd()
2957 count -= L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE; in l2cap_build_cmd()
5753 if (skb->len < L2CAP_CMD_HDR_SIZE) in l2cap_le_sig_channel()
5757 skb_pull(skb, L2CAP_CMD_HDR_SIZE); in l2cap_le_sig_channel()
5797 while (len >= L2CAP_CMD_HDR_SIZE) { in l2cap_sig_channel()
5799 memcpy(&cmd, data, L2CAP_CMD_HDR_SIZE); in l2cap_sig_channel()
5800 data += L2CAP_CMD_HDR_SIZE; in l2cap_sig_channel()
[all …]
/Linux-v5.4/include/net/bluetooth/
Dl2cap.h220 #define L2CAP_CMD_HDR_SIZE 4 macro