Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/net/bridge/netfilter/
Debtables.c422 static int ebt_verify_pointers(const struct ebt_replace *repl, in ebt_verify_pointers()
979 static int do_replace_finish(struct net *net, struct ebt_replace *repl, in do_replace_finish()
1102 struct ebt_replace tmp; in do_replace()
1332 struct ebt_replace hlp; in update_counters()
1432 struct ebt_replace tmp; in copy_everything_to_user()
1453 if (*len != sizeof(struct ebt_replace) + entries_size + in copy_everything_to_user()
1506 struct ebt_replace tmp; in do_ebt_get_ctl()
1523 if (*len != sizeof(struct ebt_replace)) { in do_ebt_get_ctl()
2141 static int compat_copy_ebt_replace_from_user(struct ebt_replace *repl, in compat_copy_ebt_replace_from_user()
2165 memcpy(repl, &tmp, offsetof(struct ebt_replace, hook_entry)); in compat_copy_ebt_replace_from_user()
[all …]