Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Nuke DIRECTED_BROADCAST, it is not documented and not en...
details: https://anonhg.NetBSD.org/src/rev/384941c9cef7
branches: trunk
changeset: 359245:384941c9cef7
user: maxv <maxv%NetBSD.org@localhost>
date: Mon Feb 05 15:18:10 2018 +0000
description:
Nuke DIRECTED_BROADCAST, it is not documented and not enabled anywhere. It
probably wouldn't have built correctly anyway, since there is no associated
defflag.
These ten lines of code in ip_input.c already look a lot better.
diffstat:
sys/arch/amiga/conf/DRACO | 5 ++---
sys/arch/amiga/conf/GENERIC | 5 ++---
sys/arch/amiga/conf/GENERIC.in | 5 ++---
sys/arch/amiga/conf/INSTALL | 5 ++---
sys/arch/amigappc/conf/GENERIC | 5 ++---
sys/arch/amigappc/conf/NULL | 5 ++---
sys/arch/evbppc/conf/EV64260 | 3 +--
sys/arch/evbppc/conf/MPC8536DS | 5 ++---
sys/arch/evbppc/conf/MPC8548CDS | 5 ++---
sys/arch/evbppc/conf/OPENBLOCKS200 | 3 +--
sys/arch/evbppc/conf/OPENBLOCKS266 | 5 ++---
sys/arch/evbppc/conf/OPENBLOCKS600 | 5 ++---
sys/arch/evbppc/conf/P2020DS | 5 ++---
sys/arch/evbppc/conf/P2020RDB | 5 ++---
sys/arch/evbppc/conf/RB800 | 5 ++---
sys/arch/evbppc/conf/TWRP1025 | 5 ++---
sys/arch/evbppc/conf/VIRTEX_DFC | 3 +--
sys/arch/evbppc/conf/VIRTEX_GSRD1 | 3 +--
sys/arch/evbppc/conf/VIRTEX_GSRD2 | 3 +--
sys/arch/evbppc/conf/WALNUT | 3 +--
sys/arch/sparc/conf/GENERIC | 5 ++---
sys/arch/sparc/conf/INSTALL | 3 +--
sys/arch/sparc/conf/KRUPS | 5 ++---
sys/arch/sparc/conf/MRCOFFEE | 5 ++---
sys/arch/sparc/conf/TADPOLE3GX | 3 +--
sys/arch/sparc64/conf/GENERIC | 5 ++---
sys/arch/sparc64/conf/NONPLUS64 | 5 ++---
sys/arch/x68k/conf/GENERIC | 5 ++---
sys/arch/x68k/conf/INSTALL | 5 ++---
sys/netinet/ip_input.c | 12 +++---------
30 files changed, 53 insertions(+), 88 deletions(-)
diffs (truncated from 715 to 300 lines):
diff -r 0f02eaedbce7 -r 384941c9cef7 sys/arch/amiga/conf/DRACO
--- a/sys/arch/amiga/conf/DRACO Mon Feb 05 15:02:52 2018 +0000
+++ b/sys/arch/amiga/conf/DRACO Mon Feb 05 15:18:10 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: DRACO,v 1.185 2018/01/23 14:47:53 sevan Exp $
+# $NetBSD: DRACO,v 1.186 2018/02/05 15:18:10 maxv Exp $
#
# This file was automatically created.
# Changes will be lost when make is run in this directory.
@@ -29,7 +29,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.185 $"
+#ident "GENERIC-$Revision: 1.186 $"
makeoptions COPTS="-O2 -fno-reorder-blocks" # see share/mk/sys.mk
@@ -54,7 +54,6 @@
#options IPSEC # IP security
#options IPSEC_DEBUG # debug for IP security
#options GATEWAY # Packet forwarding
-#options DIRECTED_BROADCAST # Broadcast across subnets
#options MROUTING # Multicast routing
#options PIM # Protocol Independent Multicast
diff -r 0f02eaedbce7 -r 384941c9cef7 sys/arch/amiga/conf/GENERIC
--- a/sys/arch/amiga/conf/GENERIC Mon Feb 05 15:02:52 2018 +0000
+++ b/sys/arch/amiga/conf/GENERIC Mon Feb 05 15:18:10 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.319 2018/01/23 14:47:53 sevan Exp $
+# $NetBSD: GENERIC,v 1.320 2018/02/05 15:18:10 maxv Exp $
#
# This file was automatically created.
# Changes will be lost when make is run in this directory.
@@ -29,7 +29,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.319 $"
+#ident "GENERIC-$Revision: 1.320 $"
makeoptions COPTS="-O2 -fno-reorder-blocks" # see share/mk/sys.mk
@@ -66,7 +66,6 @@
#options IPSEC # IP security
#options IPSEC_DEBUG # debug for IP security
#options GATEWAY # Packet forwarding
-#options DIRECTED_BROADCAST # Broadcast across subnets
#options MROUTING # Multicast routing
#options PIM # Protocol Independent Multicast
diff -r 0f02eaedbce7 -r 384941c9cef7 sys/arch/amiga/conf/GENERIC.in
--- a/sys/arch/amiga/conf/GENERIC.in Mon Feb 05 15:02:52 2018 +0000
+++ b/sys/arch/amiga/conf/GENERIC.in Mon Feb 05 15:18:10 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC.in,v 1.137 2018/01/23 14:47:53 sevan Exp $
+# $NetBSD: GENERIC.in,v 1.138 2018/02/05 15:18:10 maxv Exp $
#
##
# GENERIC machine description file
@@ -52,7 +52,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.137 $"
+#ident "GENERIC-$Revision: 1.138 $"
m4_ifdef(`INSTALL_CONFIGURATION', `m4_dnl
makeoptions COPTS="-Os"
@@ -99,7 +99,6 @@
#options IPSEC # IP security
#options IPSEC_DEBUG # debug for IP security
#options GATEWAY # Packet forwarding
-#options DIRECTED_BROADCAST # Broadcast across subnets
m4_ifdef(`INSTALL_CONFIGURATION', `', `m4_dnl
#options MROUTING # Multicast routing
diff -r 0f02eaedbce7 -r 384941c9cef7 sys/arch/amiga/conf/INSTALL
--- a/sys/arch/amiga/conf/INSTALL Mon Feb 05 15:02:52 2018 +0000
+++ b/sys/arch/amiga/conf/INSTALL Mon Feb 05 15:18:10 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.129 2018/01/23 14:47:53 sevan Exp $
+# $NetBSD: INSTALL,v 1.130 2018/02/05 15:18:10 maxv Exp $
#
# This file was automatically created.
# Changes will be lost when make is run in this directory.
@@ -29,7 +29,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.129 $"
+#ident "GENERIC-$Revision: 1.130 $"
makeoptions COPTS="-Os"
@@ -66,7 +66,6 @@
#options IPSEC # IP security
#options IPSEC_DEBUG # debug for IP security
#options GATEWAY # Packet forwarding
-#options DIRECTED_BROADCAST # Broadcast across subnets
options PPP_BSDCOMP # BSD-Compress compression support for PPP
diff -r 0f02eaedbce7 -r 384941c9cef7 sys/arch/amigappc/conf/GENERIC
--- a/sys/arch/amigappc/conf/GENERIC Mon Feb 05 15:02:52 2018 +0000
+++ b/sys/arch/amigappc/conf/GENERIC Mon Feb 05 15:18:10 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.33 2018/01/23 14:47:53 sevan Exp $
+# $NetBSD: GENERIC,v 1.34 2018/02/05 15:18:10 maxv Exp $
#
# GENERIC machine description file
#
@@ -22,7 +22,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.33 $"
+#ident "GENERIC-$Revision: 1.34 $"
maxusers 8
@@ -127,7 +127,6 @@
#options IPSEC # IP security
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # Multicast routing
-#options DIRECTED_BROADCAST # Broadcast across subnets
#options PIM # Protocol Independent Multicast
#options NETATALK # AppleTalk networking protocols
options PPP_BSDCOMP # BSD-Compress compression support for PPP
diff -r 0f02eaedbce7 -r 384941c9cef7 sys/arch/amigappc/conf/NULL
--- a/sys/arch/amigappc/conf/NULL Mon Feb 05 15:02:52 2018 +0000
+++ b/sys/arch/amigappc/conf/NULL Mon Feb 05 15:18:10 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: NULL,v 1.53 2018/01/23 14:47:53 sevan Exp $
+# $NetBSD: NULL,v 1.54 2018/02/05 15:18:10 maxv Exp $
#
# NULL machine description file
#
@@ -7,7 +7,7 @@
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.53 $"
+#ident "GENERIC-$Revision: 1.54 $"
maxusers 8
@@ -110,7 +110,6 @@
#options IPSEC # IP security
#options IPSEC_DEBUG # debug for IP security
#options GATEWAY # Packet forwarding
-#options DIRECTED_BROADCAST # Broadcast across subnets
#options MROUTING # Multicast routing
#options PIM # Protocol Independent Multicast
diff -r 0f02eaedbce7 -r 384941c9cef7 sys/arch/evbppc/conf/EV64260
--- a/sys/arch/evbppc/conf/EV64260 Mon Feb 05 15:02:52 2018 +0000
+++ b/sys/arch/evbppc/conf/EV64260 Mon Feb 05 15:18:10 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: EV64260,v 1.70 2017/09/15 03:07:55 christos Exp $
+# $NetBSD: EV64260,v 1.71 2018/02/05 15:18:10 maxv Exp $
#
# MVP -- Motorola's Multiprocessing Verification Platform
#
@@ -104,7 +104,6 @@
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk networking protocols
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
#options PPP_DEFLATE # Deflate compression support for PPP
diff -r 0f02eaedbce7 -r 384941c9cef7 sys/arch/evbppc/conf/MPC8536DS
--- a/sys/arch/evbppc/conf/MPC8536DS Mon Feb 05 15:02:52 2018 +0000
+++ b/sys/arch/evbppc/conf/MPC8536DS Mon Feb 05 15:18:10 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: MPC8536DS,v 1.25 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: MPC8536DS,v 1.26 2018/02/05 15:18:10 maxv Exp $
#
# MPC8536DS -- everything that's currently supported
#
@@ -7,7 +7,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-ident "MPC8536DS-$Revision: 1.25 $"
+ident "MPC8536DS-$Revision: 1.26 $"
maxusers 32
@@ -95,7 +95,6 @@
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk networking protocols
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
#options PPP_DEFLATE # Deflate compression support for PPP
diff -r 0f02eaedbce7 -r 384941c9cef7 sys/arch/evbppc/conf/MPC8548CDS
--- a/sys/arch/evbppc/conf/MPC8548CDS Mon Feb 05 15:02:52 2018 +0000
+++ b/sys/arch/evbppc/conf/MPC8548CDS Mon Feb 05 15:18:10 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: MPC8548CDS,v 1.24 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: MPC8548CDS,v 1.25 2018/02/05 15:18:10 maxv Exp $
#
# MPC8548CDS -- everything that's currently supported
#
@@ -7,7 +7,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-ident "MPC8548CDS-$Revision: 1.24 $"
+ident "MPC8548CDS-$Revision: 1.25 $"
maxusers 32
@@ -97,7 +97,6 @@
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk networking protocols
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
#options PPP_DEFLATE # Deflate compression support for PPP
diff -r 0f02eaedbce7 -r 384941c9cef7 sys/arch/evbppc/conf/OPENBLOCKS200
--- a/sys/arch/evbppc/conf/OPENBLOCKS200 Mon Feb 05 15:02:52 2018 +0000
+++ b/sys/arch/evbppc/conf/OPENBLOCKS200 Mon Feb 05 15:18:10 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: OPENBLOCKS200,v 1.45 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: OPENBLOCKS200,v 1.46 2018/02/05 15:18:10 maxv Exp $
#
# GENERIC -- everything that's currently supported
#
@@ -85,7 +85,6 @@
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk networking protocols
options PPP_BSDCOMP # BSD-Compress compression support for PPP
options PPP_DEFLATE # Deflate compression support for PPP
diff -r 0f02eaedbce7 -r 384941c9cef7 sys/arch/evbppc/conf/OPENBLOCKS266
--- a/sys/arch/evbppc/conf/OPENBLOCKS266 Mon Feb 05 15:02:52 2018 +0000
+++ b/sys/arch/evbppc/conf/OPENBLOCKS266 Mon Feb 05 15:18:10 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: OPENBLOCKS266,v 1.72 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: OPENBLOCKS266,v 1.73 2018/02/05 15:18:10 maxv Exp $
#
# GENERIC -- everything that's currently supported
#
@@ -7,7 +7,7 @@
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "OPENBLOCKS266-$Revision: 1.72 $"
+#ident "OPENBLOCKS266-$Revision: 1.73 $"
maxusers 32
@@ -103,7 +103,6 @@
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk networking protocols
options PPP_BSDCOMP # BSD-Compress compression support for PPP
options PPP_DEFLATE # Deflate compression support for PPP
diff -r 0f02eaedbce7 -r 384941c9cef7 sys/arch/evbppc/conf/OPENBLOCKS600
--- a/sys/arch/evbppc/conf/OPENBLOCKS600 Mon Feb 05 15:02:52 2018 +0000
+++ b/sys/arch/evbppc/conf/OPENBLOCKS600 Mon Feb 05 15:18:10 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: OPENBLOCKS600,v 1.24 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: OPENBLOCKS600,v 1.25 2018/02/05 15:18:10 maxv Exp $
#
# GENERIC -- everything that's currently supported
#
@@ -7,7 +7,7 @@
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "OPENBLOCKS600-$Revision: 1.24 $"
+#ident "OPENBLOCKS600-$Revision: 1.25 $"
maxusers 32
@@ -105,7 +105,6 @@
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk networking protocols
options PPP_BSDCOMP # BSD-Compress compression support for PPP
options PPP_DEFLATE # Deflate compression support for PPP
diff -r 0f02eaedbce7 -r 384941c9cef7 sys/arch/evbppc/conf/P2020DS
--- a/sys/arch/evbppc/conf/P2020DS Mon Feb 05 15:02:52 2018 +0000
+++ b/sys/arch/evbppc/conf/P2020DS Mon Feb 05 15:18:10 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: P2020DS,v 1.28 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: P2020DS,v 1.29 2018/02/05 15:18:10 maxv Exp $
Home |
Main Index |
Thread Index |
Old Index