summaryrefslogtreecommitdiff
path: root/proto/bfd/bfd.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2020-01-28 18:07:25 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2020-01-28 18:07:25 +0100
commit7f9adafc109d576d5249c25ef284606dbac4adfa (patch)
treeca66bc6bf3598b0659569385fa02e6e67bb92585 /proto/bfd/bfd.h
parent9f2670277cc0d56d3364d4784348056174175aba (diff)
BFD: Option to specify which class of BFD sessions are accepted
Allows to configure IPv4/IPv6-only or direct/multihop-only BFD protocol instances.
Diffstat (limited to 'proto/bfd/bfd.h')
-rw-r--r--proto/bfd/bfd.h4
1 files changed, 4 insertions, 0 deletions
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