diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-07-10 10:54:59 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-10 10:54:59 -0400 | 
| commit | 373edbbc9975f2ebeae7d019eb386f48b53d2696 (patch) | |
| tree | e0608f138ac01dc9d09557ea1123b8ffd40899a0 /zebra/zebra_mpls.h | |
| parent | f24db7598ef269f269992e8ab8e38d370d60dfd2 (diff) | |
| parent | c3753405d5bbe8890711dd1bb50d9965cfb46e65 (diff) | |
Merge pull request #6530 from mjstapp/backup_nhg_notify
lib, zebra: async notifications for backup routes and LSPs
Diffstat (limited to 'zebra/zebra_mpls.h')
| -rw-r--r-- | zebra/zebra_mpls.h | 13 | 
1 files changed, 4 insertions, 9 deletions
diff --git a/zebra/zebra_mpls.h b/zebra/zebra_mpls.h index 9b5fb39573..07a8efeb8b 100644 --- a/zebra/zebra_mpls.h +++ b/zebra/zebra_mpls.h @@ -213,7 +213,7 @@ int zebra_mpls_lsp_uninstall(struct zebra_vrf *zvrf, struct route_node *rn,  zebra_nhlfe_t *zebra_mpls_lsp_add_nhlfe(zebra_lsp_t *lsp,  					enum lsp_types_t lsp_type,  					enum nexthop_types_t gtype, -					union g_addr *gate, +					const union g_addr *gate,  					ifindex_t ifindex,  					uint8_t num_labels,  					const mpls_label_t *out_labels); @@ -222,7 +222,7 @@ zebra_nhlfe_t *zebra_mpls_lsp_add_nhlfe(zebra_lsp_t *lsp,  zebra_nhlfe_t *zebra_mpls_lsp_add_backup_nhlfe(zebra_lsp_t *lsp,  					       enum lsp_types_t lsp_type,  					       enum nexthop_types_t gtype, -					       union g_addr *gate, +					       const union g_addr *gate,  					       ifindex_t ifindex,  					       uint8_t num_labels,  					       const mpls_label_t *out_labels); @@ -331,7 +331,8 @@ int mpls_lsp_install(struct zebra_vrf *zvrf, enum lsp_types_t type,   */  int mpls_lsp_uninstall(struct zebra_vrf *zvrf, enum lsp_types_t type,  		       mpls_label_t in_label, enum nexthop_types_t gtype, -		       const union g_addr *gate, ifindex_t ifindex); +		       const union g_addr *gate, ifindex_t ifindex, +		       bool backup_p);  /*   * Uninstall all NHLFEs for a particular LSP forwarding entry. @@ -339,12 +340,6 @@ int mpls_lsp_uninstall(struct zebra_vrf *zvrf, enum lsp_types_t type,  int mpls_lsp_uninstall_all_vrf(struct zebra_vrf *zvrf, enum lsp_types_t type,  			       mpls_label_t in_label); -/* - * Uninstall all Segment Routing NHLFEs for a particular LSP forwarding entry. - * If no other NHLFEs exist, the entry would be deleted. - */ -void mpls_sr_lsp_uninstall_all(struct hash_bucket *bucket, void *ctxt); -  #if defined(HAVE_CUMULUS)  /*   * Check that the label values used in LSP creation are consistent. The  | 
