Home
last modified time | relevance | path

Searched refs:ebt_replace (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/include/uapi/linux/netfilter_bridge/
Debtables.h40 struct ebt_replace { struct
86 char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
125 unsigned char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
135 unsigned char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
145 unsigned char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
178 unsigned char elems[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
/linux-4.1.27/net/bridge/netfilter/
Debtables.c420 static int ebt_verify_pointers(const struct ebt_replace *repl, in ebt_verify_pointers()
977 static int do_replace_finish(struct net *net, struct ebt_replace *repl, in do_replace_finish()
1100 struct ebt_replace tmp; in do_replace()
1330 struct ebt_replace hlp; in update_counters()
1430 struct ebt_replace tmp; in copy_everything_to_user()
1451 if (*len != sizeof(struct ebt_replace) + entries_size + in copy_everything_to_user()
1504 struct ebt_replace tmp; in do_ebt_get_ctl()
1521 if (*len != sizeof(struct ebt_replace)) { in do_ebt_get_ctl()
2139 static int compat_copy_ebt_replace_from_user(struct ebt_replace *repl, in compat_copy_ebt_replace_from_user()
2163 memcpy(repl, &tmp, offsetof(struct ebt_replace, hook_entry)); in compat_copy_ebt_replace_from_user()
[all …]