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()
2161 struct l2cap_hdr *lh; in l2cap_create_connless_pdu() local
2174 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE); in l2cap_create_connless_pdu()
2175 lh->cid = cpu_to_le16(chan->dcid); in l2cap_create_connless_pdu()
2176 lh->len = cpu_to_le16(len + L2CAP_PSMLEN_SIZE); in l2cap_create_connless_pdu()
2193 struct l2cap_hdr *lh; in l2cap_create_basic_pdu() local
2205 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE); in l2cap_create_basic_pdu()
2206 lh->cid = cpu_to_le16(chan->dcid); in l2cap_create_basic_pdu()
2207 lh->len = cpu_to_le16(len); in l2cap_create_basic_pdu()
2224 struct l2cap_hdr *lh; in l2cap_create_iframe_pdu() local
2247 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE); in l2cap_create_iframe_pdu()
2248 lh->cid = cpu_to_le16(chan->dcid); in l2cap_create_iframe_pdu()
2249 lh->len = cpu_to_le16(len + (hlen - L2CAP_HDR_SIZE)); in l2cap_create_iframe_pdu()
2345 struct l2cap_hdr *lh; in l2cap_create_le_flowctl_pdu() local
2365 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE); in l2cap_create_le_flowctl_pdu()
2366 lh->cid = cpu_to_le16(chan->dcid); in l2cap_create_le_flowctl_pdu()
2367 lh->len = cpu_to_le16(len + (hlen - L2CAP_HDR_SIZE)); in l2cap_create_le_flowctl_pdu()
2874 struct l2cap_hdr *lh; in l2cap_build_cmd() local
2890 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE); in l2cap_build_cmd()
2891 lh->len = cpu_to_le16(L2CAP_CMD_HDR_SIZE + dlen); in l2cap_build_cmd()
2894 lh->cid = cpu_to_le16(L2CAP_CID_LE_SIGNALING); in l2cap_build_cmd()
2896 lh->cid = cpu_to_le16(L2CAP_CID_SIGNALING); in l2cap_build_cmd()
6893 struct l2cap_hdr *lh = (void *) skb->data; in l2cap_recv_frame() local
6905 cid = __le16_to_cpu(lh->cid); in l2cap_recv_frame()
6906 len = __le16_to_cpu(lh->len); in l2cap_recv_frame()