summaryrefslogtreecommitdiff
path: root/sysdep/cf/bsd-netlink.h
diff options
context:
space:
mode:
authorAlexander Chernikov <melifaro@FreeBSD.org>2022-12-16 19:20:05 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2022-12-16 19:21:51 +0100
commit176fc68aed32a5675aa643e3b7c6f65ff9ad13d0 (patch)
tree3113e0d0a2d48bab4aec48134fd89c7db7d9b174 /sysdep/cf/bsd-netlink.h
parent7b6c9649775b288653b0d61df6004d79f0d83ccf (diff)
Netlink: move OS-specific headers and defines to sysdep
Minor changes from committer.
Diffstat (limited to 'sysdep/cf/bsd-netlink.h')
-rw-r--r--sysdep/cf/bsd-netlink.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/sysdep/cf/bsd-netlink.h b/sysdep/cf/bsd-netlink.h
index 09149dc4..69297867 100644
--- a/sysdep/cf/bsd-netlink.h
+++ b/sysdep/cf/bsd-netlink.h
@@ -17,16 +17,7 @@
#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
+#define CONFIG_INCLUDE_NLSYS_H "sysdep/bsd-netlink/netlink-sys.h"
/*
Link: sysdep/unix