]> git.ipfire.org Git - thirdparty/bird.git/commit
Netlink on FreeBSD support
authorAlexander V. Chernikov <melifaro@ipfw.ru>
Fri, 9 Dec 2022 14:59:06 +0000 (15:59 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Fri, 9 Dec 2022 15:01:30 +0000 (16:01 +0100)
commita80cd4707464cedb526eb72e7704b097af20beb7
tree7f29a583093e7822a8c2a2717fcea46621aadebf
parent3859e4efc1597368df647323c5a3cc1771cb64ca
Netlink on FreeBSD support

Netlink support was added to FreeBSD recently. It is not as full-featured
as its Linux counterpart yet, however the added subset is enough to make
a routing daemon work. Specifically, it supports multiple tables,
multipath, nexthops and nexthops groups. No MPLS support yet.

The attached change adds 'bsd-netlink’ sysconf target, allowing to build
both netlink & rtsock versions on FreeBSD.
sysdep/cf/bsd-netlink.h [new file with mode: 0644]
sysdep/cf/linux.h
sysdep/linux/netlink.c