Home
last modified time | relevance | path

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

/Linux-v5.4/include/uapi/linux/netfilter_bridge/
Debtables.h44 struct ebt_replace { struct
90 char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
132 unsigned char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
145 unsigned char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
158 unsigned char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
191 unsigned char elems[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
/Linux-v5.4/net/bridge/netfilter/
Debtables.c427 static int ebt_verify_pointers(const struct ebt_replace *repl, in ebt_verify_pointers()
967 static int do_replace_finish(struct net *net, struct ebt_replace *repl, in do_replace_finish()
1077 struct ebt_replace tmp; in do_replace()
1297 struct ebt_replace hlp; in update_counters()
1417 struct ebt_replace tmp; in copy_everything_to_user()
1438 if (*len != sizeof(struct ebt_replace) + entries_size + in copy_everything_to_user()
1483 struct ebt_replace tmp; in do_ebt_get_ctl()
1502 if (*len != sizeof(struct ebt_replace)) { in do_ebt_get_ctl()
2167 static int compat_copy_ebt_replace_from_user(struct ebt_replace *repl, in compat_copy_ebt_replace_from_user()
2191 memcpy(repl, &tmp, offsetof(struct ebt_replace, hook_entry)); in compat_copy_ebt_replace_from_user()
[all …]