4 * Copyright (C) 1993-2001 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
10 #include <sys/param.h>
11 #include <sys/systm.h>
14 #include <sys/ioctl.h>
15 #include <sys/kernel.h>
18 #include <sys/socket.h>
20 #include <netinet/in_systm.h>
21 #include <netinet/in.h>
22 #include <netinet/ip.h>
23 #include <net/route.h>
24 #include <netinet/ip_var.h>
25 #include <netinet/tcp.h>
26 #include <netinet/tcpip.h>
28 #include "ip_compat.h"
33 static int ipfruleaction
__P((struct lkm_table
*, int));
37 int ipfrule_lkmentry
__P((struct lkm_table
*, int, int));
39 int xxxinit
__P((struct lkm_table
*, int, int));
43 MOD_MISC("IPFilter Rules");
46 int ipfrule_lkmentry(lkmtp
, cmd
, ver
)
48 int xxxinit(lkmtp
, cmd
, ver
)
50 struct lkm_table
*lkmtp
;
53 DISPATCH(lkmtp
, cmd
, ver
, ipfruleaction
, ipfruleaction
, ipfruleaction
);
56 static int ipfruleaction(lkmtp
, cmd
)
57 struct lkm_table
*lkmtp
;
73 err
= ipfrule_remove();
85 #endif /* IPFILTER_LKM */