Lines Matching refs:L2CAP_HDR_SIZE
372 int count, hlen = L2CAP_HDR_SIZE + 2;
399 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE);
400 lh->len = cpu_to_le16(hlen - L2CAP_HDR_SIZE);
1449 control = get_unaligned_le16(skb->data + L2CAP_HDR_SIZE);
1451 put_unaligned_le16(control, skb->data + L2CAP_HDR_SIZE);
1491 control = get_unaligned_le16(tx_skb->data + L2CAP_HDR_SIZE);
1501 put_unaligned_le16(control, tx_skb->data + L2CAP_HDR_SIZE);
1533 control = get_unaligned_le16(tx_skb->data + L2CAP_HDR_SIZE);
1542 put_unaligned_le16(control, tx_skb->data + L2CAP_HDR_SIZE);
1655 int err, count, hlen = L2CAP_HDR_SIZE + 2;
1667 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE);
1669 lh->len = cpu_to_le16(len + (hlen - L2CAP_HDR_SIZE));
1684 int err, count, hlen = L2CAP_HDR_SIZE;
1696 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE);
1698 lh->len = cpu_to_le16(len + (hlen - L2CAP_HDR_SIZE));
1712 int err, count, hlen = L2CAP_HDR_SIZE + 2;
1733 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE);
1735 lh->len = cpu_to_le16(len + (hlen - L2CAP_HDR_SIZE));
2339 len = L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE + dlen;
2346 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE);
2356 count -= L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE;
3473 int hdr_size = L2CAP_HDR_SIZE + 2;
4436 skb_pull(skb, L2CAP_HDR_SIZE);
4661 len = __le16_to_cpu(hdr->len) + L2CAP_HDR_SIZE;