]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/mpls.h
mpls: add support for LDP LSPs
[mirror_frr.git] / lib / mpls.h
index 5a67b915d1988aa9a9f7ce0ed326c83556d47ec6..1f77aaa536f96dd038879ce4f999bab0c9251d25 100644 (file)
@@ -75,8 +75,17 @@ typedef unsigned int mpls_lse_t;
 /* MPLS label value as a 32-bit (mostly we only care about the label value). */
 typedef unsigned int mpls_label_t;
 
+#define MPLS_NO_LABEL                      0xFFFFFFFF
 #define MPLS_INVALID_LABEL                 0xFFFFFFFF
 
+/* LSP types. */
+enum lsp_types_t
+{
+  ZEBRA_LSP_NONE = 0,        /* No LSP. */
+  ZEBRA_LSP_STATIC = 1,      /* Static LSP. */
+  ZEBRA_LSP_LDP = 2          /* LDP LSP. */
+};
+
 /* Functions for basic label operations. */
 
 /* Encode a label stack entry from fields; convert to network byte-order as