z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Integrated services data structures and macros generic tspec format

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

The following generic tspec formats apply to the integrated services data structures and macros:

  • The following macros define constraints on the token bucket parameters for both the controlled-load and guaranteed service. These constraints are imposed by the respective service specifications and are not an indication of what minimum or maximum values a RAPI implementation will accept.

    The following macros are defined with values of type float32_t:

    Macro Usage Value
    TB_MIN_RATE Minimum token bucket rate 1 byte per second
    TB_MAX_RATE Maximum token bucket rate 40 terabytes per second
    TB_MIN_DEPTH Minimum token bucket depth 1 byte
    TB_MAX_DEPTH Maximum token bucket depth 250 gigabytes
    TB_MAX_PEAK Maximum peak rate Positive infinity, defined as an IEEE single-precision floating-point number with an exponent of all ones (255) and a sign and mantissa of all zeros (see RFC 1832; see Related protocol specifications for information about accessing RFCs)
  • Type TB_Tsp_parms_t is defined by typedef as a structure to represent generic Tspec parameters, and has at least the following members:
    Member Type Usage
    TB_Tspec_b float32_t Token bucket depth in bytes
    TB_Tspec_m u_int32_t Minimum policed unit in bytes
    TB_Tspec_M u_int32_t Maximum packet size in bytes
    TB_Tspec_p float32_t Peak data rate in bytes per second
    TB_Tspec_r float32_t Token bucket rate in bytes per second
  • Type gen_Tspec_t is defined by typedef as a structure to represent a generic Tspec, and has at least the following members:
    Member Type Usage
    gen_Tspec_parms TB_Tsp_parms_t  
    gen_Tspec_parm_hdr IS_parm_hdr_t (IS_WKP_TB_TSPEC,)
    gen_Tspec_serv_hdr IS_serv_hdr_t (GENERAL_INFO, length)
  • The following macros are defined with the values given below:
    Macro Value
    gtspec_b gen_Tspec_parms.TB_Tspec_b
    gtspec_flags gen_Tspec_parm_hdr.isph_flags
    gtspec_len (sizeof(gen_Tspec_t) - sizeof(IS_serv_hdr_t))
    gtspec_len32b gen_Tspec_parm_hdr.isph_len32b
    gtspec_m gen_Tspec_parms.TB_Tspec_m
    gtspec_M gen_Tspec_parms.TB_Tspec_M
    gtspec_p gen_Tspec_parms.TB_Tspec_p
    gtspec_parmno gen_Tspec_parm_hdr.isph_parm_num
    gtspec_r gen_Tspec_parms.TB_Tspec_r

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014