summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl/parser.c
AgeCommit message (Expand)Author
2022-08-17Use memset() instead of bzero().Claudio Jeker
2022-06-22Fix last commit. addr is already a pointer.Claudio Jeker
2022-06-21Use applymask() instead of inetXapplymask() since this code operates onClaudio Jeker
2022-06-16Remove prefixlen2mask() uasge outside of util.c. Instead use inet4applymask().Claudio Jeker
2022-06-15Adjust after chaning F_BGPD_INSERTED to F_BGPD and removal of F_DYNAMICClaudio Jeker
2022-03-21Adjust to renaming of F_CTL_ACTIVE/F_PREF_ACTIVE to F_CTL_ACTIVE/F_PREF_BESTClaudio Jeker
2022-02-06Switch from u_intX_t types to stdint.h uintX_t like it was done in bgpd.Claudio Jeker
2021-08-09Make it possible to match on path-id in bgpctl show rib outputs.Claudio Jeker
2021-02-16Add `bgpctl show rtr` to display basic information about RTR sessions.Claudio Jeker
2020-12-30Add 'bgpctl show sets' to display information about the roa-set, as-sets,Claudio Jeker
2020-05-12Remove unused token BULK and for PREFIX and ADDRESS the table value is alwaysClaudio Jeker
2020-05-11Add support for VPNv6 in the family keyword of show ribClaudio Jeker
2020-05-10In bgpctl argument parser, re-arrange 'reason' parsing ('nei action [reason]')Theo de Raadt
2020-01-22delete wasteful ;;Theo de Raadt
2020-01-16when parsing ASN, don't \0-split the original string, as it may be neededTheo de Raadt
2019-09-27Implement 'bgpctl show rib 8.8.8.8 or-shorter' to show all routes coveringClaudio Jeker
2019-06-28The bgpctl parser can not handle neighbor and neighbors at the same time.Claudio Jeker
2019-06-25Remove irrfilter from bgpctl. The current code is not very useful.Claudio Jeker
2019-06-17Cleanup some spaces here as well. Again no binary change.Claudio Jeker
2019-06-17Adjust and sync the code with the new struct community code from bgpd.Claudio Jeker
2019-05-23Implement bgpctl show mrt neighbors, a command to print the neighbor tableClaudio Jeker
2019-04-10Include endian.h since htobe* or be*toh is used. Helps with protable.Claudio Jeker
2019-02-27Adjust to the last bgpd change. sa2addr gets an extra agrument andClaudio Jeker
2019-02-18Bring in fixes in the community parsing code done in parse.y and fixClaudio Jeker
2019-02-11Adjust to last bgpd commit changing the MPLS VPN configuration.Claudio Jeker
2019-01-20Allow 'neighbor descripton' to be used like neighbor group descriptionClaudio Jeker
2018-12-19Adjust bgpctl now that filter_extcommunity is no more.Claudio Jeker
2018-11-28Adjust bgpctl to handle the community changes done in bgpd.Claudio Jeker
2018-10-03add filter option based on origin validation statedenis
2018-09-07When parsing AS numbers set both as_min and as_max to the parsed value.Claudio Jeker
2018-09-05Adjust after change of struct filter_as.Claudio Jeker
2018-08-29Introduce 'bgpctl show rib error' to show all prefixes that got flaggedClaudio Jeker
2018-07-10Initialize the rtable in the requests send to bgpd to the currentSebastian Benoit
2017-10-15Add "ssv" variant which turns a rib route output into a singleTheo de Raadt
2017-08-10handle extended communities in bgpctl.Sebastian Benoit
2017-06-26let admins set an unknown well-known communityPeter Hessler
2017-06-26add support for the "graceful shutdown" well-known community as describedPeter Hessler
2017-02-14fix a crash when parsing large community given on the command lineSebastian Benoit
2017-02-13draft-ietf-idr-shutdown extends to support a message on either ofPeter Hessler
2017-01-13Add support for draft-ietf-idr-shutdownPeter Hessler
2016-10-14Add support for draft-ietf-idr-large-communityPeter Hessler
2015-10-11Handle the blackhole well-known community in bgpctl as well (print itStuart Henderson
2015-10-11add "best" as an alias for "selected"Peter Hessler
2015-10-05these 3 files do not need sys/socket.hTheo de Raadt
2015-04-17parse_prefix in parse.c got changed but the declaration in bgpctl.cPeter Hessler
2014-11-19reduce redundant strlen calls by calling it once and saving the valueTed Unangst
2014-01-05missing newline on error messageTheo de Raadt
2013-10-09Allow us to bulk add / delete routes with the same attributes. ReallyPeter Hessler
2013-03-07Implement a bgpctl nei foo destroy that will remove the specified clonedClaudio Jeker
2012-05-27Make it possible to load mrt table dumps into bgpd. This is a debug tool butClaudio Jeker