summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl/parser.c
AgeCommit message (Expand)Author
2023-11-20KNFClaudio Jeker
2023-05-09Rename 'invalid' to 'disqualified' in the 'show rib' table.Claudio Jeker
2023-04-21Adjust ext community handling to support the generic transitive communitiesClaudio Jeker
2023-04-21Implement flowspec add and delete to add/remove flowspec rules dynamically.Claudio Jeker
2023-04-20Implement bgpctl show flowspec and bgpctl flowspec flush.Claudio Jeker
2023-04-17Convert all users of parse_number() to also process the next elementClaudio Jeker
2023-04-17In parse_prefix and parse_addr only touch the addr if the functions isClaudio Jeker
2023-04-17Passing argv as tripple indirect pointer to match_token() is just strange.Claudio Jeker
2023-04-17Rework how communities are parsed. Use tha fact that argv and argc areClaudio Jeker
2023-04-15Introduce an ANYTOKEN token which can be used instead of NOTOKEN to allowClaudio Jeker
2023-04-13Sort commands alphabetically both in the tables and manpage.Claudio Jeker
2023-04-12bgpctl network bulk requires now the specification of 'add' or 'delete'.Claudio Jeker
2023-03-13Extend bgpctl show rib with two new options:Claudio Jeker
2023-02-02Fix typoJob Snijders
2023-01-30Same parseextvalue() change as in parse.y rev 1.441Claudio Jeker
2023-01-24Implmement `bgpctl show rib avs invalid` and firends.Claudio Jeker
2022-11-10A theoretical path exists where ext.data1 is not initialized byMoritz Buhl
2022-10-17SHOW_METRICS for the actions enum. Just to match the rest.Claudio Jeker
2022-10-17Use metrics as the command name and document show metrics.Claudio Jeker
2022-10-17Implement openmetric output via bgpctl show metric commandClaudio Jeker
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