patch-2.2.18 linux/include/linux/inetdevice.h

Next file: linux/include/linux/init.h
Previous file: linux/include/linux/in6.h
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/include/linux/inetdevice.h linux/include/linux/inetdevice.h
@@ -17,6 +17,7 @@
 	int	forwarding;
 	int	mc_forwarding;
 	int	hidden;
+	int	arp_filter; 
 	void	*sysctl;
 };
 
@@ -51,6 +52,9 @@
 	  (ipv4_devconf.accept_redirects && (in_dev)->cnf.accept_redirects)) \
 	 || (!IN_DEV_FORWARD(in_dev) && \
 	  (ipv4_devconf.accept_redirects || (in_dev)->cnf.accept_redirects)))
+
+#define IN_DEV_ARPFILTER(in_dev)	(ipv4_devconf.arp_filter || \
+					 (in_dev)->cnf.arp_filter)
 
 struct in_ifaddr
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)