Lines Matching refs:lh

1029 	struct l2cap_hdr *lh;  in l2cap_create_sframe_pdu()  local
1040 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE); in l2cap_create_sframe_pdu()
1041 lh->len = cpu_to_le16(hlen - L2CAP_HDR_SIZE); in l2cap_create_sframe_pdu()
1042 lh->cid = cpu_to_le16(chan->dcid); in l2cap_create_sframe_pdu()
2165 struct l2cap_hdr *lh; in l2cap_create_connless_pdu() local
2178 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE); in l2cap_create_connless_pdu()
2179 lh->cid = cpu_to_le16(chan->dcid); in l2cap_create_connless_pdu()
2180 lh->len = cpu_to_le16(len + L2CAP_PSMLEN_SIZE); in l2cap_create_connless_pdu()
2197 struct l2cap_hdr *lh; in l2cap_create_basic_pdu() local
2209 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE); in l2cap_create_basic_pdu()
2210 lh->cid = cpu_to_le16(chan->dcid); in l2cap_create_basic_pdu()
2211 lh->len = cpu_to_le16(len); in l2cap_create_basic_pdu()
2228 struct l2cap_hdr *lh; in l2cap_create_iframe_pdu() local
2251 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE); in l2cap_create_iframe_pdu()
2252 lh->cid = cpu_to_le16(chan->dcid); in l2cap_create_iframe_pdu()
2253 lh->len = cpu_to_le16(len + (hlen - L2CAP_HDR_SIZE)); in l2cap_create_iframe_pdu()
2349 struct l2cap_hdr *lh; in l2cap_create_le_flowctl_pdu() local
2369 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE); in l2cap_create_le_flowctl_pdu()
2370 lh->cid = cpu_to_le16(chan->dcid); in l2cap_create_le_flowctl_pdu()
2371 lh->len = cpu_to_le16(len + (hlen - L2CAP_HDR_SIZE)); in l2cap_create_le_flowctl_pdu()
2878 struct l2cap_hdr *lh; in l2cap_build_cmd() local
2894 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE); in l2cap_build_cmd()
2895 lh->len = cpu_to_le16(L2CAP_CMD_HDR_SIZE + dlen); in l2cap_build_cmd()
2898 lh->cid = cpu_to_le16(L2CAP_CID_LE_SIGNALING); in l2cap_build_cmd()
2900 lh->cid = cpu_to_le16(L2CAP_CID_SIGNALING); in l2cap_build_cmd()
6883 struct l2cap_hdr *lh = (void *) skb->data; in l2cap_recv_frame() local
6895 cid = __le16_to_cpu(lh->cid); in l2cap_recv_frame()
6896 len = __le16_to_cpu(lh->len); in l2cap_recv_frame()