qcc_len(3)
NAME
qcc_len, qcc_bld_setup_datalen, qcc_bld_call_proceeding_datalen, qcc_bld_connect_datalen, qcc_bld_connect_ack_datalen, qcc_bld_release_datalen, qcc_bld_release_complete_datalen, qcc_bld_status_enquiry_datalen, qcc_bld_status_datalen, qcc_bld_restart_datalen, qcc_bld_restart_ack_datalen, qcc_bld_add_party_datalen, qcc_bld_add_party_ack_datalen, qcc_bld_add_party_reject_datalen, qcc_bld_drop_party_datalen, qcc_bld_drop_party_ack_datalen, qcc_max_bld_datalen, qcc_ctl_len − get length of Q.2931 messages
SYNOPSIS
cc [ flag ... ] file ... −latm [ library ... ]
#include <atm/qcc.h> #include <atm/limits.h>
size_t qcc_bld_setup_datalen();
size_t qcc_bld_call_proceeding_datalen();
size_t qcc_bld_connect_datalen();
size_t qcc_bld_connect_ack_datalen();
size_t qcc_bld_release_datalen();
size_t qcc_bld_release_complete_datalen();
size_t qcc_bld_status_enquiry_datalen();
size_t qcc_bld_status_datalen();
size_t qcc_bld_restart_datalen();
size_t qcc_bld_restart_ack_datalen();
size_t qcc_bld_add_party_datalen();
size_t qcc_bld_add_party_ack_datalen();
size_t qcc_bld_add_party_reject_datalen();
size_t qcc_bld_drop_party_datalen();
size_t qcc_bld_drop_party_ack_datalen();
size_t qcc_max_bld_datalen();
size_t qcc_ctl_len();
MT-LEVEL
Safe.
AVAILABILITY
The functionality described in this man page is available in the SUNWatma package included with the SunATM adapter board. The libatm.a library, which is located in /usr/lib, must be included at compile time as indicated in the synopsis.
DESCRIPTION
These functions may be used to determine appropriate buffer sizes for the control and data buffers that are passed into qcc_bld(3) functions. For the data buffer, the qcc_bld_∗_datalen() functions will return the maximum size of a particular message type. qcc_max_bld_datalen() returns the maximum size of all Q.2931 message types. A buffer allocated for this size will be able to hold any message type. For the control buffer, qcc_ctl_len() will return the required size.
SEE ALSO
qcc_bld(3), qcc_parse(3), q93b(7)
"ATM User-Network Interface Specification, V3.0," ATM Forum.
SunOS ATM_2.0 — Last change: 7 Dec 1994