Implement a applymask() function that works on bgpd_addr structs.
authorclaudio <claudio@openbsd.org>
Sun, 19 Jun 2022 10:30:09 +0000 (10:30 +0000)
committerclaudio <claudio@openbsd.org>
Sun, 19 Jun 2022 10:30:09 +0000 (10:30 +0000)
commit13bcf54fb37e0f97ab15fc9033a8e55ab2036811
tree53970b3e9ee38257ea532d56fb89b2ef0e3e0f94
parente6e8f672aaeab5a077be2abc1929472903d1df80
Implement a applymask() function that works on bgpd_addr structs.
Use this function in kroute so that kroute_find and kroute6_find can switch
to use struct bgpd_addr as argument.
OK tb@
usr.sbin/bgpd/bgpd.h
usr.sbin/bgpd/kroute.c
usr.sbin/bgpd/session.c
usr.sbin/bgpd/util.c