summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_route.h
diff options
context:
space:
mode:
authorMorgan Stewart <morgan@cumulusnetworks.com>2015-08-12 15:59:18 +0200
committerMorgan Stewart <morgan@cumulusnetworks.com>2015-08-12 22:24:02 +0200
commit856ca177c4bb8f857fd60a1d93ac99fbd1a76484 (patch)
tree42c957ccae03340a34d2ed921377cc9d737caedf /bgpd/bgp_route.h
parentReplace lists with arrays to store read and write threads (diff)
downloadfrr-856ca177c4bb8f857fd60a1d93ac99fbd1a76484.tar.xz
frr-856ca177c4bb8f857fd60a1d93ac99fbd1a76484.zip
Added json formating support to show-...-neighbors-... bgp commands.
Ticket: CM-6789 Reviewed By: CCR-3263 Testing Done: Manual Testing and smoke tests Whenever some sort of output is encountered, added a json version with proper logic as well.
Diffstat (limited to 'bgpd/bgp_route.h')
-rw-r--r--bgpd/bgp_route.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/bgpd/bgp_route.h b/bgpd/bgp_route.h
index 865a24d3f..59003438b 100644
--- a/bgpd/bgp_route.h
+++ b/bgpd/bgp_route.h
@@ -21,7 +21,6 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
#ifndef _QUAGGA_BGP_ROUTE_H
#define _QUAGGA_BGP_ROUTE_H
-#include "lib/json.h"
#include "queue.h"
#include "bgp_table.h"
@@ -299,8 +298,8 @@ extern afi_t bgp_node_afi (struct vty *);
extern safi_t bgp_node_safi (struct vty *);
extern void route_vty_out (struct vty *, struct prefix *, struct bgp_info *, int, safi_t, json_object *);
-extern void route_vty_out_tag (struct vty *, struct prefix *, struct bgp_info *, int, safi_t);
-extern void route_vty_out_tmp (struct vty *, struct prefix *, struct attr *, safi_t);
+extern void route_vty_out_tag (struct vty *, struct prefix *, struct bgp_info *, int, safi_t, json_object *);
+extern void route_vty_out_tmp (struct vty *, struct prefix *, struct attr *, safi_t, u_char, json_object *);
extern int
subgroup_process_announce_selected (struct update_subgroup *subgrp,