gmpls.h 1.4 KB

123456789101112131415161718192021222324252627282930313233
  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@gredler.at)
  14. */
  15. #define GMPLS_PSC1 1
  16. #define GMPLS_PSC2 2
  17. #define GMPLS_PSC3 3
  18. #define GMPLS_PSC4 4
  19. #define GMPLS_L2SC 51
  20. #define GMPLS_TSC 100
  21. #define GMPLS_LSC 150
  22. #define GMPLS_FSC 200
  23. extern const struct tok gmpls_link_prot_values[];
  24. extern const struct tok gmpls_switch_cap_values[];
  25. extern const struct tok gmpls_switch_cap_tsc_indication_values[];
  26. extern const struct tok gmpls_encoding_values[];
  27. extern const struct tok gmpls_payload_values[];
  28. extern const struct tok diffserv_te_bc_values[];
  29. extern const struct tok lmp_sd_service_config_cpsa_link_type_values[];
  30. extern const struct tok lmp_sd_service_config_cpsa_signal_type_sdh_values[];
  31. extern const struct tok lmp_sd_service_config_cpsa_signal_type_sonet_values[];