allow no ip allocs
allow no ip allocs
split out functions from build_network
allow no ip allocs
tidy
allow no ip allocs