]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Add struct asn_range
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Fri, 7 Jul 2023 19:16:04 +0000 (13:16 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Fri, 7 Jul 2023 19:18:13 +0000 (13:18 -0600)
commit95fe406d586ce7ce19e8d37c6147713d35b4b19b
tree5225a16a78cb5ae0a28b85ce5e8d513b91585375
parent095ed703059a4bd7b6ded0948a8208ab75956465
Add struct asn_range

Slightly improves code that needs to deal with groups of contiguous
ASNs.

Also adds a bunch of healthy consts here and there.

Part of a series of patches meant to manually rebase the issue58-proper
branch.
18 files changed:
src/Makefile.am
src/as_number.h [new file with mode: 0644]
src/object/bgpsec.c
src/resource.c
src/resource.h
src/resource/asn.c
src/resource/asn.h
src/resource/ip4.c
src/resource/ip4.h
src/resource/ip6.c
src/resource/ip6.h
src/rtr/db/vrps.c
src/rtr/db/vrps.h
src/sorted_array.c
src/sorted_array.h
src/validation_handler.c
src/validation_handler.h
test/rtr/db/rtr_db_mock.c