patch-2.3.99-pre7 linux/include/linux/netfilter_ipv4/ip_tables.h

Next file: linux/include/linux/nfs_fs.h
Previous file: linux/include/linux/netfilter_ipv4/ip_conntrack_core.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/include/linux/netfilter_ipv4/ip_tables.h linux/include/linux/netfilter_ipv4/ip_tables.h
@@ -346,6 +346,9 @@
 			  unsigned int matchinfosize,
 			  unsigned int hook_mask);
 
+	/* Called when entry of this type deleted. */
+	void (*destroy)(void *matchinfo, unsigned int matchinfosize);
+
 	/* Set this to THIS_MODULE if you are a module, otherwise NULL */
 	struct module *me;
 };
@@ -374,6 +377,9 @@
 			  void *targinfo,
 			  unsigned int targinfosize,
 			  unsigned int hook_mask);
+
+	/* Called when entry of this type deleted. */
+	void (*destroy)(void *targinfo, unsigned int targinfosize);
 
 	/* Set this to THIS_MODULE if you are a module, otherwise NULL */
 	struct module *me;

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