File: ACE_Flow_Spec.3

package info (click to toggle)
ace 5.2.1-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 26,856 kB
  • ctags: 18,677
  • sloc: cpp: 171,831; makefile: 48,840; sh: 10,192; perl: 8,582; exp: 787; yacc: 387; lex: 140; csh: 20
file content (199 lines) | stat: -rw-r--r-- 4,726 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
.TH ACE_Flow_Spec 3 "1 Dec 2001" "ACE" \" -*- nroff -*-
.ad l
.nh
.SH NAME
ACE_Flow_Spec \- Wrapper class that defines the flow spec QoS information, which is used by IntServ (RSVP) and DiffServ. 
.SH SYNOPSIS
.br
.PP
\fC#include <OS.h>\fR
.PP
.SS Public Methods

.in +1c
.ti -1c
.RI "\fBACE_Flow_Spec\fR (void)"
.br
.RI "\fIDefault constructor.\fR"
.ti -1c
.RI "\fBACE_Flow_Spec\fR (u_long token_rate, u_long token_bucket_size, u_long peak_bandwidth, u_long latency, u_long delay_variation, \fBACE_SERVICE_TYPE\fR service_type, u_long max_sdu_size, u_long minimum_policed_size, int ttl, int priority)"
.br
.RI "\fIConstructor that initializes all the fields.\fR"
.ti -1c
.RI "u_long \fBtoken_rate\fR (void) const"
.br
.ti -1c
.RI "void \fBtoken_rate\fR (u_long tr)"
.br
.ti -1c
.RI "u_long \fBtoken_bucket_size\fR (void) const"
.br
.ti -1c
.RI "void \fBtoken_bucket_size\fR (u_long tbs)"
.br
.ti -1c
.RI "u_long \fBpeak_bandwidth\fR (void) const"
.br
.ti -1c
.RI "void \fBpeak_bandwidth\fR (u_long pb)"
.br
.ti -1c
.RI "u_long \fBlatency\fR (void) const"
.br
.ti -1c
.RI "void \fBlatency\fR (u_long l)"
.br
.ti -1c
.RI "u_long \fBdelay_variation\fR (void) const"
.br
.ti -1c
.RI "void \fBdelay_variation\fR (u_long dv)"
.br
.ti -1c
.RI "\fBACE_SERVICE_TYPE\fR \fBservice_type\fR (void) const"
.br
.ti -1c
.RI "void \fBservice_type\fR (\fBACE_SERVICE_TYPE\fR st)"
.br
.ti -1c
.RI "u_long \fBmax_sdu_size\fR (void) const"
.br
.ti -1c
.RI "void \fBmax_sdu_size\fR (u_long mss)"
.br
.ti -1c
.RI "u_long \fBminimum_policed_size\fR (void) const"
.br
.ti -1c
.RI "void \fBminimum_policed_size\fR (u_long mps)"
.br
.ti -1c
.RI "int \fBttl\fR (void) const"
.br
.ti -1c
.RI "void \fBttl\fR (int t)"
.br
.ti -1c
.RI "int \fBpriority\fR (void) const"
.br
.ti -1c
.RI "void \fBpriority\fR (int p)"
.br
.in -1c
.SS Private Attributes

.in +1c
.ti -1c
.RI "u_long \fBtoken_rate_\fR"
.br
.ti -1c
.RI "u_long \fBtoken_bucket_size_\fR"
.br
.ti -1c
.RI "u_long \fBpeak_bandwidth_\fR"
.br
.ti -1c
.RI "u_long \fBlatency_\fR"
.br
.ti -1c
.RI "u_long \fBdelay_variation_\fR"
.br
.ti -1c
.RI "\fBACE_SERVICE_TYPE\fR \fBservice_type_\fR"
.br
.ti -1c
.RI "u_long \fBmax_sdu_size_\fR"
.br
.ti -1c
.RI "u_long \fBminimum_policed_size_\fR"
.br
.ti -1c
.RI "int \fBttl_\fR"
.br
.ti -1c
.RI "int \fBpriority_\fR"
.br
.in -1c
.SH DETAILED DESCRIPTION
.PP 
Wrapper class that defines the flow spec QoS information, which is used by IntServ (RSVP) and DiffServ.
.PP
.SH CONSTRUCTOR & DESTRUCTOR DOCUMENTATION
.PP 
.SS ACE_Flow_Spec::ACE_Flow_Spec (void)
.PP
Default constructor.
.PP
.SS ACE_Flow_Spec::ACE_Flow_Spec (u_long token_rate, u_long token_bucket_size, u_long peak_bandwidth, u_long latency, u_long delay_variation, \fBACE_SERVICE_TYPE\fR service_type, u_long max_sdu_size, u_long minimum_policed_size, int ttl, int priority)
.PP
Constructor that initializes all the fields.
.PP
.SH MEMBER FUNCTION DOCUMENTATION
.PP 
.SS void ACE_Flow_Spec::delay_variation (u_long dv)
.PP
.SS u_long ACE_Flow_Spec::delay_variation (void) const
.PP
.SS void ACE_Flow_Spec::latency (u_long l)
.PP
.SS u_long ACE_Flow_Spec::latency (void) const
.PP
.SS void ACE_Flow_Spec::max_sdu_size (u_long mss)
.PP
.SS u_long ACE_Flow_Spec::max_sdu_size (void) const
.PP
.SS void ACE_Flow_Spec::minimum_policed_size (u_long mps)
.PP
.SS u_long ACE_Flow_Spec::minimum_policed_size (void) const
.PP
.SS void ACE_Flow_Spec::peak_bandwidth (u_long pb)
.PP
.SS u_long ACE_Flow_Spec::peak_bandwidth (void) const
.PP
.SS void ACE_Flow_Spec::priority (int p)
.PP
.SS int ACE_Flow_Spec::priority (void) const
.PP
.SS void ACE_Flow_Spec::service_type (\fBACE_SERVICE_TYPE\fR st)
.PP
.SS \fBACE_SERVICE_TYPE\fR ACE_Flow_Spec::service_type (void) const
.PP
.SS void ACE_Flow_Spec::token_bucket_size (u_long tbs)
.PP
.SS u_long ACE_Flow_Spec::token_bucket_size (void) const
.PP
.SS void ACE_Flow_Spec::token_rate (u_long tr)
.PP
.SS u_long ACE_Flow_Spec::token_rate (void) const
.PP
.SS void ACE_Flow_Spec::ttl (int t)
.PP
.SS int ACE_Flow_Spec::ttl (void) const
.PP
.SH MEMBER DATA DOCUMENTATION
.PP 
.SS u_long ACE_Flow_Spec::delay_variation_\fC [private]\fR
.PP
.SS u_long ACE_Flow_Spec::latency_\fC [private]\fR
.PP
.SS u_long ACE_Flow_Spec::max_sdu_size_\fC [private]\fR
.PP
.SS u_long ACE_Flow_Spec::minimum_policed_size_\fC [private]\fR
.PP
.SS u_long ACE_Flow_Spec::peak_bandwidth_\fC [private]\fR
.PP
.SS int ACE_Flow_Spec::priority_\fC [private]\fR
.PP
.SS \fBACE_SERVICE_TYPE\fR ACE_Flow_Spec::service_type_\fC [private]\fR
.PP
.SS u_long ACE_Flow_Spec::token_bucket_size_\fC [private]\fR
.PP
.SS u_long ACE_Flow_Spec::token_rate_\fC [private]\fR
.PP
.SS int ACE_Flow_Spec::ttl_\fC [private]\fR
.PP


.SH AUTHOR
.PP 
Generated automatically by Doxygen for ACE from the source code.