diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2020-01-28 18:07:25 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2020-01-28 18:07:25 +0100 |
commit | 7f9adafc109d576d5249c25ef284606dbac4adfa (patch) | |
tree | ca66bc6bf3598b0659569385fa02e6e67bb92585 /proto/bfd/bfd.h | |
parent | 9f2670277cc0d56d3364d4784348056174175aba (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.h | 4 |
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 |