implement get_next_hop for NetBSD

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>