]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zebra_mpls_null.c
Merge pull request #11877 from sri-mohan1/sri-ldp-dbg1
[mirror_frr.git] / zebra / zebra_mpls_null.c
index d1371d3343b9fed90a0e9f1c82b0368b24eae715..2cc3f3b69dc5ab72b7d195bcc92410dc273dcd96 100644 (file)
 
 #if !defined(HAVE_NETLINK) && !defined(OPEN_BSD)
 
-enum dp_req_result kernel_add_lsp(zebra_lsp_t *lsp)
+int mpls_kernel_init(void)
 {
-       return DP_REQUEST_SUCCESS;
-}
+       return -1;
+};
 
-enum dp_req_result kernel_upd_lsp(zebra_lsp_t *lsp)
+/*
+ * Pseudowire update api - note that the default has been
+ * to report 'success' for pw updates on unsupported platforms.
+ */
+enum zebra_dplane_result kernel_pw_update(struct zebra_dplane_ctx *ctx)
 {
-       return DP_REQUEST_SUCCESS;
+       return ZEBRA_DPLANE_REQUEST_SUCCESS;
 }
 
-enum dp_req_result kernel_del_lsp(zebra_lsp_t *lsp)
+enum zebra_dplane_result kernel_lsp_update(struct zebra_dplane_ctx *ctx)
 {
-       return DP_REQUEST_SUCCESS;
+       return ZEBRA_DPLANE_REQUEST_FAILURE;
 }
 
-int mpls_kernel_init(void)
-{
-       return -1;
-};
-
 #endif /* !defined(HAVE_NETLINK) && !defined(OPEN_BSD) */