]>
git.proxmox.com Git - mirror_frr.git/blob - staticd/static_vty.h
3 * Copyright (C) 2018 Cumulus Networks, Inc.
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)
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
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
19 #ifndef __STATIC_VTY_H__
20 #define __STATIC_VTY_H__
26 void static_cli_show(struct vty
*vty
, const struct lyd_node
*dnode
,
28 void static_cli_show_end(struct vty
*vty
, const struct lyd_node
*dnode
);
29 void static_nexthop_cli_show(struct vty
*vty
, const struct lyd_node
*dnode
,
31 void static_src_nexthop_cli_show(struct vty
*vty
, const struct lyd_node
*dnode
,
33 int static_nexthop_cli_cmp(const struct lyd_node
*dnode1
,
34 const struct lyd_node
*dnode2
);
35 int static_route_list_cli_cmp(const struct lyd_node
*dnode1
,
36 const struct lyd_node
*dnode2
);
37 int static_src_list_cli_cmp(const struct lyd_node
*dnode1
,
38 const struct lyd_node
*dnode2
);
39 int static_path_list_cli_cmp(const struct lyd_node
*dnode1
,
40 const struct lyd_node
*dnode2
);
42 void static_vty_init(void);