Make rtable_get() private to ensure it won't be used outside of
authormpi <mpi@openbsd.org>
Wed, 7 Oct 2015 11:39:49 +0000 (11:39 +0000)
committermpi <mpi@openbsd.org>
Wed, 7 Oct 2015 11:39:49 +0000 (11:39 +0000)
commit56588de8f0271a1ffec8783923fae0353840ee99
tree059d8e059b7f9cd2c54fcb7f3c556896f8195554
parent2d6ba272844404ee18c3ea79fa20f89140afb4f2
Make rtable_get() private to ensure it won't be used outside of
net/rtable.c.  This will ease the introduction of rtable_put().

Routing tables are mapped to a tuple (idx, af) so the public API
should as much as possible require these two keys.

ok dlg@
sys/net/rtable.c
sys/net/rtable.h