Searched refs:pktbuf (Results 1 – 4 of 4) sorted by relevance
/hardware/broadcom/wlan/bcm4329/src/dhd/sys/ |
D | dhd_cdc.c | 331 dhd_prot_hdrpush(dhd_pub_t *dhd, int ifidx, void *pktbuf) in dhd_prot_hdrpush() argument 351 eh = (struct ether_header *)PKTDATA(dhd->osh, pktbuf); in dhd_prot_hdrpush() 354 PKTPUSH(dhd->osh, pktbuf, BDC_HEADER_LEN); in dhd_prot_hdrpush() 356 h = (struct bdc_header *)PKTDATA(dhd->osh, pktbuf); in dhd_prot_hdrpush() 359 if (PKTSUMNEEDED(pktbuf)) in dhd_prot_hdrpush() 363 h->priority = (PKTPRIO(pktbuf) & BDC_PRIORITY_MASK); in dhd_prot_hdrpush() 385 dhd_proto_fcinfo(dhd_pub_t *dhd, void *pktbuf, uint8 *fcbits) in dhd_proto_fcinfo() argument 390 if (PKTLEN(dhd->osh, pktbuf) < BDC_HEADER_LEN) { in dhd_proto_fcinfo() 392 __FUNCTION__, PKTLEN(dhd->osh, pktbuf), BDC_HEADER_LEN)); in dhd_proto_fcinfo() 396 h = (struct bdc_header *)PKTDATA(dhd->osh, pktbuf); in dhd_proto_fcinfo() [all …]
|
D | dhd_linux.c | 840 dhd_sendpkt(dhd_pub_t *dhdp, int ifidx, void *pktbuf) in dhd_sendpkt() argument 851 if (PKTLEN(dhdp->osh, pktbuf) >= ETHER_ADDR_LEN) { in dhd_sendpkt() 852 uint8 *pktdata = (uint8 *)PKTDATA(dhdp->osh, pktbuf); in dhd_sendpkt() 862 if ((PKTPRIO(pktbuf) == 0)) in dhd_sendpkt() 863 pktsetprio(pktbuf, FALSE); in dhd_sendpkt() 866 dhd_prot_hdrpush(dhdp, ifidx, pktbuf); in dhd_sendpkt() 870 ret = dbus_send_pkt(dhdp->dbus, pktbuf, NULL /* pktinfo */); in dhd_sendpkt() 872 ret = dhd_bus_txdata(dhdp->bus, pktbuf); in dhd_sendpkt() 882 void *pktbuf; in dhd_start_xmit() local 918 if (!(pktbuf = PKTFRMNATIVE(dhd->pub.osh, skb))) { in dhd_start_xmit() [all …]
|
D | dhd_proto.h | 58 extern bool dhd_proto_fcinfo(dhd_pub_t *dhd, void *pktbuf, uint8 *fcbits);
|
/hardware/broadcom/wlan/bcm4329/src/shared/ |
D | bcmutils.c | 283 pktq_pdel(struct pktq *pq, void *pktbuf, int prec) in pktq_pdel() argument 290 if (!pktbuf) in pktq_pdel() 295 if (q->head == pktbuf) { in pktq_pdel() 296 if ((q->head = PKTLINK(pktbuf)) == NULL) in pktq_pdel() 299 for (p = q->head; p && PKTLINK(p) != pktbuf; p = PKTLINK(p)) in pktq_pdel() 304 PKTSETLINK(p, PKTLINK(pktbuf)); in pktq_pdel() 305 if (q->tail == pktbuf) in pktq_pdel() 311 PKTSETLINK(pktbuf, NULL); in pktq_pdel()
|