Searched refs:mrp_cb (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/net/802/ |
H A D | mrp.c | 337 if (mrp_cb(app->pdu)->mh) mrp_pdu_queue() 362 if (mrp_cb(app->pdu)->mh) { mrp_pdu_append_msg_hdr() 365 mrp_cb(app->pdu)->mh = NULL; mrp_pdu_append_msg_hdr() 366 mrp_cb(app->pdu)->vah = NULL; mrp_pdu_append_msg_hdr() 374 mrp_cb(app->pdu)->mh = mh; mrp_pdu_append_msg_hdr() 389 mrp_cb(app->pdu)->vah = vah; mrp_pdu_append_vecattr_hdr() 390 memcpy(mrp_cb(app->pdu)->attrvalue, firstattrvalue, attrlen); mrp_pdu_append_vecattr_hdr() 412 if (!mrp_cb(app->pdu)->mh || mrp_pdu_append_vecattr_event() 413 mrp_cb(app->pdu)->mh->attrtype != attr->type || mrp_pdu_append_vecattr_event() 414 mrp_cb(app->pdu)->mh->attrlen != attr->len) { mrp_pdu_append_vecattr_event() 423 if (!mrp_cb(app->pdu)->vah || mrp_pdu_append_vecattr_event() 424 memcmp(mrp_cb(app->pdu)->attrvalue, attr->value, attr->len)) { mrp_pdu_append_vecattr_event() 429 len = be16_to_cpu(get_unaligned(&mrp_cb(app->pdu)->vah->lenflags)); mrp_pdu_append_vecattr_event() 461 put_unaligned(cpu_to_be16(++len), &mrp_cb(app->pdu)->vah->lenflags); mrp_pdu_append_vecattr_event() 462 mrp_attrvalue_inc(mrp_cb(app->pdu)->attrvalue, attr->len); mrp_pdu_append_vecattr_event() 641 attr = mrp_attr_lookup(app, mrp_cb(skb)->attrvalue, mrp_pdu_parse_vecattr_event() 642 mrp_cb(skb)->mh->attrlen, mrp_pdu_parse_vecattr_event() 643 mrp_cb(skb)->mh->attrtype); mrp_pdu_parse_vecattr_event() 680 mrp_cb(skb)->vah = skb_header_pointer(skb, *offset, sizeof(_vah), mrp_pdu_parse_vecattr() 682 if (!mrp_cb(skb)->vah) mrp_pdu_parse_vecattr() 686 if (get_unaligned(&mrp_cb(skb)->vah->lenflags) & mrp_pdu_parse_vecattr() 689 valen = be16_to_cpu(get_unaligned(&mrp_cb(skb)->vah->lenflags) & mrp_pdu_parse_vecattr() 698 if (sizeof(struct mrp_skb_cb) + mrp_cb(skb)->mh->attrlen > mrp_pdu_parse_vecattr() 701 if (skb_copy_bits(skb, *offset, mrp_cb(skb)->attrvalue, mrp_pdu_parse_vecattr() 702 mrp_cb(skb)->mh->attrlen) < 0) mrp_pdu_parse_vecattr() 704 *offset += mrp_cb(skb)->mh->attrlen; mrp_pdu_parse_vecattr() 727 mrp_attrvalue_inc(mrp_cb(skb)->attrvalue, mrp_pdu_parse_vecattr() 728 mrp_cb(skb)->mh->attrlen); mrp_pdu_parse_vecattr() 737 mrp_attrvalue_inc(mrp_cb(skb)->attrvalue, mrp_pdu_parse_vecattr() 738 mrp_cb(skb)->mh->attrlen); mrp_pdu_parse_vecattr() 751 mrp_cb(skb)->mh = skb_header_pointer(skb, *offset, sizeof(_mh), &_mh); mrp_pdu_parse_msg() 752 if (!mrp_cb(skb)->mh) mrp_pdu_parse_msg() 756 if (mrp_cb(skb)->mh->attrtype == 0 || mrp_pdu_parse_msg() 757 mrp_cb(skb)->mh->attrtype > app->app->maxattr || mrp_pdu_parse_msg() 758 mrp_cb(skb)->mh->attrlen == 0) mrp_pdu_parse_msg()
|
/linux-4.1.27/include/net/ |
H A D | mrp.h | 38 static inline struct mrp_skb_cb *mrp_cb(struct sk_buff *skb) mrp_cb() function
|
Completed in 50 milliseconds