XINU
Data Fields
ethloop Struct Reference

#include <ethloop.h>

Collaboration diagram for ethloop:
Collaboration graph
[legend]

Data Fields

char * buffer [ELOOP_NBUF]
 
int count
 
struct dentrydev
 
byte flags
 
char * hold
 
int holdlen
 
sid32 hsem
 
int index
 
uint32 nout
 
int pktlen [ELOOP_NBUF]
 
int poolid
 
sid32 sem
 
int state
 

Detailed Description

Loopback device control block

Definition at line 32 of file ethloop.h.

Field Documentation

◆ buffer

char* ethloop::buffer[ELOOP_NBUF]

input buffer

Definition at line 43 of file ethloop.h.

◆ count

int ethloop::count

number of packets in buffer

Definition at line 42 of file ethloop.h.

◆ dev

struct dentry* ethloop::dev

device table entry

Definition at line 35 of file ethloop.h.

◆ flags

byte ethloop::flags

flags

Definition at line 37 of file ethloop.h.

◆ hold

char* ethloop::hold

hold buffer

Definition at line 48 of file ethloop.h.

◆ holdlen

int ethloop::holdlen

length of packet in hold buffer

Definition at line 49 of file ethloop.h.

◆ hsem

sid32 ethloop::hsem

number of held packets

Definition at line 47 of file ethloop.h.

◆ index

int ethloop::index

index of first packet in buffer

Definition at line 40 of file ethloop.h.

◆ nout

uint32 ethloop::nout

number of packets written

Definition at line 52 of file ethloop.h.

◆ pktlen

int ethloop::pktlen[ELOOP_NBUF]

length of packet in buffer

Definition at line 44 of file ethloop.h.

◆ poolid

int ethloop::poolid

poolid for the buffer pool

Definition at line 36 of file ethloop.h.

◆ sem

sid32 ethloop::sem

number of packets in buffer

Definition at line 41 of file ethloop.h.

◆ state

int ethloop::state

device state

Definition at line 34 of file ethloop.h.


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