Home
last modified time | relevance | path

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

/linux-6.1.9/include/net/bluetooth/
Dl2cap.h226 #define L2CAP_CMD_HDR_SIZE 4 macro
/linux-6.1.9/net/bluetooth/
Dl2cap_core.c3128 if (conn->mtu < L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE) in l2cap_build_cmd()
3131 len = L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE + dlen; in l2cap_build_cmd()
3139 lh->len = cpu_to_le16(L2CAP_CMD_HDR_SIZE + dlen); in l2cap_build_cmd()
3146 cmd = skb_put(skb, L2CAP_CMD_HDR_SIZE); in l2cap_build_cmd()
3152 count -= L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE; in l2cap_build_cmd()
6444 if (skb->len < L2CAP_CMD_HDR_SIZE) in l2cap_le_sig_channel()
6448 skb_pull(skb, L2CAP_CMD_HDR_SIZE); in l2cap_le_sig_channel()
6486 while (skb->len >= L2CAP_CMD_HDR_SIZE) { in l2cap_sig_channel()
6490 skb_pull(skb, L2CAP_CMD_HDR_SIZE); in l2cap_sig_channel()