CS350 COS
COS
Loading...
Searching...
No Matches
mbuf.h
Go to the documentation of this file.
1
2#ifndef __SYS_MBUF_H__
3#define __SYS_MBUF_H__
4
5#define MBUF_TYPE_NULL 0
6#define MBUF_TYPE_PACKETSTART 1
7#define MBUF_TYPE_PACKETCONT 2
8#define MBUF_TYPE_PACKETEND 3
9
10#define MBUF_STATUS_NULL 0
11#define MBUF_STATUS_READY 1
12#define MBUF_STATUS_FAILED 2
13
14typedef struct MBuf {
22
23#endif /* __SYS_MBUF_H__ */
24
uint32_t status
Definition: mbuf.h:20
uint32_t type
Definition: mbuf.h:18
uint64_t vaddr
Definition: mbuf.h:15
uint32_t flags
Definition: mbuf.h:19
uint64_t maddr
Definition: mbuf.h:16
uint32_t len
Definition: mbuf.h:17
Definition: mbuf.h:14
unsigned int uint32_t
Definition: types.h:12
unsigned long uint64_t
Definition: types.h:13