Searched refs:endmark (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/net/802/
H A Dmrp.c323 __be16 *endmark; mrp_pdu_append_end_mark() local
325 if (skb_tailroom(app->pdu) < sizeof(*endmark)) mrp_pdu_append_end_mark()
327 endmark = (__be16 *)__skb_put(app->pdu, sizeof(*endmark)); mrp_pdu_append_end_mark()
328 put_unaligned(MRP_END_MARK, endmark); mrp_pdu_append_end_mark()
623 __be16 endmark; mrp_pdu_parse_end_mark() local
625 if (skb_copy_bits(skb, *offset, &endmark, sizeof(endmark)) < 0) mrp_pdu_parse_end_mark()
627 if (endmark == MRP_END_MARK) { mrp_pdu_parse_end_mark()
628 *offset += sizeof(endmark); mrp_pdu_parse_end_mark()

Completed in 56 milliseconds