From 7f9adafc109d576d5249c25ef284606dbac4adfa Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Tue, 28 Jan 2020 18:07:25 +0100 Subject: BFD: Option to specify which class of BFD sessions are accepted Allows to configure IPv4/IPv6-only or direct/multihop-only BFD protocol instances. --- proto/bfd/bfd.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'proto/bfd/bfd.h') diff --git a/proto/bfd/bfd.h b/proto/bfd/bfd.h index bc4fe969..5c2054cc 100644 --- a/proto/bfd/bfd.h +++ b/proto/bfd/bfd.h @@ -43,6 +43,10 @@ struct bfd_config list patt_list; /* List of iface configs (struct bfd_iface_config) */ list neigh_list; /* List of configured neighbors (struct bfd_neighbor) */ struct bfd_iface_config *multihop; /* Multihop pseudoiface config */ + u8 accept_ipv4; + u8 accept_ipv6; + u8 accept_direct; + u8 accept_multihop; }; struct bfd_iface_config -- cgit v1.2.3