summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_advertise.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-05-12 14:53:01 +0200
committerDonald Sharp <sharpd@nvidia.com>2022-05-12 16:20:28 +0200
commitff177030b4fd6ca697a5643f1a0d4dda69e285bd (patch)
tree4d49a9fb3cfbc37be60c29ad6d41477a0ad3bdf8 /bgpd/bgp_advertise.h
parentbgpd: Align bgp_zebra.h to our standards (diff)
downloadfrr-ff177030b4fd6ca697a5643f1a0d4dda69e285bd.tar.xz
frr-ff177030b4fd6ca697a5643f1a0d4dda69e285bd.zip
bgpd: Align bgp_advertise.h to our standards
bgp_advertise.h has function declarations that are not properly aligned with our standard on how to do so. Fix. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgp_advertise.h')
-rw-r--r--bgpd/bgp_advertise.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/bgpd/bgp_advertise.h b/bgpd/bgp_advertise.h
index ef4f62611..4b032ba9c 100644
--- a/bgpd/bgp_advertise.h
+++ b/bgpd/bgp_advertise.h
@@ -142,14 +142,16 @@ struct bgp_synchronize {
#define BGP_ADJ_IN_DEL(N, A) BGP_PATH_INFO_DEL(N, A, adj_in)
/* Prototypes. */
-extern bool bgp_adj_out_lookup(struct peer *, struct bgp_dest *, uint32_t);
-extern void bgp_adj_in_set(struct bgp_dest *, struct peer *, struct attr *,
- uint32_t);
-extern bool bgp_adj_in_unset(struct bgp_dest *, struct peer *, uint32_t);
-extern void bgp_adj_in_remove(struct bgp_dest *, struct bgp_adj_in *);
-
-extern void bgp_sync_init(struct peer *);
-extern void bgp_sync_delete(struct peer *);
+extern bool bgp_adj_out_lookup(struct peer *peer, struct bgp_dest *dest,
+ uint32_t addpath_tx_id);
+extern void bgp_adj_in_set(struct bgp_dest *dest, struct peer *peer,
+ struct attr *attr, uint32_t addpath_id);
+extern bool bgp_adj_in_unset(struct bgp_dest *dest, struct peer *peer,
+ uint32_t addpath_id);
+extern void bgp_adj_in_remove(struct bgp_dest *dest, struct bgp_adj_in *bai);
+
+extern void bgp_sync_init(struct peer *peer);
+extern void bgp_sync_delete(struct peer *peer);
extern unsigned int baa_hash_key(const void *p);
extern bool baa_hash_cmp(const void *p1, const void *p2);
extern void bgp_advertise_add(struct bgp_advertise_attr *baa,