mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-15 23:58:43 +00:00
d14f8c3c45
Anyway, Bird is now capable to insert both MPLS routes and MPLS encap routes into kernel. It was (among others) needed to define platform-specific AF_MPLS to 28 as this constant has been assigned in the linux kernel. No support for BSD now, it may be added in the future.
32 lines
647 B
C
32 lines
647 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_ALL_TABLES_AT_ONCE
|
|
|
|
#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_RESTRICTED_PRIVILEGES
|
|
#define CONFIG_INCLUDE_SYSPRIV_H "sysdep/linux/syspriv.h"
|
|
|
|
|
|
#ifndef AF_MPLS
|
|
#define AF_MPLS 28
|
|
#endif
|
|
|
|
/*
|
|
Link: sysdep/linux
|
|
Link: sysdep/unix
|
|
*/
|