Home
last modified time | relevance | path

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

/linux-6.6.21/include/net/bluetooth/
Dl2cap.h226 #define L2CAP_CMD_HDR_SIZE 4 macro
/linux-6.6.21/net/bluetooth/
Dl2cap_core.c3100 if (conn->mtu < L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE) in l2cap_build_cmd()
3103 len = L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE + dlen; in l2cap_build_cmd()
3111 lh->len = cpu_to_le16(L2CAP_CMD_HDR_SIZE + dlen); in l2cap_build_cmd()
3118 cmd = skb_put(skb, L2CAP_CMD_HDR_SIZE); in l2cap_build_cmd()
3124 count -= L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE; in l2cap_build_cmd()
6471 if (skb->len < L2CAP_CMD_HDR_SIZE) in l2cap_le_sig_channel()
6475 skb_pull(skb, L2CAP_CMD_HDR_SIZE); in l2cap_le_sig_channel()
6521 while (skb->len >= L2CAP_CMD_HDR_SIZE) { in l2cap_sig_channel()
6525 skb_pull(skb, L2CAP_CMD_HDR_SIZE); in l2cap_sig_channel()