summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_routemap_nb.h
diff options
context:
space:
mode:
authorSarita Patra <saritap@vmware.com>2020-10-30 08:44:04 +0100
committerIgor Ryzhov <iryzhov@nfware.com>2021-03-30 21:59:30 +0200
commita623b52619466dc977e37f78a6d0afb69cb0e2b6 (patch)
tree8a6e2696b29a3c3dcf3a3daab1ef90bbf7cc980f /ospfd/ospf_routemap_nb.h
parentospf6d: North-bound implementation for ospf6d rmaps (diff)
downloadfrr-a623b52619466dc977e37f78a6d0afb69cb0e2b6.tar.xz
frr-a623b52619466dc977e37f78a6d0afb69cb0e2b6.zip
ospfd: North-bound implementation for ospfd rmaps
This commit introduces the implementation for the north-bound callbacks for the ospfd-specific route-map match and set clauses. Signed-off-by: NaveenThanikachalam <nthanikachal@vmware.com> Signed-off-by: Sarita Patra <saritap@vmware.com>
Diffstat (limited to 'ospfd/ospf_routemap_nb.h')
-rw-r--r--ospfd/ospf_routemap_nb.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/ospfd/ospf_routemap_nb.h b/ospfd/ospf_routemap_nb.h
new file mode 100644
index 000000000..17bcb4f5c
--- /dev/null
+++ b/ospfd/ospf_routemap_nb.h
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2020 Vmware
+ * Sarita Patra
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; see the file COPYING; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef _FRR_OSPF_ROUTEMAP_NB_H_
+#define _FRR_OSPF_ROUTEMAP_NB_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern const struct frr_yang_module_info frr_ospf_route_map_info;
+
+/* prototypes */
+int lib_route_map_entry_set_action_rmap_set_action_metric_type_modify(struct nb_cb_modify_args *args);
+int lib_route_map_entry_set_action_rmap_set_action_metric_type_destroy(struct nb_cb_destroy_args *args);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif