- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Data Fields

# EMAC_PKT_DESC_T Struct Reference

EMAC packet descriptor data structure. More...

`#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

## Detailed Description

EMAC packet descriptor data structure.

## Field Documentation

Uint32 EMAC_PKT_DESC_T::AppPrivate

For use by the application

struct EMAC_PKT_DESC_T* EMAC_PKT_DESC_T::pPrev

Previous descriptor pointer

struct EMAC_PKT_DESC_T* EMAC_PKT_DESC_T::pNext

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

The documentation for this struct was generated from the following file:

- emac_drv.h

Copyright 2012, Texas Instruments Incorporated