Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/net/bluetooth/
Dl2cap.h225 #define L2CAP_CMD_HDR_SIZE 4 macro
/kernel/linux/linux-5.10/net/bluetooth/
Dl2cap_core.c3124 if (conn->mtu < L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE) in l2cap_build_cmd()
3127 len = L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE + dlen; in l2cap_build_cmd()
3135 lh->len = cpu_to_le16(L2CAP_CMD_HDR_SIZE + dlen); in l2cap_build_cmd()
3142 cmd = skb_put(skb, L2CAP_CMD_HDR_SIZE); in l2cap_build_cmd()
3148 count -= L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE; in l2cap_build_cmd()
6433 if (skb->len < L2CAP_CMD_HDR_SIZE) in l2cap_le_sig_channel()
6437 skb_pull(skb, L2CAP_CMD_HDR_SIZE); in l2cap_le_sig_channel()
6475 while (skb->len >= L2CAP_CMD_HDR_SIZE) { in l2cap_sig_channel()
6479 skb_pull(skb, L2CAP_CMD_HDR_SIZE); in l2cap_sig_channel()