summaryrefslogtreecommitdiffstats
path: root/sys/netinet/icmp_var.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1997-08-25 01:25:31 +0000
committerwollman <wollman@FreeBSD.org>1997-08-25 01:25:31 +0000
commitdbffeebf4dd746dc49dd8896c7c2a189b2cb589d (patch)
treede7d2eff4b6fe76570f42216730e4aea2fc1e9e4 /sys/netinet/icmp_var.h
parentfe1bc8105f27b1325591bddd9d35f84db53653e4 (diff)
downloadFreeBSD-src-dbffeebf4dd746dc49dd8896c7c2a189b2cb589d.zip
FreeBSD-src-dbffeebf4dd746dc49dd8896c7c2a189b2cb589d.tar.gz
Configurably don't reply to broadcast or multicast echos. There are still
potential problems with other automatic-reply ICMPs, but some of them may depend on broadcast/multicast to operate. (This code can simply be moved to the `reflect' label to generalize it.)
Diffstat (limited to 'sys/netinet/icmp_var.h')
-rw-r--r--sys/netinet/icmp_var.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/icmp_var.h b/sys/netinet/icmp_var.h
index b208dc5..68d1187 100644
--- a/sys/netinet/icmp_var.h
+++ b/sys/netinet/icmp_var.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)icmp_var.h 8.1 (Berkeley) 6/10/93
- * $Id$
+ * $Id: icmp_var.h,v 1.6 1997/02/22 09:41:24 peter Exp $
*/
#ifndef _NETINET_ICMP_VAR_H_
@@ -54,6 +54,7 @@ struct icmpstat {
u_long icps_badlen; /* calculated bound mismatch */
u_long icps_reflect; /* number of responses */
u_long icps_inhist[ICMP_MAXTYPE + 1];
+ u_long icps_bmcastecho; /* b/mcast echo requests dropped */
};
/*
OpenPOWER on IntegriCloud