Lines Matching refs:hdr
675 l2cap_hdr *hdr = (void *)frm->ptr;
676 uint16_t dlen = btohs(hdr->len);
677 uint16_t cid = btohs(hdr->cid);
687 l2cap_cmd_hdr *hdr = frm->ptr;
697 switch (hdr->code) {
711 conf_req(level, hdr, frm);
715 conf_rsp(level, hdr, frm);
727 echo_req(level, hdr, frm);
731 echo_rsp(level, hdr, frm);
735 info_req(level, hdr, frm);
739 info_rsp(level, hdr, frm);
746 hdr->code, hdr->ident, btohs(hdr->len));
750 if (frm->len > btohs(hdr->len)) {
751 frm->len -= btohs(hdr->len);
752 frm->ptr += btohs(hdr->len);
895 l2cap_hdr *hdr;
899 hdr = frm->ptr;
900 dlen = btohs(hdr->len);