summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/ldp.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@cvs.openbsd.org>2017-03-04 00:21:49 +0000
committerRenato Westphal <renato@cvs.openbsd.org>2017-03-04 00:21:49 +0000
commitf143cfa624bd75447244d10a6363f04101dedcd0 (patch)
treedc0a5092bfa947fdad752516398a4aeb575004fd /usr.sbin/ldpd/ldp.h
parent94c1e73a6e871bdcf3d92af851ba3809ecdeb843 (diff)
Send VPLS MAC withdrawals.
RFC 4762 says that MAC address withdrawal messages can be used to improve convergence time in VPLS networks. This patch makes ldpd send MAC withdrawals whenever a non-pseudowire interface pertaining to a VPLS goes down. The processing of received MAC withdrawals will be implemented later.
Diffstat (limited to 'usr.sbin/ldpd/ldp.h')
-rw-r--r--usr.sbin/ldpd/ldp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ldpd/ldp.h b/usr.sbin/ldpd/ldp.h
index ef6374c7f9a..273e0832761 100644
--- a/usr.sbin/ldpd/ldp.h
+++ b/usr.sbin/ldpd/ldp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldp.h,v 1.41 2017/03/04 00:15:35 renato Exp $ */
+/* $OpenBSD: ldp.h,v 1.42 2017/03/04 00:21:48 renato Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
@@ -95,6 +95,7 @@
#define TLV_TYPE_FRSESSION 0x0502
#define TLV_TYPE_LABELREQUEST 0x0600
/* RFC 4447 */
+#define TLV_TYPE_MAC_LIST 0x8404
#define TLV_TYPE_PW_STATUS 0x896A
#define TLV_TYPE_PW_IF_PARAM 0x096B
#define TLV_TYPE_PW_GROUP_ID 0x096C