4 * Copyright (C) 2012 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
12 #include <sys/param.h>
13 #include <sys/systm.h>
14 #include <sys/kernel.h>
15 #include <sys/module.h>
17 #include <sys/socket.h>
18 #include <sys/sysctl.h>
20 #include <netinet/in_systm.h>
21 #include <netinet/in.h>
23 #include <netinet/ipl.h>
24 #include <netinet/ip_compat.h>
25 #include <netinet/ip_fil.h>
26 #include <netinet/ip_state.h>
27 #include <netinet/ip_nat.h>
28 #include <netinet/ip_auth.h>
29 #include <netinet/ip_frag.h>
33 extern ipf_main_softc_t ipfmain;
36 ipfrule_modevent(module_t mod, int type, void *unused)
43 error = ipfrule_add();
48 error = ipfrule_remove();
59 static moduledata_t ipfrulemod = {
64 DECLARE_MODULE(ipfrule, ipfrulemod, SI_SUB_PROTO_DOMAIN, SI_ORDER_ANY);
66 MODULE_DEPEND(ipfrule, ipfilter, 1, 1, 1);
69 MODULE_VERSION(ipfrule, 1);