Implement bgpctl show flowspec and bgpctl flowspec flush.
authorclaudio <claudio@openbsd.org>
Thu, 20 Apr 2023 14:01:50 +0000 (14:01 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 20 Apr 2023 14:01:50 +0000 (14:01 +0000)
commit5fed6b04b4eb09af8336577d46b510c7d14e4acf
treefaebf740e63ec4f1cc17d8bd77f03d1ae993c16a
parentf7b381036b6fe56548a0642f4d449eaf23927501
Implement bgpctl show flowspec and bgpctl flowspec flush.

This uses the flowspec.c file from bgpd and implements the output
for flowspec only for the text printer for now. That code uses a lot
of code from printconf.c
OK tb@
usr.sbin/bgpctl/Makefile
usr.sbin/bgpctl/bgpctl.c
usr.sbin/bgpctl/bgpctl.h
usr.sbin/bgpctl/output.c
usr.sbin/bgpctl/parser.c
usr.sbin/bgpctl/parser.h