
|
|
| 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 | ||||
Table | 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 | 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 |