]> git.proxmox.com Git - mirror_frr.git/blame - ospf6d/ospf6_routemap_nb.h
ospfd: prevent from crashing when processing external lsa
[mirror_frr.git] / ospf6d / ospf6_routemap_nb.h
CommitLineData
078110ca
SP
1/*
2 * Copyright (C) 2020 Vmware
3 * Sarita Patra
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the Free
7 * Software Foundation; either version 2 of the License, or (at your option)
8 * any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; see the file COPYING; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20#ifndef _FRR_OSPF6_ROUTEMAP_NB_H_
21#define _FRR_OSPF6_ROUTEMAP_NB_H_
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27extern const struct frr_yang_module_info frr_ospf_route_map_info;
28extern const struct frr_yang_module_info frr_ospf6_route_map_info;
29
30/* prototypes */
31int lib_route_map_entry_set_action_rmap_set_action_ipv6_address_modify(struct nb_cb_modify_args *args);
32int lib_route_map_entry_set_action_rmap_set_action_ipv6_address_destroy(struct nb_cb_destroy_args *args);
33int lib_route_map_entry_set_action_rmap_set_action_metric_type_modify(struct nb_cb_modify_args *args);
34int lib_route_map_entry_set_action_rmap_set_action_metric_type_destroy(struct nb_cb_destroy_args *args);
35
36#ifdef __cplusplus
37}
38#endif
39
40#endif