]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/netfilter/x_tables.h
netfilter: x_tables: add and use xt_check_entry_offsets
[karo-tx-linux.git] / include / linux / netfilter / x_tables.h
index c5577410c25d3b6b3520811c994a1f3d20ed1488..1d2657fd29d92e3453aef5cf9eb83f080f029356 100644 (file)
@@ -239,6 +239,10 @@ void xt_unregister_match(struct xt_match *target);
 int xt_register_matches(struct xt_match *match, unsigned int n);
 void xt_unregister_matches(struct xt_match *match, unsigned int n);
 
+int xt_check_entry_offsets(const void *base,
+                          unsigned int target_offset,
+                          unsigned int next_offset);
+
 int xt_check_match(struct xt_mtchk_param *, unsigned int size, u_int8_t proto,
                   bool inv_proto);
 int xt_check_target(struct xt_tgchk_param *, unsigned int size, u_int8_t proto,