diff options
author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2019-05-23 20:22:08 +0200 |
---|---|---|
committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2019-06-22 15:08:33 +0200 |
commit | 014cab13bfc2386f22122107c3af0b409f9211c2 (patch) | |
tree | 4f29ac3b36bfead901d755b89a8f3144a6af59f3 /bfdd/bfd.h | |
parent | lib: northbound cli support to end config nodes (diff) | |
download | frr-014cab13bfc2386f22122107c3af0b409f9211c2.tar.xz frr-014cab13bfc2386f22122107c3af0b409f9211c2.zip |
bfdd: export some private functions
These functions are going to be used by the future northbound
implementation to handle BFD sessions.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'bfdd/bfd.h')
-rw-r--r-- | bfdd/bfd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfdd/bfd.h b/bfdd/bfd.h index ec31c8cbc..48f9090ad 100644 --- a/bfdd/bfd.h +++ b/bfdd/bfd.h @@ -546,6 +546,12 @@ void bs_observer_del(struct bfd_session_observer *bso); void bs_to_bpc(struct bfd_session *bs, struct bfd_peer_cfg *bpc); +void gen_bfd_key(struct bfd_key *key, struct sockaddr_any *peer, + struct sockaddr_any *local, bool mhop, const char *ifname, + const char *vrfname); +struct bfd_session *bfd_session_new(void); +struct bfd_session *bs_registrate(struct bfd_session *bs); +void bfd_session_free(struct bfd_session *bs); /* BFD hash data structures interface */ void bfd_initialize(void); void bfd_shutdown(void); |