Home
last modified time | relevance | path

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

/drivers/staging/epl/
DVirtualEthernetLinux.c253 struct sk_buff *pSkb; in VEthRecvFrame() local
258 pSkb = dev_alloc_skb(pFrameInfo_p->m_uiFrameSize + 2); in VEthRecvFrame()
259 if (pSkb == NULL) { in VEthRecvFrame()
263 pSkb->dev = pNetDevice; in VEthRecvFrame()
265 skb_reserve(pSkb, 2); in VEthRecvFrame()
267 memcpy((void *)skb_put(pSkb, pFrameInfo_p->m_uiFrameSize), in VEthRecvFrame()
270 pSkb->protocol = eth_type_trans(pSkb, pNetDevice); in VEthRecvFrame()
271 pSkb->ip_summed = CHECKSUM_UNNECESSARY; in VEthRecvFrame()
274 netif_rx(pSkb); in VEthRecvFrame()
/drivers/staging/rt2870/common/
Drtusb_data.c51 struct sk_buff *pSkb; in REPORT_AMSDU_FRAMES_TO_LLC() local
55 pSkb = dev_alloc_skb(RX_BUFFER_AGGRESIZE); in REPORT_AMSDU_FRAMES_TO_LLC()
56 pPacket = (PNDIS_PACKET)OSPKT_TO_RTPKT(pSkb); in REPORT_AMSDU_FRAMES_TO_LLC()
57 if (pSkb) in REPORT_AMSDU_FRAMES_TO_LLC()
61 pSkb->dev = get_netdev_from_bssid(pAd, BSS0); in REPORT_AMSDU_FRAMES_TO_LLC()
D2870_rtmp_init.c1040 PNDIS_PACKET pSkb; in GetPacketFromRxRing() local
1098 pSkb = dev_alloc_skb(ThisFrameLen); in GetPacketFromRxRing()
1099 if (pSkb == NULL) in GetPacketFromRxRing()
1106 memcpy(skb_put(pSkb, ThisFrameLen), pData, ThisFrameLen); in GetPacketFromRxRing()
1107 RTPKT_TO_OSPKT(pSkb)->dev = get_netdev_from_bssid(pAd, BSS0); in GetPacketFromRxRing()
1108 RTMP_SET_PACKET_SOURCE(OSPKT_TO_RTPKT(pSkb), PKTSRC_NDIS); in GetPacketFromRxRing()
1119 return pSkb; in GetPacketFromRxRing()