WE310F5  39.00.000
M2MB_NET_BUF Struct Reference

Structure to hold network buffer information. More...

#include <m2mb_netbuf.h>

Data Fields

VOIDreserved
 
struct M2MB_NET_BUFpk_Prev
 
struct M2MB_NET_BUFpk_Next
 
char * nb_Buff
 
UINT32 nb_Blen
 
char * nb_Prot
 
UINT32 nb_Tlen
 
UINT32 nb_Plen
 

Detailed Description

Structure to hold network buffer information.

This structure is used when allocating a system buffer. The network buffer can be chained and accessed via pk_prev and pk_next.

Definition at line 93 of file m2mb_netbuf.h.

Field Documentation

◆ nb_Blen

UINT32 nb_Blen

Length of the raw buffer.

Definition at line 99 of file m2mb_netbuf.h.

◆ nb_Buff

char* nb_Buff

Beginning of the raw buffer.

Definition at line 98 of file m2mb_netbuf.h.

◆ nb_Plen

UINT32 nb_Plen

Length of the protocol/data.

Definition at line 102 of file m2mb_netbuf.h.

◆ nb_Prot

char* nb_Prot

Beginning of the protocol/data.

Definition at line 100 of file m2mb_netbuf.h.

◆ nb_Tlen

UINT32 nb_Tlen

Total length of all nb_prots in the pk_next list.

Definition at line 101 of file m2mb_netbuf.h.

◆ pk_Next

struct M2MB_NET_BUF* pk_Next

Next buffer in the chain.

Definition at line 97 of file m2mb_netbuf.h.

◆ pk_Prev

struct M2MB_NET_BUF* pk_Prev

Previous buffer in the chain.

Definition at line 96 of file m2mb_netbuf.h.

◆ reserved

VOID* reserved

Reserved.

Definition at line 95 of file m2mb_netbuf.h.


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