iPXE
Data Fields
txdesc Struct Reference

#include <jme.h>

Data Fields

volatile unsigned long status
 
unsigned long buf1sz:11
 
unsigned long buf2sz:11
 
unsigned long control:10
 
const unsigned char * buf1addr
 
const unsigned char * buf2addr
 
union {
   uint8_t   all [16]
 
   uint32_t   dw [4]
 
   struct {
      uint16_t   vlan
 
      uint8_t   rsv1
 
      uint8_t   flags
 
      uint16_t   datalen
 
      uint16_t   mss
 
      uint16_t   pktsize
 
      uint16_t   rsv2
 
      uint32_t   bufaddr
 
   }   desc1
 
   struct {
      uint16_t   rsv1
 
      uint8_t   rsv2
 
      uint8_t   flags
 
      uint16_t   datalen
 
      uint16_t   rsv3
 
      uint32_t   bufaddrh
 
      uint32_t   bufaddrl
 
   }   desc2
 
   struct {
      uint8_t   ehdrsz
 
      uint8_t   rsv1
 
      uint8_t   rsv2
 
      uint8_t   flags
 
      uint16_t   trycnt
 
      uint16_t   segcnt
 
      uint16_t   pktsz
 
      uint16_t   rsv3
 
      uint32_t   bufaddrl
 
   }   descwb
 
}; 
 

Detailed Description

Definition at line 100 of file davicom.c.

Field Documentation

◆ status

volatile unsigned long txdesc::status

Definition at line 101 of file davicom.c.

◆ buf1sz

unsigned long txdesc::buf1sz

Definition at line 102 of file davicom.c.

◆ buf2sz

unsigned long txdesc::buf2sz

Definition at line 102 of file davicom.c.

◆ control

unsigned long txdesc::control

Definition at line 102 of file davicom.c.

◆ buf1addr

const unsigned char* txdesc::buf1addr

Definition at line 105 of file davicom.c.

◆ buf2addr

const unsigned char* txdesc::buf2addr

Definition at line 106 of file davicom.c.

◆ all

uint8_t txdesc::all[16]

Definition at line 55 of file jme.h.

◆ dw

uint32_t txdesc::dw[4]

Definition at line 56 of file jme.h.

Referenced by jme_fill_tx_desc().

◆ vlan

uint16_t txdesc::vlan

Definition at line 59 of file jme.h.

◆ rsv1 [1/2]

uint8_t txdesc::rsv1

Definition at line 60 of file jme.h.

◆ flags

uint8_t txdesc::flags

Definition at line 61 of file jme.h.

Referenced by jme_tx_clean().

◆ datalen

uint16_t txdesc::datalen

Definition at line 64 of file jme.h.

◆ mss

uint16_t txdesc::mss

Definition at line 65 of file jme.h.

◆ pktsize

uint16_t txdesc::pktsize

Definition at line 68 of file jme.h.

◆ rsv2 [1/2]

uint16_t txdesc::rsv2

Definition at line 69 of file jme.h.

◆ bufaddr

uint32_t txdesc::bufaddr

Definition at line 72 of file jme.h.

◆ desc1

struct { ... } txdesc::desc1

Referenced by jme_fill_tx_desc().

◆ rsv1 [2/2]

uint16_t txdesc::rsv1

Definition at line 76 of file jme.h.

◆ rsv2 [2/2]

uint8_t txdesc::rsv2

Definition at line 77 of file jme.h.

◆ rsv3

uint16_t txdesc::rsv3

Definition at line 82 of file jme.h.

◆ bufaddrh

uint32_t txdesc::bufaddrh

Definition at line 85 of file jme.h.

◆ bufaddrl

uint32_t txdesc::bufaddrl

Definition at line 88 of file jme.h.

◆ desc2

struct { ... } txdesc::desc2

◆ ehdrsz

uint8_t txdesc::ehdrsz

Definition at line 92 of file jme.h.

◆ trycnt

uint16_t txdesc::trycnt

Definition at line 98 of file jme.h.

◆ segcnt

uint16_t txdesc::segcnt

Definition at line 99 of file jme.h.

◆ pktsz

uint16_t txdesc::pktsz

Definition at line 102 of file jme.h.

◆ descwb

struct { ... } txdesc::descwb

Referenced by jme_tx_clean().

◆ @67

union { ... }

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