tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
usr.sbin
/
bgpctl
/
at
trash-bin2
12 files
Makefile
Add support to output data in JSON. This is still work in progress and the output structures may still change but it should be a good starting point for poeple to start playing with it. OK benno@, job@, deraadt@
6 years ago
bgpctl.8
Make it possible to match on path-id in bgpctl show rib outputs. To work properly also a neighbor needs to be selected. The assumption here is that the peer will use the same path-id for the same peer accross all its routes. The RFC does not require this and it is valid to assign path-ids randomly. The path-id only matters for one specific path but most BGP implementations seem to assign the same path-id to multiple routes when originated from the same source. OK benno@
4 years ago
bgpctl.c
Adjust to renaming of F_CTL_ACTIVE/F_PREF_ACTIVE to F_CTL_ACTIVE/F_PREF_BEST OK tb@
4 years ago
bgpctl.h
Switch from u_intX_t types to stdint.h uintX_t like it was done in bgpd. OK florian@ tb@
4 years ago
json.c
Using int64_t together with printf %llu is not portable. Either add a cast in the printf to unsigned long long or just use unsigned long long from the start. In this case it is better to switch the type. Similar changes had been done before. OK deraadt@
6 years ago
json.h
No need to include sys/cdefs.h here
5 years ago
mrtparser.c
Switch from u_intX_t types to stdint.h uintX_t like it was done in bgpd. OK florian@ tb@
4 years ago
mrtparser.h
Switch from u_intX_t types to stdint.h uintX_t like it was done in bgpd. OK florian@ tb@
4 years ago
output.c
Switch from u_intX_t types to stdint.h uintX_t like it was done in bgpd. OK florian@ tb@
4 years ago
output_json.c
Adjust to renaming of F_CTL_ACTIVE/F_PREF_ACTIVE to F_CTL_ACTIVE/F_PREF_BEST OK tb@
4 years ago
parser.c
Adjust to renaming of F_CTL_ACTIVE/F_PREF_ACTIVE to F_CTL_ACTIVE/F_PREF_BEST OK tb@
4 years ago
parser.h
Switch from u_intX_t types to stdint.h uintX_t like it was done in bgpd. OK florian@ tb@
4 years ago