[ovs-dev] fix compilation on FreeBSD

Ed Maste emaste at freebsd.org
Fri Jun 29 13:44:55 UTC 2012


On 28 June 2012 23:15, Ben Pfaff <blp at nicira.com> wrote:
> The route-table implementation is definitely not portable, but I don't
> think there's anything in the interface that can't be implemented in
> FreeBSD.  One proper solution, then, would be to add an implementation
> that works in FreeBSD.  I'd certainly take such an implementation.

It looks like the public interfaces in route-table (other than glue)
are just route_table_get_ifindex and route_table_get_name, which
should be straightforward to implement for FreeBSD.  I will take a
look at this - probably implementing route-table-bsd.[ch].

It looks like route-table is implemented only for IPv4 right now?  If
it does go away perhaps that will save the effort of creating a v6
interface.

-Ed



More information about the dev mailing list