summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl
AgeCommit message (Expand)Author
2022-07-08Use AID_MIN instead of 0 == AID_UNSPEC as foo loop start value where apropriateClaudio Jeker
2022-07-07Print dmetric for prefixes, this may still change in the future.Claudio Jeker
2022-06-27bgpctl bits for RFC 9234 support.Claudio Jeker
2022-06-23fmt_timeframe() cleanup. Remove the ring buffer, it is not required.Claudio Jeker
2022-06-22Adjust code after changing struct ctl_show_nexthop to embed a struct kroute_fullClaudio 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
2022-02-04Rename sockaddr_un sun to sa_un since sun is defined on illumos systems.Claudio Jeker
2021-09-22Adjust handling of RIB_GENERIC_ADDPATH MRT messages. Parse it the wayClaudio Jeker
2021-08-09Make it possible to match on path-id in bgpctl show rib outputs.Claudio Jeker
2021-08-02Show if add_path was used when decoding the BGP message in MRT format.Claudio Jeker
2021-07-30Fix the show rib detail output. The add_path condition was totally wrong.Claudio Jeker
2021-07-27Implemnt the RFC8050 in the MRT parser. With this MRT dumps containingClaudio Jeker
2021-07-20Also add missing -V to usageClaudio Jeker
2021-06-16Add command line option to show the versionjob
2021-05-27Add the bits needed in bgpctl to show the new ADD-PATH and enhancedClaudio Jeker
2021-05-20Fix bgpctl show mrt argument list. Seems like peers was added in the wrongClaudio Jeker
2021-05-06export [ none | default-route ] changes are not handled by reload.Claudio Jeker
2021-05-03Print the timestamps both formatted and as a time in seconds field inClaudio Jeker
2021-04-26Print out both the sent "Neighbor capabilities" and the "NegotiatedClaudio Jeker
2021-04-15Fix bgpctl show mrt for UPDATE messages. The call to output->attr() wasClaudio Jeker
2021-03-01off by one in bounds testJonathan Gray
2021-02-16Add `bgpctl show rtr` to display basic information about RTR sessions.Claudio Jeker
2021-01-25Adjust code since bgpd added an extra argument to aspath_verify() toClaudio Jeker
2021-01-18Adjust code to the change of struct bgpd_addr in bgpd.Claudio Jeker
2020-12-30Add 'bgpctl show sets' to display information about the roa-set, as-sets,Claudio Jeker
2020-10-21Include endian.h for htobe64().Claudio Jeker
2020-10-21No need to include sys/cdefs.h hereClaudio 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-05-04Using int64_t together with printf %llu is not portable. Either add aClaudio Jeker
2020-05-03Correctly name max_out_prefix and don't clobber the max_prefix value.Claudio Jeker
2020-05-02Minimal documentation of JSON output.Claudio Jeker
2020-05-02Add support to output data in JSON. This is still work in progress andClaudio Jeker
2020-05-02Adjust fmt_attr() to pass in -1 for flags to tell it you don't careClaudio Jeker
2020-05-02Indirect the output functions through function pointers so that theyClaudio Jeker
2020-05-02Cleanup the output functions a bit. show_neighbor_full() should print someClaudio Jeker
2020-03-20Reshuffle code more to separate out the output functions into output.c.Claudio Jeker
2020-01-24Extend 'bgpctl show neighbor' to include the received and sent prefixClaudio Jeker
2020-01-22delete wasteful ;;Theo de Raadt
2020-01-21Report sent or received errors (normally not both at the same time).Claudio Jeker
2020-01-21Update get_errstr() to report errors like log_notification() in bgpd.Claudio Jeker
2020-01-16when parsing ASN, don't \0-split the original string, as it may be neededTheo de Raadt
2020-01-09Adjust time printing to the changes done in bgpd. Most timestamps areClaudio Jeker
2019-12-31Rename print_timer() to show_timer() and move it to output.cClaudio Jeker