![]() |
![]() |
#include <emac_drv.h>
Data Fields | |
| Uint32 | AppPrivate |
| EMAC_PKT_DESC_T * | pPrev |
| EMAC_PKT_DESC_T * | pNext |
| Uint8 * | pDataBuffer |
| Uint32 | BufferLen |
| EMAC_PKT_FLAG_T | Flags |
| Uint32 | ValidLen |
| Uint32 | DataOffset |
| Uint32 | PktChannel |
| Uint32 | PktLength |
| Uint32 | PktFrags |
| Uint32 EMAC_PKT_DESC_T::AppPrivate |
For use by the application
Previous descriptor pointer
Next descriptor pointer
| Uint8* EMAC_PKT_DESC_T::pDataBuffer |
Pointer to Data Buffer (read only)
| Uint32 EMAC_PKT_DESC_T::BufferLen |
Physical Length of buffer (read only)
| EMAC_PKT_FLAG_T EMAC_PKT_DESC_T::Flags |
Packet Flags, SOP, EOP
| Uint32 EMAC_PKT_DESC_T::ValidLen |
Length of valid data in buffer
| Uint32 EMAC_PKT_DESC_T::DataOffset |
Byte offset to valid data
| Uint32 EMAC_PKT_DESC_T::PktChannel |
Tx/Rx Channel 0-7 (SOP only)
| Uint32 EMAC_PKT_DESC_T::PktLength |
Length of Packet (SOP only) (same as ValidLen on single frag Pkt)
| Uint32 EMAC_PKT_DESC_T::PktFrags |
No of frags in packet (SOP only), normally 1