aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/icmp_var.h
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1997-08-25 01:25:31 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1997-08-25 01:25:31 +0000
commit7022ea0a0cff055a8ef41f0c0ae6d73a95b37735 (patch)
tree0c1a63bbf8db47c1d049395a34e1d57392f3fd98 /sys/netinet/icmp_var.h
parent9f81e05855a8e5e8f3cb5b40aeea67d291d5da20 (diff)
downloadsrc-7022ea0a0cff055a8ef41f0c0ae6d73a95b37735.tar.gz
src-7022ea0a0cff055a8ef41f0c0ae6d73a95b37735.zip
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.)
Notes
Notes: svn path=/head/; revision=28683
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 b208dc5e0130..68d11876605f 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 */
};
/*