summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl/bgpctl.c
AgeCommit message (Expand)Author
2022-07-28Adjust bgpctl show fib output.Claudio 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-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-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-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-03Print the timestamps both formatted and as a time in seconds field inClaudio Jeker
2021-04-15Fix bgpctl show mrt for UPDATE messages. The call to output->attr() wasClaudio 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-10In bgpctl argument parser, re-arrange 'reason' parsing ('nei action [reason]')Theo de Raadt
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-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-21Update get_errstr() to report errors like log_notification() in bgpd.Claudio Jeker
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
2019-12-20Split out show functions into a new file called output.cClaudio Jeker
2019-12-20Shuffle the fmt_timeframe functions and change fmt_timeframe() to avoidClaudio Jeker
2019-12-20Change show_mrt_dump() to call show_rib() instead of the internalClaudio Jeker
2019-12-19Change the way individual show functions are called. Up until now an imsgClaudio Jeker
2019-12-13Remove some more show_*_head() functions. Compiler agrees.Claudio Jeker
2019-12-13Remove show_rib_summary_head() it is no longer used.Claudio Jeker
2019-12-13First step of refactoring the output processing of bgpctl. MoveClaudio Jeker
2019-11-27Adjust after changing the struct ctl_show_rib (removal of aspath_len)Claudio Jeker
2019-09-27Implement 'bgpctl show rib 8.8.8.8 or-shorter' to show all routes coveringClaudio Jeker
2019-09-25also show peer AS and description in "bgpctl sh nei group XXX terse" outputStuart Henderson
2019-09-24add the neighbour's address, to disambiguate peers in the output fromStuart Henderson
2019-08-05Add a comment why network_bulk() is not using send_filterset(). UsingClaudio Jeker
2019-07-03Remove unneccessary type castClaudio 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-05-14make "bgpctl sh rib detail *out*" look less confusingSebastian Benoit
2019-05-03missing breakJonathan Gray
2019-04-25Adjust the MRT notification parser similar to bgpd to support extendedClaudio Jeker
2019-02-27Adjust to the last bgpd change. sa2addr gets an extra agrument andClaudio Jeker
2019-02-25Use struct bgpd_addr instead of a union of sockaddrs to store addressesClaudio Jeker
2019-02-21type is not used here. Still keep a comment around to keep the codeClaudio Jeker