Lines Matching defs:lh
917 struct l2cap_hdr *lh;
928 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE);
929 lh->len = cpu_to_le16(hlen - L2CAP_HDR_SIZE);
930 lh->cid = cpu_to_le16(chan->dcid);
2260 struct l2cap_hdr *lh;
2274 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE);
2275 lh->cid = cpu_to_le16(chan->dcid);
2276 lh->len = cpu_to_le16(len + L2CAP_PSMLEN_SIZE);
2294 struct l2cap_hdr *lh;
2308 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE);
2309 lh->cid = cpu_to_le16(chan->dcid);
2310 lh->len = cpu_to_le16(len);
2327 struct l2cap_hdr *lh;
2350 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE);
2351 lh->cid = cpu_to_le16(chan->dcid);
2352 lh->len = cpu_to_le16(len + (hlen - L2CAP_HDR_SIZE));
2849 struct l2cap_hdr *lh;
2865 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE);
2866 lh->len = cpu_to_le16(L2CAP_CMD_HDR_SIZE + dlen);
2869 lh->cid = __constant_cpu_to_le16(L2CAP_CID_LE_SIGNALING);
2871 lh->cid = __constant_cpu_to_le16(L2CAP_CID_SIGNALING);
6381 struct l2cap_hdr *lh = (void *) skb->data;
6386 cid = __le16_to_cpu(lh->cid);
6387 len = __le16_to_cpu(lh->len);