summaryrefslogtreecommitdiffstats
path: root/ldpd/ldp.h
diff options
context:
space:
mode:
authorßingen <bingen@voltanet.io>2017-05-15 17:09:28 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-08-09 12:35:15 +0200
commit6833ae01bc8cb0c15579d7098f2d525a6e36c8bb (patch)
treef9495c40c9edc6fb7f68bf91a07e56eab003db6e /ldpd/ldp.h
parentzebra: add implicit-null labels to the rib (diff)
downloadfrr-6833ae01bc8cb0c15579d7098f2d525a6e36c8bb.tar.xz
frr-6833ae01bc8cb0c15579d7098f2d525a6e36c8bb.zip
zebra: add pseudowire manager
Base framework for supporting MPLS pseudowires in FRR. A consistent zserv interface is provided so that any client daemon (e.g. ldpd, bgpd) can install/uninstall pseudowires in a standard way. Static pseudowires can also be implemented by using the same interface. When zebra receives a request to install a pseudowire and the installation in the kernel or hardware fails, a notification is sent back to the client daemon and a new install attempt is made every 60 seconds (until it succeeds). Support for external dataplanes is provided by the use of hooks to install/uninstall pseudowires. Signed-off-by: ßingen <bingen@voltanet.io> Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ldpd/ldp.h')
-rw-r--r--ldpd/ldp.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/ldpd/ldp.h b/ldpd/ldp.h
index c2b64d20c..cac3da7c5 100644
--- a/ldpd/ldp.h
+++ b/ldpd/ldp.h
@@ -285,9 +285,6 @@ struct address_list_tlv {
#define MAP_TYPE_GENPWID 0x81
#define CONTROL_WORD_FLAG 0x8000
-#define PW_TYPE_ETHERNET_TAGGED 0x0004
-#define PW_TYPE_ETHERNET 0x0005
-#define PW_TYPE_WILDCARD 0x7FFF
#define DEFAULT_PW_TYPE PW_TYPE_ETHERNET
#define PW_TWCARD_RESERVED_BIT 0x8000