summaryrefslogtreecommitdiff
path: root/bgpd/bgp_mac.h
AgeCommit message (Collapse)Author
2023-02-09*: auto-convert to SPDX License IDsDavid Lamparter
Done with a combination of regex'ing and banging my head against a wall. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2020-03-24bgpd: Rework code to use `const struct prefix`Donald Sharp
Future work needs the ability to specify a const struct prefix value. Iterate into bgp a bit to get this started. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-03-04bgpd: parse and comapre rmac attr against self macChirag Shah
Any evpn bgp update message comes with router mac extended community, which can potentially contain the madd adddress same as any of the local SVIs (L3VNI) MAC address. Set route mac exist and during route processing in bgp_update() filter the route. Ticket:CM-23674 Reviewed By:CCR-8336 Testing Done: Configure L3vni mac on TORS1 which is similar to TORC11 L3vni MAC. When TORC11 received the EVPN update with Router mac extended community, this check rejected the BGP update message. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
2018-12-12bgpd: Add code to reject mac's and to rescan tableDonald Sharp
Add some code that will reject local mac's from being installed and add some code that will cause a rescan when we have a local mac change. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com.
2018-12-12bgpd: Add code to track the addition/removal of mac addressesDonald Sharp
When a mac address is added/changed/deleted track it. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-12-12bgpd: Add code to dump the forthcoming mac hashDonald Sharp
Add a bit of code that allows us to dump the mac hash. Future commits will actually add entries to the mac hash and then operate on it. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>