Lines Matching defs:pktbuf
258 struct sk_buff *pktbuf)
265 skb_push(pktbuf, BCDC_HEADER_LEN);
267 h = (struct brcmf_proto_bcdc_header *)(pktbuf->data);
270 if (pktbuf->ip_summed == CHECKSUM_PARTIAL)
273 h->priority = (pktbuf->priority & BCDC_PRIORITY_MASK);
277 trace_brcmf_bcdchdr(pktbuf->data);
282 struct sk_buff *pktbuf, struct brcmf_if **ifp)
290 if (pktbuf->len <= BCDC_HEADER_LEN) {
292 pktbuf->len, BCDC_HEADER_LEN);
296 trace_brcmf_bcdchdr(pktbuf->data);
297 h = (struct brcmf_proto_bcdc_header *)(pktbuf->data);
314 pktbuf->ip_summed = CHECKSUM_UNNECESSARY;
317 pktbuf->priority = h->priority & BCDC_PRIORITY_MASK;
319 skb_pull(pktbuf, BCDC_HEADER_LEN);
321 brcmf_fws_hdrpull(tmp_if, h->data_offset << 2, pktbuf);
323 skb_pull(pktbuf, h->data_offset << 2);
325 if (pktbuf->len == 0)
347 struct sk_buff *pktbuf)
349 brcmf_proto_bcdc_hdrpush(drvr, ifidx, offset, pktbuf);
350 return brcmf_bus_txdata(drvr->bus_if, pktbuf);