]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zebra_mpls.h
zebra: Convert label processing to Meta-Q
[mirror_frr.git] / zebra / zebra_mpls.h
index a114f01339c13c8e8fe1d9fd416f71fc63861f36..cf247861f8d58caf54eacf0fee47574e143478df 100644 (file)
@@ -260,17 +260,30 @@ void zebra_mpls_print_fec(struct vty *vty, struct zebra_vrf *zvrf,
 /*
  * Handle zapi request to install/uninstall LSP and
  * (optionally) FEC-To-NHLFE (FTN) bindings.
+ *
+ * mpls_zapi_labels_process -> Installs for future processing
+ *                             in the meta-q
+ * zebra_mpls_labels_process -> called by the meta-q
  */
 void mpls_zapi_labels_process(bool add_p, struct zebra_vrf *zvrf,
                              const struct zapi_labels *zl);
+void zebra_mpls_zapi_labels_process(bool add_p, struct zebra_vrf *zvrf,
+                                   const struct zapi_labels *zl);
 
 /*
  * Uninstall all NHLFEs bound to a single FEC.
+ *
+ * mpls_ftn_uninstall -> Called to enqueue into early label processing
+ *                       via the metaq
+ * zebra_mpls_ftn_uninstall -> Called when we process the meta q
+ *                             for this item
  */
 void mpls_ftn_uninstall(struct zebra_vrf *zvrf, enum lsp_types_t type,
                        struct prefix *prefix, uint8_t route_type,
-                       unsigned short route_instance);
-
+                       uint8_t route_instance);
+void zebra_mpls_ftn_uninstall(struct zebra_vrf *zvrf, enum lsp_types_t type,
+                             struct prefix *prefix, uint8_t route_type,
+                             uint8_t route_instance);
 /*
  * Install/update a NHLFE for an LSP in the forwarding table. This may be
  * a new LSP entry or a new NHLFE for an existing in-label or an update of