JP Abgrall | 53f17a9 | 2014-02-12 14:02:41 -0800 | [diff] [blame] | 1 | /* @(#) $Header: /tcpdump/master/tcpdump/gmpls.h,v 1.5 2006-04-14 07:11:59 hannes Exp $ (LBL) */ |
The Android Open Source Project | 2949f58 | 2009-03-03 19:30:46 -0800 | [diff] [blame] | 2 | /* |
| 3 | * Redistribution and use in source and binary forms, with or without |
| 4 | * modification, are permitted provided that: (1) source code |
| 5 | * distributions retain the above copyright notice and this paragraph |
| 6 | * in its entirety, and (2) distributions including binary code include |
| 7 | * the above copyright notice and this paragraph in its entirety in |
| 8 | * the documentation or other materials provided with the distribution. |
| 9 | * THIS SOFTWARE IS PROVIDED ``AS IS'' AND |
| 10 | * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT |
| 11 | * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 12 | * FOR A PARTICULAR PURPOSE. |
| 13 | * |
| 14 | * Original code by Hannes Gredler (hannes@juniper.net) |
| 15 | */ |
| 16 | |
JP Abgrall | 53f17a9 | 2014-02-12 14:02:41 -0800 | [diff] [blame] | 17 | #define GMPLS_PSC1 1 |
| 18 | #define GMPLS_PSC2 2 |
| 19 | #define GMPLS_PSC3 3 |
| 20 | #define GMPLS_PSC4 4 |
| 21 | #define GMPLS_L2SC 51 |
| 22 | #define GMPLS_TSC 100 |
| 23 | #define GMPLS_LSC 150 |
| 24 | #define GMPLS_FSC 200 |
| 25 | |
| 26 | extern const struct tok gmpls_link_prot_values[]; |
| 27 | extern const struct tok gmpls_switch_cap_values[]; |
| 28 | extern const struct tok gmpls_switch_cap_tsc_indication_values[]; |
| 29 | extern const struct tok gmpls_encoding_values[]; |
| 30 | extern const struct tok gmpls_payload_values[]; |
| 31 | extern const struct tok diffserv_te_bc_values[]; |
| 32 | extern const struct tok lmp_sd_service_config_cpsa_link_type_values[]; |
| 33 | extern const struct tok lmp_sd_service_config_cpsa_signal_type_sdh_values[]; |
| 34 | extern const struct tok lmp_sd_service_config_cpsa_signal_type_sonet_values[]; |