Integrated services data structures and macros formats for guaranteed service
The following formats for guaranteed service apply to the integrated services data structures and macros:
- The following enumeration is defined for service-specific parameter
identifiers and has at least the following members with the following
values:
Member Value IS_GUAR_RSPEC 130 GUAR_ADSPARM_C 131 GUAR_ADSPARM_D 132 GUAR_ADSPARM_Ctot 133 GUAR_ADSPARM_Dtot 134 GUAR_ADSPARM_Csum 135 GUAR_ADSPARM_Dsum 136 - Type guar_Rspec_t is defined by typedef as a structure
for guaranteed Rspec parameters, and has at least the following members:
Member Type Usage Guar_R float32_t Guaranteed rate in bytes per second Guar_S u_int32_t Slack term in microseconds - Type Guar_flowspec_t is defined by typedef as a structure
to represent a guaranteed flowspec, and has at least the following
members:
Member Type Usage Guar_Rspec guar_Rspec_t Guaranteed rate in Bytes per second Guar_Rspec_hdr IS_parm_hdr_t (IS_GUAR_RSPEC) Guar_serv_hdr IS_serv_hdr_t (GUARANTEED_SERV, 0, length) Guar_Tspec_hdr IS_parm_hdr_t (IS_WKP_TB_TSPEC) Guar_Tspec_parms TB_Tsp_parms_t GENERIC Tspec parameters - The following macros are defined with the values given below:
Macro Value Gspec_b Guar_Tspec_parms.TB_Tspec_b Gspec_len (sizeof(Guar_flowspec_t) - sizeof(IS_serv_hdr_t)) Gspec_m Guar_Tspec_parms.TB_Tspec_m Gspec_M Guar_Tspec_parms.TB_Tspec_M Gspec_p Guar_Tspec_parms.TB_Tspec_p Gspec_r Guar_Tspec_parms.TB_Tspec_r Gspec_R Guar_Rspec.Guar_R Gspec_R_flags Guar_Rspec_hdr.isph_flags Gspec_R_len32b Guar_Rspec_hdr.isph_len32b Gspec_R_parmno Guar_Rspec_hdr.isph_parm_num Gspec_S Guar_Rspec.Guar_S Gspec_T_flags Guar_Tspec_hdr.isph_flags Gspec_T_len32b Guar_Tspec_hdr.isph_len32b Gspec_T_parmno Guar_Tspec_hdr.isph_parm_num - Type Gads_parms_t is defined by typedef as a structure
for guaranteed adspec parameters, and has the following members, which
can be followed by override general parameter values:
Member Type Usage Gads_Csum u_int32_t Gads_Csum_hdr IS_parm_hdr_t (GUAR_ADSPARM_Csum) Gads_Ctot u_int32_t Gads_Ctot_hdr IS_parm_hdr_t (GUAR_ADSPARM_Ctot) Gads_Dsum u_int32_t Gads_Dsum_hdr IS_parm_hdr_t (GUAR_ADSPARM_Dsum) Gads_Dtot u_int32_t Gads_Dtot_hdr IS_parm_hdr_t (GUAR_ADSPARM_Dtot) Gads_serv_hdr IS_serv_hdr_t (GUARANTEED_SERV, x, len)