]> git.puffer.fish Git - mirror/frr.git/commit
bfdd: add bfdname in bfd_key
authorwumu.zsl <wumu.zsl@alibaba-inc.com>
Mon, 20 Jan 2025 13:48:38 +0000 (13:48 +0000)
committerwumu.zsl <wumu.zsl@alibaba-inc.com>
Wed, 22 Jan 2025 15:00:24 +0000 (15:00 +0000)
commitc4f9964aec03e1b076904452f124c50fbfa940f8
treef6214a7af1e6cea1fee8698d82d1aeeabcb21bfb
parent32705fe7206438fb9cd23c0a866992fcc13788e0
bfdd: add bfdname in bfd_key

sbfd will use bfdname for key hash, We introduced a bfd-name for every sbfd session, normal BFD sessions can leave it as NULL.
A unique bfd-name can be used to identify a sbfd session quickly. This is quite useful in our Srv6 deployment for path protection case.
For example, if use the sbfd session to protect the SRv6 path A-B-D, we would assign the name 'path-a-b-d' or 'a-b-d' to the session.

Signed-off-by: wumu.zsl <wumu.zsl@alibaba-inc.com>
bfdd/bfd.c
bfdd/bfd.h
bfdd/bfdd_nb_config.c
bfdd/bfdd_nb_state.c
lib/bfd.h