~ubuntu-branches/ubuntu/intrepid/tcpdump/intrepid

« back to all changes in this revision

Viewing changes to gmpls.c

  • Committer: Bazaar Package Importer
  • Author(s): Romain Francoise
  • Date: 2005-12-10 14:26:20 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20051210142620-t4ju0367w6j2x06i
Tags: 3.9.4-2
debian/patches/20_man_fixes.dpatch: Merge patch from A Costa
<agcosta@gis.net> fixing a few typos (closes: #342310).

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
#ifndef lint
17
17
static const char rcsid[] _U_ =
18
 
    "@(#) $Header: /tcpdump/master/tcpdump/gmpls.c,v 1.2.2.2 2003/11/16 08:51:05 guy Exp $ (LBL)";
 
18
    "@(#) $Header: /tcpdump/master/tcpdump/gmpls.c,v 1.5.2.1 2005/05/19 06:44:02 guy Exp $ (LBL)";
19
19
#endif
20
20
 
21
21
#ifdef HAVE_CONFIG_H
132
132
    { 58,   "Fiber Channel"},
133
133
    { 0, NULL }
134
134
};
 
135
 
 
136
/* 
 
137
 * Link Type values used by LMP Service Discovery (specifically, the Client 
 
138
 * Port Service Attributes Object). See UNI 1.0 section 9.4.2 for details.
 
139
 */
 
140
struct tok lmp_sd_service_config_cpsa_link_type_values[] = {
 
141
    { 5, "SDH ITU-T G.707"},
 
142
    { 6, "SONET ANSI T1.105"},
 
143
    { 0, NULL}
 
144
};
 
145
 
 
146
/* 
 
147
 * Signal Type values for SDH links used by LMP Service Discovery (specifically, 
 
148
 * the Client Port Service Attributes Object). See UNI 1.0 section 9.4.2 for 
 
149
 * details.
 
150
 */
 
151
struct tok lmp_sd_service_config_cpsa_signal_type_sdh_values[] = {
 
152
    { 5,  "VC-3"},
 
153
    { 6,  "VC-4"},
 
154
    { 7,  "STM-0"},
 
155
    { 8,  "STM-1"},
 
156
    { 9,  "STM-4"},
 
157
    { 10, "STM-16"},
 
158
    { 11, "STM-64"},
 
159
    { 12, "STM-256"},
 
160
    { 0, NULL}
 
161
};
 
162
 
 
163
/* 
 
164
 * Signal Type values for SONET links used by LMP Service Discovery (specifically, 
 
165
 * the Client Port Service Attributes Object). See UNI 1.0 section 9.4.2 for 
 
166
 * details.
 
167
 */
 
168
struct tok lmp_sd_service_config_cpsa_signal_type_sonet_values[] = {
 
169
    { 5,  "STS-1 SPE"},
 
170
    { 6,  "STS-3c SPE"},
 
171
    { 7,  "STS-1"},
 
172
    { 8,  "STM-3"},
 
173
    { 9,  "STM-12"},
 
174
    { 10, "STM-48"},
 
175
    { 11, "STM-192"},
 
176
    { 12, "STM-768"},
 
177
    { 0, NULL}
 
178
};
 
179
 
 
180
#define DIFFSERV_BC_MODEL_RDM           0   /* draft-ietf-tewg-diff-te-proto-07 */
 
181
#define DIFFSERV_BC_MODEL_MAM           1   /* draft-ietf-tewg-diff-te-proto-07 */ 
 
182
#define DIFFSERV_BC_MODEL_EXTD_MAM      254 /* experimental */
 
183
 
 
184
struct tok diffserv_te_bc_values[] = {
 
185
    {  DIFFSERV_BC_MODEL_RDM, "Russian dolls"},
 
186
    {  DIFFSERV_BC_MODEL_MAM, "Maximum allocation"},
 
187
    {  DIFFSERV_BC_MODEL_EXTD_MAM, "Maximum allocation with E-LSP support"},
 
188
    { 0, NULL }
 
189
};