Lines Matching refs:attrlen
368 u8 attrtype, u8 attrlen) in mrp_pdu_append_msg_hdr() argument
383 mh->attrlen = attrlen; in mrp_pdu_append_msg_hdr()
389 const void *firstattrvalue, u8 attrlen) in mrp_pdu_append_vecattr_hdr() argument
393 if (skb_tailroom(app->pdu) < sizeof(*vah) + attrlen) in mrp_pdu_append_vecattr_hdr()
395 vah = __skb_put(app->pdu, sizeof(*vah) + attrlen); in mrp_pdu_append_vecattr_hdr()
397 memcpy(vah->firstattrvalue, firstattrvalue, attrlen); in mrp_pdu_append_vecattr_hdr()
399 memcpy(mrp_cb(app->pdu)->attrvalue, firstattrvalue, attrlen); in mrp_pdu_append_vecattr_hdr()
423 mrp_cb(app->pdu)->mh->attrlen != attr->len) { in mrp_pdu_append_vecattr_event()
655 mrp_cb(skb)->mh->attrlen, in mrp_pdu_parse_vecattr_event()
711 if (sizeof(struct mrp_skb_cb) + mrp_cb(skb)->mh->attrlen > in mrp_pdu_parse_vecattr()
715 mrp_cb(skb)->mh->attrlen) < 0) in mrp_pdu_parse_vecattr()
717 *offset += mrp_cb(skb)->mh->attrlen; in mrp_pdu_parse_vecattr()
741 mrp_cb(skb)->mh->attrlen); in mrp_pdu_parse_vecattr()
751 mrp_cb(skb)->mh->attrlen); in mrp_pdu_parse_vecattr()
771 mrp_cb(skb)->mh->attrlen == 0) in mrp_pdu_parse_msg()