Lines Matching refs:pdu
237 app->pdu = skb; in garp_pdu_init()
243 if (skb_tailroom(app->pdu) < sizeof(u8)) in garp_pdu_append_end_mark()
245 __skb_put_u8(app->pdu, GARP_END_MARK); in garp_pdu_append_end_mark()
251 if (!app->pdu) in garp_pdu_queue()
257 llc_pdu_header_init(app->pdu, LLC_PDU_TYPE_U, LLC_SAP_BSPAN, in garp_pdu_queue()
259 llc_pdu_init_as_ui_cmd(app->pdu); in garp_pdu_queue()
260 llc_mac_hdr_init(app->pdu, app->dev->dev_addr, in garp_pdu_queue()
263 skb_queue_tail(&app->queue, app->pdu); in garp_pdu_queue()
264 app->pdu = NULL; in garp_pdu_queue()
279 if (skb_tailroom(app->pdu) < sizeof(*gm)) in garp_pdu_append_msg()
281 gm = __skb_put(app->pdu, sizeof(*gm)); in garp_pdu_append_msg()
283 garp_cb(app->pdu)->cur_type = attrtype; in garp_pdu_append_msg()
295 if (!app->pdu) { in garp_pdu_append_attr()
301 if (garp_cb(app->pdu)->cur_type != attr->type) { in garp_pdu_append_attr()
302 if (garp_cb(app->pdu)->cur_type && in garp_pdu_append_attr()
310 if (skb_tailroom(app->pdu) < len) in garp_pdu_append_attr()
312 ga = __skb_put(app->pdu, len); in garp_pdu_append_attr()