summaryrefslogtreecommitdiffstats
path: root/bgpd/bgpd.h
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2025-01-23 12:12:35 +0100
committerGitHub <noreply@github.com>2025-01-23 12:12:35 +0100
commitf19b843e9e67a24384018a52859db62911bb2f0e (patch)
tree2552a531e11a7727b9cbd3de9d4ca7e2cf317779 /bgpd/bgpd.h
parentMerge pull request #17904 from louis-6wind/fix-bfd-pg-update-group (diff)
parentbgpd: fix static analyzer issues around bgp pointer (diff)
downloadfrr-f19b843e9e67a24384018a52859db62911bb2f0e.tar.xz
frr-f19b843e9e67a24384018a52859db62911bb2f0e.zip
Merge pull request #17652 from pguibert6WIND/topotest_bgp_evpn_rt5
bgpd, tests: bgp_evpn_rt5, add test with match evpn vni command
Diffstat (limited to 'bgpd/bgpd.h')
-rw-r--r--bgpd/bgpd.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h
index c72072852..96a78e666 100644
--- a/bgpd/bgpd.h
+++ b/bgpd/bgpd.h
@@ -2285,6 +2285,7 @@ extern void bgp_zclient_reset(void);
extern struct bgp *bgp_get_default(void);
extern struct bgp *bgp_lookup(as_t, const char *);
extern struct bgp *bgp_lookup_by_name(const char *);
+extern struct bgp *bgp_lookup_by_name_filter(const char *name, bool filter_auto);
extern struct bgp *bgp_lookup_by_vrf_id(vrf_id_t);
extern struct bgp *bgp_get_evpn(void);
extern void bgp_set_evpn(struct bgp *bgp);
@@ -2859,11 +2860,9 @@ extern struct peer *peer_new(struct bgp *bgp);
extern struct peer *peer_lookup_in_view(struct vty *vty, struct bgp *bgp,
const char *ip_str, bool use_json);
-extern int bgp_lookup_by_as_name_type(struct bgp **bgp_val, as_t *as,
- const char *as_pretty,
- enum asnotation_mode asnotation,
- const char *name,
- enum bgp_instance_type inst_type);
+extern int bgp_lookup_by_as_name_type(struct bgp **bgp_val, as_t *as, const char *as_pretty,
+ enum asnotation_mode asnotation, const char *name,
+ enum bgp_instance_type inst_type, bool force_config);
/* Hooks */
DECLARE_HOOK(bgp_vrf_status_changed, (struct bgp *bgp, struct interface *ifp),