> +static int
> +netdev_bsd_get_next_hop(const struct in_addr *host, struct in_addr *next_hop,
> +                        char **netdev_name)
> +{
> +#if defined(__NetBSD__)

Acked-by: Ed Maste <ema...@freebsd.org>

This is close to being usable on FreeBSD as well, with the exception
that we don't have the RT_ADVANCE macro.  I'm happy to have this patch
go in and then look at refactoring it to work on FreeBSD later on.

It seems like there should be an opportunity to share code between
this function and route-table-bsd.c's route_table_get_name() too,
although it's probably easier to do so after getting
netdev_bsd_get_next_hop() working on FreeBSD first.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to