summaryrefslogtreecommitdiffstats
path: root/ldpd/lde.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2016-12-12 21:28:31 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-14 19:21:08 +0100
commit88d88a9c7a8e1c6f361d154986e512d7a617c4ff (patch)
treeb902e76e09d178d34bd0b4813ba5c7c7ed755ee2 /ldpd/lde.h
parentldpd: remove security check to allow operation on unnumbered interfaces (diff)
downloadfrr-88d88a9c7a8e1c6f361d154986e512d7a617c4ff.tar.xz
frr-88d88a9c7a8e1c6f361d154986e512d7a617c4ff.zip
zebra/ldpd: allow MPLS ECMP on unnumbered interfaces
Signed-off-by: Renato Westphal <renato@opensourcerouting.org> (cherry picked from commit 7144dc12b55e05c9ae3d784dfb75817c9f881eb6)
Diffstat (limited to 'ldpd/lde.h')
-rw-r--r--ldpd/lde.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/ldpd/lde.h b/ldpd/lde.h
index cf8f2129a..5f5d37def 100644
--- a/ldpd/lde.h
+++ b/ldpd/lde.h
@@ -23,6 +23,7 @@
#include "openbsd-queue.h"
#include "openbsd-tree.h"
+#include "if.h"
enum fec_type {
FEC_TYPE_IPV4,
@@ -100,6 +101,7 @@ struct fec_nh {
LIST_ENTRY(fec_nh) entry;
int af;
union ldpd_addr nexthop;
+ ifindex_t ifindex;
uint32_t remote_label;
uint8_t priority;
uint8_t flags;
@@ -163,12 +165,12 @@ void rt_dump(pid_t);
void fec_snap(struct lde_nbr *);
void fec_tree_clear(void);
struct fec_nh *fec_nh_find(struct fec_node *, int, union ldpd_addr *,
- uint8_t);
+ ifindex_t, uint8_t);
uint32_t egress_label(enum fec_type);
void lde_kernel_insert(struct fec *, int, union ldpd_addr *,
- uint8_t, int, void *);
+ ifindex_t, uint8_t, int, void *);
void lde_kernel_remove(struct fec *, int, union ldpd_addr *,
- uint8_t);
+ ifindex_t, uint8_t);
void lde_kernel_reevaluate(struct fec *);
void lde_check_mapping(struct map *, struct lde_nbr *);
void lde_check_request(struct map *, struct lde_nbr *);