ZCOM Tables and Data Structures

 

 

 

 

Data Buffer Pool

 

Free Buffer Header Structure (zfbh_type)

 

 

 

The buffer header contains information about the buffer as well as a

 

linkage to the next buffer. (zbhd_type). See Table 3-30 and Table 3-31.

Table 3-30

Free Buffer Header Structure (zfbh_type)

 

 

 

 

 

 

 

 

Field Name

Field Description

 

Field Type

 

Size

 

 

(Bytes)

 

 

 

 

 

 

 

 

 

 

 

BFFLAG

System flags (length & status)

uns.int

 

4

 

 

 

 

 

 

SPARE1

Reserved, not used

int

 

4

 

 

 

 

 

 

QHEAD

Pointer to next buffer on queue

pointer

 

8

 

 

 

 

 

 

BFPREV

Pointer to previous buffer on queue

pointer

 

8

 

 

 

 

 

 

Table 3-31

Buffer Structure (zbhd_type)

 

 

 

 

 

 

 

 

 

 

Field Name

Field Description

 

Field Type

 

Size

 

 

(Bytes)

 

 

 

 

 

 

 

 

 

 

 

BFFLAG

System flags (length & status)

 

uns.int

 

4

 

 

 

 

 

 

BFLEN

Buffer length in bytes (data portion)

 

int

 

4

 

 

 

 

 

 

BFLINK

Pointer to next buffer on queue

 

pointer

 

8

 

 

 

 

 

 

BFDATA

Pointer to 1st byte of data in buffer

 

pointer

 

8

 

 

 

 

 

 

BFRESP

Pointer to response record

 

pointer

 

8

 

 

 

 

 

 

Chapter 3

109

Page 109
Image 109
HP Advanced Communications Controllers (ACC) manual Linkage to the next buffer. zbhdtype. See -30 and Table