summaryrefslogtreecommitdiff
path: root/ospfd/ospf_interface.h
diff options
context:
space:
mode:
authorAcee <aceelindem@gmail.com>2023-07-17 13:47:16 -0400
committerAcee <aceelindem@gmail.com>2023-07-20 14:56:43 -0400
commite2eea4fe8e51915ccefeb3419282280e6b95cd63 (patch)
treec02308725ab5399f40f92a5bfaf19bb897c8ecdd /ospfd/ospf_interface.h
parentff10abcc89581c1ed94a45f92fc76daf863c512e (diff)
ospfd: Implement OSPF prefix-suppression as specified in RFC 6860
Signed-off-by: Acee <aceelindem@gmail.com>
Diffstat (limited to 'ospfd/ospf_interface.h')
-rw-r--r--ospfd/ospf_interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ospfd/ospf_interface.h b/ospfd/ospf_interface.h
index 38ec45c757..47b70f8039 100644
--- a/ospfd/ospf_interface.h
+++ b/ospfd/ospf_interface.h
@@ -81,6 +81,9 @@ struct ospf_if_params {
/* Fast-Hellos */
DECLARE_IF_PARAM(uint8_t, fast_hello);
+ /* Prefix-Suppression */
+ DECLARE_IF_PARAM(bool, prefix_suppression);
+
/* Authentication data. */
uint8_t auth_simple[OSPF_AUTH_SIMPLE_SIZE + 1]; /* Simple password. */
uint8_t auth_simple__config : 1;