summaryrefslogtreecommitdiff
path: root/sysdep/cf/bsd-netlink.h
blob: 09149dc4940c92e4a08e687c2d599950e5f289db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 *	Configuration for FreeBSD based systems with netlink support
 *
 *	(c) 2022 Alexander Chernikov <melifaro@FreeBSD.org>
 *
 *	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_SINGLE_ROUTE

#define CONFIG_SKIP_MC_BIND
#define CONFIG_NO_IFACE_BIND
#define CONFIG_USE_HDRINCL

#define CONFIG_INCLUDE_SYSIO_H "sysdep/bsd/sysio.h"
#define CONFIG_INCLUDE_KRTSYS_H "sysdep/linux/krt-sys.h"

#define	CONFIG_FREEBSD_NETLINK

#ifndef	AF_MPLS
#define	AF_MPLS	39
#endif

#ifndef	SO_RCVBUFFORCE
#define	SO_RCVBUFFORCE	SO_RCVBUF
#endif

/*
Link: sysdep/unix
Link: sysdep/bsd-netlink
 */