diff options
| author | wumu.zsl <wumu.zsl@alibaba-inc.com> | 2025-01-21 03:11:03 +0000 | 
|---|---|---|
| committer | wumu.zsl <wumu.zsl@alibaba-inc.com> | 2025-01-23 02:29:09 +0000 | 
| commit | 12af5e19a16630e9ae6e0c9c5fe9eb8ef400b5da (patch) | |
| tree | 6cf185781bd2eb915ab19dfbb4dddbbb80d8d8ba /bfdd/bfd.h | |
| parent | 2d6a4265e1576819a843cd24a0d9383f5ae402b5 (diff) | |
bfdd: support sbfd session create and destroy
refactor bfd_session_create and bfd_session_destroy to support SBFD
Signed-off-by: wumu.zsl <wumu.zsl@alibaba-inc.com>
Diffstat (limited to 'bfdd/bfd.h')
| -rw-r--r-- | bfdd/bfd.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/bfdd/bfd.h b/bfdd/bfd.h index f79df1dcdd..6b3df63e3d 100644 --- a/bfdd/bfd.h +++ b/bfdd/bfd.h @@ -615,7 +615,7 @@ 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, const char *bfdname); -struct bfd_session *bfd_session_new(void); +struct bfd_session *bfd_session_new(enum bfd_mode_type mode);  struct bfd_session *bs_registrate(struct bfd_session *bs);  void bfd_session_free(struct bfd_session *bs);  const struct bfd_session *bfd_session_next(const struct bfd_session *bs, bool mhop,  | 
