-/* FIXME: Hacks to make older modules compile */
-struct ipaccess_list { };
-#define ipaccess_init() NULL
-#define ipaccess_parse(x,y,z) NULL
-#define ipaccess_check(x,y) 0
+/* Low-level handling of addresses and masks */
+
+struct ip_addrmask {
+ u32 addr;
+ u32 mask;
+};
+
+extern struct cf_user_type ip_addrmask_type;
+int ip_addrmask_match(struct ip_addrmask *am, u32 ip);