Lines Matching refs:pktbuf
418 #define PKTBUF pktbuf
459 dhd_prot_hdrpull(dhd_pub_t *dhd, int *ifidx, void *pktbuf, uchar *reorder_buf_info, in dhd_prot_hdrpull() argument
474 if (PKTLEN(dhd->osh, pktbuf) < BDC_HEADER_LEN) { in dhd_prot_hdrpull()
476 PKTLEN(dhd->osh, pktbuf), BDC_HEADER_LEN)); in dhd_prot_hdrpull()
480 h = (struct bdc_header *)PKTDATA(dhd->osh, pktbuf); in dhd_prot_hdrpull()
485 PKTPULL(dhd->osh, pktbuf, BDC_HEADER_LEN); in dhd_prot_hdrpull()
503 PKTSETSUMGOOD(pktbuf, TRUE); in dhd_prot_hdrpull()
506 PKTSETPRIO(pktbuf, (h->priority & BDC_PRIORITY_MASK)); in dhd_prot_hdrpull()
508 PKTPULL(dhd->osh, pktbuf, BDC_HEADER_LEN); in dhd_prot_hdrpull()
512 if (!DHD_PKTTAG_PKTDIR(PKTTAG(pktbuf))) { in dhd_prot_hdrpull()
516 dhd_wlfc_parse_header_info(dhd, pktbuf, (data_offset << 2), in dhd_prot_hdrpull()
523 PKTPULL(dhd->osh, pktbuf, (data_offset << 2)); in dhd_prot_hdrpull()