summaryrefslogtreecommitdiff
path: root/ldpd/lde.h
diff options
context:
space:
mode:
authorKaren Schoener <karen@voltanet.io>2020-02-20 14:27:49 -0500
committerlynne <lynne@voltanet.io>2020-03-20 17:11:33 -0400
commitaff1743c6462c584a463299407a8404e10de8e78 (patch)
tree2261b9842314d6e9a3599cc860ac62c0d100e54c /ldpd/lde.h
parentf294fac22d152ca1a31c3d87939c3a6f58ec0ce0 (diff)
ldpd: adding support for LDP ordered label distribution control
LDP ordered label distribution control only binds a label to a FEC if it is the egress LSR, or the router received a label binding for a FEC from the next hop router. In this mode, an MPLS router will create a label binding for each FEC and distribute it to its neighbors so long as he has a entry in the RIB for the destination. Signed-off-by: Lynne Morrison <lynne@voltanet.io> Signed-off-by: Karen Schoener <karen@voltanet.io>
Diffstat (limited to 'ldpd/lde.h')
-rw-r--r--ldpd/lde.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldpd/lde.h b/ldpd/lde.h
index ce466c16b9..a099f8d286 100644
--- a/ldpd/lde.h
+++ b/ldpd/lde.h
@@ -114,6 +114,8 @@ struct fec_nh {
};
#define F_FEC_NH_NEW 0x01
#define F_FEC_NH_CONNECTED 0x02
+#define F_FEC_NH_DEFER 0x04 /* running ordered control */
+#define F_FEC_NH_NO_LDP 0x08 /* no ldp on this interface */
struct fec_node {
struct fec fec;