MityDSP network driver base class header file. More...
#include "net/net_drvr/DspNetPhy.h"
Classes | |
struct | tsNetDrvrStats |
class | tcNetDrvr |
Macros | |
#define | PBUF_DIRECT_COPY 1 |
Typedefs | |
typedef void(* | tfNetRxCallback )(void *apBuffer, int anLen, void *apUser, bool abInIsr) |
typedef void *(* | tfNetBufCallback )(int anLen, void *apUser) |
MityDSP network driver base class header file.
o 0 | / Copyright (c) 2005-2007 (CL)—o Critical Link, LLC \ O
#define PBUF_DIRECT_COPY 1 |
typedef void(* tfNetRxCallback)(void *apBuffer, int anLen, void *apUser, bool abInIsr) |
This prototype defines a callback function that is activated each time an Ethernet packet is received from the network.
[in] | apBuffer | Pointer to the Ethernet packet. |
[in] | anLen | The number of bytes in the Ethernet packet. |
[in] | apUser | A callback-specific parameter supplied when the callback is registered. |
[in] | abInIsr | True if being called from ISR context |
typedef void*(* tfNetBufCallback)(int anLen, void *apUser) |
This prototype defines a callback function that is activated each time a new empty receive buffer is required.
[in] | anLen | The number of bytes required in the buffer. |
[in] | apUser | A callback-specific parameter supplied when the callback is registered. |