diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2017-03-03 21:50:22 +0100 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2017-03-03 21:50:22 +0100 |
commit | 26519d8c02d9b88631fc8322c35c638bcbc8c2e2 (patch) | |
tree | 5674f800b6930f97ab025f841307aeec2f9ea77c /ldpd/ldpe.h | |
parent | ldpd: fix parsing of optional tlvs in address messages (diff) | |
download | frr-26519d8c02d9b88631fc8322c35c638bcbc8c2e2.tar.xz frr-26519d8c02d9b88631fc8322c35c638bcbc8c2e2.zip |
ldpd: 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.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to '')
-rw-r--r-- | ldpd/ldpe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ldpd/ldpe.h b/ldpd/ldpe.h index 2bd0568d6..22b75eb00 100644 --- a/ldpd/ldpe.h +++ b/ldpd/ldpe.h @@ -180,6 +180,7 @@ int gen_status_tlv(struct ibuf *, uint32_t, uint32_t, uint16_t); /* address.c */ void send_address_single(struct nbr *, struct if_addr *, int); void send_address_all(struct nbr *, int); +void send_mac_withdrawal(struct nbr *, struct map *, uint8_t *); int recv_address(struct nbr *, char *, uint16_t); /* labelmapping.c */ |