Home
last modified time | relevance | path

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

/external/libpcap/msdos/
Dndis2.c349 PktBuf *pktBuf; in CALLBACK() local
364 if ((pktBuf = AllocPktBuf()) == NULL) in CALLBACK()
377 tDBufDescr.tDBufDescrRec[0].tDDataPtr = pktBuf->buffer; in CALLBACK()
378 tDBufDescr.tDBufDescrRec[0].tDDataLen = pktBuf->length; in CALLBACK()
383 pktBuf->packetLength = bytesCopied; in CALLBACK()
386 EnquePktBuf(pktBuf); in CALLBACK()
387 else FreePktBuf (pktBuf); in CALLBACK()
414 struct _PktBuf *pktBuf; in CALLBACK() local
424 if ((pktBuf = AllocPktBuf()) == NULL) in CALLBACK()
429 pktBuf->packetLength = 0; in CALLBACK()
[all …]
Dndis2.h500 extern int NdisSendPacket (struct _PktBuf *pktBuf, int macId);