Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

eth_buf Struct Reference

An ethernet buffer structure. More...

#include <eth.h>


Data Fields

phys_packet_t packet [ETH_RECV_BUF_DIM]
 The packets pointers.

int read
 The position of the next packet received.

int write
 The position of the next packet to be sent.

int count
 The amount of packets in the buffer.

semaphore_t mutex
 A mutex semaphore for the buffer.


Detailed Description

An ethernet buffer structure.

Definition at line 41 of file eth.h.


Field Documentation

int eth_buf::count
 

The amount of packets in the buffer.

Definition at line 46 of file eth.h.

semaphore_t eth_buf::mutex
 

A mutex semaphore for the buffer.

Definition at line 52 of file eth.h.

phys_packet_t eth_buf::packet[ETH_RECV_BUF_DIM]
 

The packets pointers.

Definition at line 44 of file eth.h.

int eth_buf::read
 

The position of the next packet received.

Definition at line 46 of file eth.h.

int eth_buf::write
 

The position of the next packet to be sent.

Definition at line 46 of file eth.h.


The documentation for this struct was generated from the following file:
Generated on Fri Feb 20 15:32:21 2004 for Minirighi by doxygen1.2.18