Lines Matching refs:pktbuf

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