Home
last modified time | relevance | path

Searched refs:pkt_copy (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/drivers/staging/rtl8712/
Drtl8712_recv.c1033 _pkt *pkt_copy = NULL; in recvbuf2recvframe() local
1083 pkt_copy = netdev_alloc_skb(padapter->pnetdev, alloc_sz); in recvbuf2recvframe()
1084 if (pkt_copy) { in recvbuf2recvframe()
1085 pkt_copy->dev = padapter->pnetdev; in recvbuf2recvframe()
1086 precvframe->u.hdr.pkt = pkt_copy; in recvbuf2recvframe()
1087 skb_reserve(pkt_copy, 4 - ((addr_t)(pkt_copy->data) in recvbuf2recvframe()
1089 skb_reserve(pkt_copy, shift_sz); in recvbuf2recvframe()
1090 memcpy(pkt_copy->data, pbuf, tmp_len); in recvbuf2recvframe()
1092 precvframe->u.hdr.rx_tail = pkt_copy->data; in recvbuf2recvframe()
1093 precvframe->u.hdr.rx_end = pkt_copy->data + alloc_sz; in recvbuf2recvframe()
[all …]