[rtems-libbsd commit] Define IN_HISTORICAL_NETS for kernel space
Sebastian Huber
sebh at rtems.org
Mon Jul 11 11:45:13 UTC 2022
Module: rtems-libbsd
Branch: master
Commit: 2f7103677c0d7699a39b197328bd594dfdb96c20
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=2f7103677c0d7699a39b197328bd594dfdb96c20
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Jul 7 13:26:19 2022 +0200
Define IN_HISTORICAL_NETS for kernel space
Required by FreeBSD commit:
Author: Mike Karels <karels at FreeBSD.org>
Date: Tue Oct 26 22:01:09 2021 -0500
kernel: deprecate Internet Class A/B/C
Hide historical Class A/B/C macros unless IN_HISTORICAL_NETS is defined;
define it for user level. Define IN_MULTICAST separately from IN_CLASSD,
and use it in pf instead of IN_CLASSD. Stop using class for setting
default masks when not specified; instead, define new default mask
(24 bits). Warn when an Internet address is set without a mask.
MFC after: 1 month
Reviewed by: cy
Differential Revision: https://reviews.freebsd.org/D32708
---
rtemsbsd/include/machine/rtems-bsd-kernel-space.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/rtemsbsd/include/machine/rtems-bsd-kernel-space.h b/rtemsbsd/include/machine/rtems-bsd-kernel-space.h
index 09bcecf1..c4c70c75 100644
--- a/rtemsbsd/include/machine/rtems-bsd-kernel-space.h
+++ b/rtemsbsd/include/machine/rtems-bsd-kernel-space.h
@@ -55,6 +55,9 @@
/* General define to activate BSD kernel parts */
#define _KERNEL 1
+/* REVIEW-AFTER-FREEBSD-BASELINE-UPDATE */
+#define IN_HISTORICAL_NETS
+
#include <machine/rtems-bsd-version.h>
#include <machine/rtems-bsd-kernel-namespace.h>
More information about the vc
mailing list