mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-23 02:01:55 +00:00
00e25663eb
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.
35 lines
711 B
C
35 lines
711 B
C
/*
|
|
* Configuration for Linux based systems
|
|
*
|
|
* (c) 1998--1999 Martin Mares <mj@ucw.cz>
|
|
*
|
|
* Can be freely distributed and used under the terms of the GNU GPL.
|
|
*/
|
|
|
|
#define CONFIG_AUTO_ROUTES
|
|
#define CONFIG_SELF_CONSCIOUS
|
|
#define CONFIG_MULTIPLE_TABLES
|
|
#define CONFIG_IP6_SADR_KERNEL
|
|
|
|
#define CONFIG_MC_PROPER_SRC
|
|
#define CONFIG_UNIX_DONTROUTE
|
|
|
|
#define CONFIG_INCLUDE_SYSIO_H "sysdep/linux/sysio.h"
|
|
#define CONFIG_INCLUDE_KRTSYS_H "sysdep/linux/krt-sys.h"
|
|
|
|
#define CONFIG_LINUX_NETLINK
|
|
|
|
#define CONFIG_RESTRICTED_PRIVILEGES
|
|
#define CONFIG_INCLUDE_SYSPRIV_H "sysdep/linux/syspriv.h"
|
|
|
|
#define CONFIG_MADV_DONTNEED_TO_FREE
|
|
|
|
#ifndef AF_MPLS
|
|
#define AF_MPLS 28
|
|
#endif
|
|
|
|
/*
|
|
Link: sysdep/linux
|
|
Link: sysdep/unix
|
|
*/
|