mirror_frr/bgpd
Quentin Young 43aa596538 bgpd: display ingress packet queue size
In the past, we always displayed the number of buffered ingress packets
as zero because there was no packet buffering in the input path and
therefore never any queue size to report. They're buffered now so we can
display something meaningful instead of 0.

Also change the inq / outq lookups to be atomic, since they can be
modified elsewhere. These should still compile down to an unfenced word
read but it's good to be explicit.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2020-03-30 15:07:57 -04:00
..
rfapi bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
rfp-example Treewide: use ANSI function definitions 2019-01-24 11:21:59 +01:00
.gitignore *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
bgp_addpath_types.h bgpd: Re-use TX Addpath IDs where possible 2018-11-10 00:16:36 +00:00
bgp_addpath.c bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_addpath.h bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_advertise.c bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_advertise.h bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_aspath.c Merge pull request #5954 from ton31337/feature/rfc7607 2020-03-17 10:27:35 -04:00
bgp_aspath.h Merge pull request #5954 from ton31337/feature/rfc7607 2020-03-17 10:27:35 -04:00
bgp_attr_evpn.c bgpd, lib: More constification of various code 2020-03-23 08:41:17 -04:00
bgp_attr_evpn.h bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_attr.c Merge pull request #6085 from donaldsharp/bgp_node_get_prefix 2020-03-26 19:07:36 -07:00
bgp_attr.h lib, bgpd: Another round of struct const prefix cleanup 2020-03-26 16:22:00 -04:00
bgp_bfd.c bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_bfd.h bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_bmp.c bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
bgp_bmp.h lib,nhrpd,bgpd/bmp: pass resolver failure details 2019-12-11 13:33:36 +01:00
bgp_btoa.c bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_clist.c Merge pull request #6073 from donaldsharp/is_default 2020-03-23 10:54:33 -07:00
bgp_clist.h bgpd: Convert some community related functions to bool type 2020-03-19 23:04:21 +02:00
bgp_community.c bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_community.h bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_damp.c bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
bgp_damp.h bgpd: Rework BGP dampening to be per AFI/SAFI 2019-11-11 09:52:40 +02:00
bgp_debug.c bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
bgp_debug.h lib, bgpd: Another round of struct const prefix cleanup 2020-03-26 16:22:00 -04:00
bgp_dump.c bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
bgp_dump.h bgpd: hook for bgp peer status change events 2019-08-13 11:59:27 -07:00
bgp_ecommunity.c bgpd, lib: More constification of various code 2020-03-23 08:41:17 -04:00
bgp_ecommunity.h bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_encap_tlv.c *: remove null check before XFREE 2019-02-25 23:00:46 +00:00
bgp_encap_tlv.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_encap_types.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_errors.c bgpd: Add a better breadcrumb for when bgp is missconfiged 2020-02-19 10:52:14 -05:00
bgp_errors.h bgpd: Add a better breadcrumb for when bgp is missconfiged 2020-02-19 10:52:14 -05:00
bgp_evpn_private.h bgpd: More const struct prefix work 2020-03-22 14:50:46 -04:00
bgp_evpn_vty.c bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
bgp_evpn_vty.h bgpd: get rid of afi_header_vty_out() & co. 2017-08-29 08:36:03 +02:00
bgp_evpn.c bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
bgp_evpn.h lib, bgpd: Another round of struct const prefix cleanup 2020-03-26 16:22:00 -04:00
bgp_filter.c bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_filter.h bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_flowspec_private.h bgpd: support for show bgp ipv4 flowspec 2018-03-30 14:01:05 +02:00
bgp_flowspec_util.c bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
bgp_flowspec_util.h bgpd: More const struct prefix work 2020-03-22 14:50:46 -04:00
bgp_flowspec_vty.c bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
bgp_flowspec.c bgpd: Do not send UPDATE message with maximum-prefix 2019-04-24 14:51:06 +03:00
bgp_flowspec.h bgpd: More const struct prefix work 2020-03-22 14:50:46 -04:00
bgp_fsm.c bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_fsm.h bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_io.c bgpd, lib: fix style from BGP GR code 2020-02-04 15:19:04 -05:00
bgp_io.h bgpd: raise default & max r/w quanta to 64 2019-10-14 18:41:53 +00:00
bgp_keepalives.c *: generously apply const 2019-12-02 15:01:29 +01:00
bgp_keepalives.h bgpd: update pthreads to use lib changes 2018-01-24 15:30:55 -05:00
bgp_label.c *: fix format string warnings 2020-03-29 10:45:46 +02:00
bgp_label.h bgpd: IPv4 LU withdraw using 0x000000 label 2019-11-20 15:28:46 +03:00
bgp_labelpool.c lib, zebra: support label chunk requests for SRGB 2019-07-10 15:20:27 +02:00
bgp_labelpool.h bgpd: replace label pool fifo with DECLARE_LIST 2019-04-27 19:33:45 +02:00
bgp_lcommunity.c bgpd, lib: More constification of various code 2020-03-23 08:41:17 -04:00
bgp_lcommunity.h bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_mac.c bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
bgp_mac.h bgpd: Rework code to use const struct prefix 2020-03-24 07:51:41 -04:00
bgp_main.c Merge pull request #5763 from ton31337/fix/return_without_parent 2020-02-10 18:49:06 -03:00
bgp_memory.c bgpd: prefix-sid srv6 l3vpn service tlv 2020-01-15 18:20:35 +09:00
bgp_memory.h bgpd: prefix-sid srv6 l3vpn service tlv 2020-01-15 18:20:35 +09:00
bgp_mpath.c bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
bgp_mpath.h bgpd: Rename various variable names to something more appropriate 2018-10-09 14:26:30 -04:00
bgp_mplsvpn.c *: fix format string warnings 2020-03-29 10:45:46 +02:00
bgp_mplsvpn.h bgpd: router bgp export leaked vpn routes 2019-06-17 15:41:50 -07:00
bgp_network.c bgpd: Add 'show bgp listeners' command for diagnostics 2020-03-10 09:59:56 -04:00
bgp_network.h bgpd: Add 'show bgp listeners' command for diagnostics 2020-03-10 09:59:56 -04:00
bgp_nexthop.c bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
bgp_nexthop.h bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_nht.c bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
bgp_nht.h bgpd: Remove not used bgp_find_nexthop() function 2019-11-08 15:04:29 +02:00
bgp_open.c bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_open.h bgpd: Remove trailing whitespaces from some header files 2019-09-17 11:28:48 +03:00
bgp_packet.c bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_packet.h bgpd, lib: fix style from BGP GR code 2020-02-04 15:19:04 -05:00
bgp_pbr.c bgpd: Rework code to use const struct prefix 2020-03-24 07:51:41 -04:00
bgp_pbr.h bgpd: Rework code to use const struct prefix 2020-03-24 07:51:41 -04:00
bgp_rd.c lib, bgpd: Another round of struct const prefix cleanup 2020-03-26 16:22:00 -04:00
bgp_rd.h lib, bgpd: Another round of struct const prefix cleanup 2020-03-26 16:22:00 -04:00
bgp_regex.c *: reindent 2017-07-17 14:04:07 +02:00
bgp_regex.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_route.c Merge pull request #6085 from donaldsharp/bgp_node_get_prefix 2020-03-26 19:07:36 -07:00
bgp_route.h lib, bgpd: Another round of struct const prefix cleanup 2020-03-26 16:22:00 -04:00
bgp_routemap.c bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
bgp_rpki.c bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
bgp_snmp.c bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
bgp_table.c bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
bgp_table.h lib: prepare for plugin-based frr_format check 2020-03-29 10:45:46 +02:00
bgp_updgrp_adv.c bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
bgp_updgrp_packet.c bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
bgp_updgrp.c bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_updgrp.h bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
bgp_vnc_types.h bgpd: Cleanup of bgp daemon code 2018-07-07 22:51:13 +02:00
bgp_vpn.c bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
bgp_vpn.h bgpd/ospfd: make bgp and ospf json response a bit more consistent 2018-08-30 12:40:18 +00:00
bgp_vty.c bgpd: display ingress packet queue size 2020-03-30 15:07:57 -04:00
bgp_vty.h bgpd, lib: fix style from BGP GR code 2020-02-04 15:19:04 -05:00
bgp_zebra.c bgpd: Convert users of rn->p to use accessor function 2020-03-26 16:25:16 -04:00
bgp_zebra.h bgpd: Rework code to use const struct prefix 2020-03-24 07:51:41 -04:00
bgpd.c bgpd: When acting as a RR server do not modify nexthop 2020-03-28 14:04:24 -04:00
bgpd.conf.sample doc: Update documentation about multiple-instance 2019-06-18 09:31:35 -04:00
bgpd.conf.sample2
bgpd.conf.vnc.sample
bgpd.h bgpd: Convert lots of int type functions to bool/void 2020-03-21 14:59:18 +02:00
IMPLEMENTATION.txt bgpd: Convert struct bgp_info to struct bgp_path_info 2018-10-09 14:14:25 -04:00
Makefile build: non-recursive bgpd & rfp 2018-09-08 21:25:59 +02:00
subdir.am doc: rename man pages to frr-* 2020-01-15 14:05:11 +01:00
valgrind.supp bgpd: make valgrind suppression more generic 2019-02-19 22:00:34 +01:00