16 #include <linux/module.h>
17 #include <linux/netfilter/x_tables.h>
18 #include <linux/netfilter_bridge/ebtables.h>
47 if (tmp < -NUM_STANDARD_TARGETS || tmp >= 0)
56 struct compat_ebt_mark_t_info {
61 static void mark_tg_compat_from_user(
void *
dst,
const void *
src)
63 const struct compat_ebt_mark_t_info *
user =
src;
66 kern->
mark = user->mark;
67 kern->
target = user->target;
70 static int mark_tg_compat_to_user(
void __user *
dst,
const void *
src)
86 .target = ebt_mark_tg,
87 .checkentry = ebt_mark_tg_check,
90 .compatsize =
sizeof(
struct compat_ebt_mark_t_info),
91 .compat_from_user = mark_tg_compat_from_user,
92 .compat_to_user = mark_tg_compat_to_user,
97 static int __init ebt_mark_init(
void)
102 static void __exit ebt_mark_fini(
void)