Specifications
HighWire MTP-2 - 1.2, September 4, 2002 Common Header Sub-Structures 49
6. CBI Buffer Formats
The header files cbi.h and cbim2.h contains all the structures that define the
format of information within the control buffers passed between the user
application and the library in the ctrl_buffer parameter of the cbi_send and
cbi_recv calls. Note that both control and data buffers consist of contiguous
memory, and that control buffers of messages which possess data parts
contain fields indicating the offset of the start of any data within its buffer and
the length of the data.
6-1. Common Header Sub-Structures
6-1-1. CBI_M2_COMMON_PARMS This structure contains L2 common configuration parameters.
Data structure.
typedef struct cbi_m2_common_parms
{
CBI_ULONG cong_method;
CBI_BYTE num_cong_levels;
CBI_ULONG cong_onset[CBI_M2_MAX_NUM_CONG_LEVELS + 1];
CBI_ULONG cong_abate[CBI_M2_MAX_NUM_CONG_LEVELS + 1];
CBI_ULONG cong_discard[CBI_M2_MAX_NUM_CONG_LEVELS + 1];
CBI_ULONG t_tx_dur;
CBI_ULONG t_ty_dur;
CBI_BYTE initial_status;
CBI_ULONG rcv_pool_capacity;
} CBI_M2_COMMON_PARMS;
Parameters.
cong_method
cong_methodcong_method
cong_method
The type of transmission congestion control employed by the L2. This field can
take the following values:
CBI_CONG_CTRL_
INTERNATIONAL
Single congestion onset/abatement thresholds.
Single discard threshold.
CBI_CONG_CTRL_
NATL_WITH_PRI
Multiple (3) onset/abatement thresholds with
multiple (3) discard thresholds for discarding
messages based on priority.
CBI_CONG_CTRL_
NATL_TIMER
Multiple states for congestion. One discard
threshold. Changes to the state are determined by
a single onset threshold and the continuous
length of time the transmitter remains above that
threshold.
CBI_CONG_CTRL_
NATL_BUFFER
Multiple (3) onset/abatement thresholds. One
discard threshold.