Loading [MathJax]/extensions/tex2jax.js
CS350 COS
COS
All Data Structures Files Functions Variables Typedefs Macros
mbuf.h File Reference

Go to the source code of this file.

Data Structures

struct  MBuf
 

Macros

#define MBUF_TYPE_NULL   0
 
#define MBUF_TYPE_PACKETSTART   1
 
#define MBUF_TYPE_PACKETCONT   2
 
#define MBUF_TYPE_PACKETEND   3
 
#define MBUF_STATUS_NULL   0
 
#define MBUF_STATUS_READY   1
 
#define MBUF_STATUS_FAILED   2
 

Typedefs

typedef struct MBuf MBuf
 

Data Structure Documentation

◆ MBuf

struct MBuf

Definition at line 14 of file mbuf.h.

Collaboration diagram for MBuf:
[legend]
Data Fields
uint32_t flags
uint32_t len
uint64_t maddr
uint32_t status
uint32_t type
uint64_t vaddr

Macro Definition Documentation

◆ MBUF_STATUS_FAILED

#define MBUF_STATUS_FAILED   2

Definition at line 12 of file mbuf.h.

◆ MBUF_STATUS_NULL

#define MBUF_STATUS_NULL   0

Definition at line 10 of file mbuf.h.

◆ MBUF_STATUS_READY

#define MBUF_STATUS_READY   1

Definition at line 11 of file mbuf.h.

◆ MBUF_TYPE_NULL

#define MBUF_TYPE_NULL   0

Definition at line 5 of file mbuf.h.

◆ MBUF_TYPE_PACKETCONT

#define MBUF_TYPE_PACKETCONT   2

Definition at line 7 of file mbuf.h.

◆ MBUF_TYPE_PACKETEND

#define MBUF_TYPE_PACKETEND   3

Definition at line 8 of file mbuf.h.

◆ MBUF_TYPE_PACKETSTART

#define MBUF_TYPE_PACKETSTART   1

Definition at line 6 of file mbuf.h.

Typedef Documentation

◆ MBuf

typedef struct MBuf MBuf