]>
git.proxmox.com Git - mirror_frr.git/blob - bgpd/bgp_mac.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * BGPd - Mac hash header
4 * Copyright (C) 2018 Cumulus Networks, Inc.
10 void bgp_mac_init(void);
11 void bgp_mac_finish(void);
14 * Functions to add/delete the mac entry from the appropriate
15 * bgp hash's. Additionally to do some additional processing
16 * to allow the win/loss to be processed.
18 void bgp_mac_add_mac_entry(struct interface
*ifp
);
19 void bgp_mac_del_mac_entry(struct interface
*ifp
);
21 void bgp_mac_dump_table(struct vty
*vty
);
24 * Function to lookup the prefix and see if we have a matching mac
26 bool bgp_mac_entry_exists(const struct prefix
*p
);
27 bool bgp_mac_exist(const struct ethaddr
*mac
);