Searched refs:l2cap_hdr (Results 1 – 1 of 1) sorted by relevance
547 ng_l2cap_hdr_t *l2cap_hdr = NULL; in ng_l2cap_lp_send() local563 sizeof(*l2cap_hdr)); in ng_l2cap_lp_send()568 l2cap_hdr = mtod(m0, ng_l2cap_hdr_t *); in ng_l2cap_lp_send()569 l2cap_hdr->length = htole16(m0->m_pkthdr.len - sizeof(*l2cap_hdr)); in ng_l2cap_lp_send()570 l2cap_hdr->dcid = htole16(dcid); in ng_l2cap_lp_send()663 ng_l2cap_hdr_t *l2cap_hdr = NULL; in ng_l2cap_lp_receive() local728 if (m->m_pkthdr.len < sizeof(*l2cap_hdr)) { in ng_l2cap_lp_receive()737 NG_L2CAP_M_PULLUP(m, sizeof(*l2cap_hdr)); in ng_l2cap_lp_receive()741 l2cap_hdr = mtod(m, ng_l2cap_hdr_t *); in ng_l2cap_lp_receive()746 le16toh(l2cap_hdr->length)); in ng_l2cap_lp_receive()[all …]