summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_vty.h
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2016-01-12 19:42:04 +0100
committervivek <vivek@cumulusnetworks.com>2016-06-12 00:52:05 +0200
commit8b1fb8be22f5565618c96f84700975c787e8e935 (patch)
tree335a0c863f4385e13dd8054a1097a6776f7cc6b7 /bgpd/bgp_vty.h
parentbgpd: encap: add encap SAFI (RFC5512) (diff)
downloadfrr-8b1fb8be22f5565618c96f84700975c787e8e935.tar.xz
frr-8b1fb8be22f5565618c96f84700975c787e8e935.zip
bgpd, lib, vtysh: hook up bgp ENCAP CLI node
Signed-off-by: Lou Berger <lberger@labn.net> Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from commit a3fda886cdd48b6d8c421ebb1401142fa9ee93b0) Conflicts: bgpd/bgp_vty.c bgpd/bgpd.c vtysh/vtysh_config.c
Diffstat (limited to 'bgpd/bgp_vty.h')
-rw-r--r--bgpd/bgp_vty.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/bgpd/bgp_vty.h b/bgpd/bgp_vty.h
index 16cda49f6..ba520af06 100644
--- a/bgpd/bgp_vty.h
+++ b/bgpd/bgp_vty.h
@@ -40,4 +40,10 @@ extern int bgp_vty_return (struct vty *vty, int ret);
extern struct peer *
peer_and_group_lookup_vty (struct vty *vty, const char *peer_str);
+extern int
+bgp_parse_afi(const char *str, afi_t *afi);
+
+extern int
+bgp_parse_safi(const char *str, safi_t *safi);
+
#endif /* _QUAGGA_BGP_VTY_H */