Home
last modified time | relevance | path

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

/linux/include/net/bluetooth/
H A Dl2cap.h217 #define L2CAP_CMD_HDR_SIZE 4 macro
/linux/net/bluetooth/
H A Dl2cap_core.c2951 if (conn->mtu < L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE) in l2cap_build_cmd()
2954 len = L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE + dlen; in l2cap_build_cmd()
2962 lh->len = cpu_to_le16(L2CAP_CMD_HDR_SIZE + dlen); in l2cap_build_cmd()
2969 cmd = skb_put(skb, L2CAP_CMD_HDR_SIZE); in l2cap_build_cmd()
2975 count -= L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE; in l2cap_build_cmd()
5467 if (skb->len < L2CAP_CMD_HDR_SIZE) in l2cap_le_sig_channel()
5471 skb_pull(skb, L2CAP_CMD_HDR_SIZE); in l2cap_le_sig_channel()
5517 while (skb->len >= L2CAP_CMD_HDR_SIZE) { in l2cap_sig_channel()
5521 skb_pull(skb, L2CAP_CMD_HDR_SIZE); in l2cap_sig_channel()