xref: /freebsd/contrib/tcpdump/gmpls.h (revision 2e5b60079b7d8c3ca68f1390cd90f305e651f8d3)
1 /*
2  * Redistribution and use in source and binary forms, with or without
3  * modification, are permitted provided that: (1) source code
4  * distributions retain the above copyright notice and this paragraph
5  * in its entirety, and (2) distributions including binary code include
6  * the above copyright notice and this paragraph in its entirety in
7  * the documentation or other materials provided with the distribution.
8  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND
9  * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
10  * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
11  * FOR A PARTICULAR PURPOSE.
12  *
13  * Original code by Hannes Gredler (hannes@juniper.net)
14  */
15 
16 #define GMPLS_PSC1   1
17 #define GMPLS_PSC2   2
18 #define GMPLS_PSC3   3
19 #define GMPLS_PSC4   4
20 #define GMPLS_L2SC  51
21 #define GMPLS_TSC  100
22 #define GMPLS_LSC  150
23 #define GMPLS_FSC  200
24 
25 extern const struct tok gmpls_link_prot_values[];
26 extern const struct tok gmpls_switch_cap_values[];
27 extern const struct tok gmpls_switch_cap_tsc_indication_values[];
28 extern const struct tok gmpls_encoding_values[];
29 extern const struct tok gmpls_payload_values[];
30 extern const struct tok diffserv_te_bc_values[];
31 extern const struct tok lmp_sd_service_config_cpsa_link_type_values[];
32 extern const struct tok lmp_sd_service_config_cpsa_signal_type_sdh_values[];
33 extern const struct tok lmp_sd_service_config_cpsa_signal_type_sonet_values[];
34