Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/netfilter_ipv4/
Dip_tables.h73 struct compat_ipt_entry { struct
85 compat_ipt_get_target(struct compat_ipt_entry *e) in compat_ipt_get_target() argument
/Linux-v6.6/net/ipv4/netfilter/
Dip_tables.c898 off = sizeof(struct ipt_entry) - sizeof(struct compat_ipt_entry); in compat_calc_entry()
1210 struct compat_ipt_entry entries[];
1219 struct compat_ipt_entry __user *ce; in compat_copy_entry_to_user()
1232 *dstptr += sizeof(struct compat_ipt_entry); in compat_copy_entry_to_user()
1233 *size -= sizeof(struct ipt_entry) - sizeof(struct compat_ipt_entry); in compat_copy_entry_to_user()
1269 static void compat_release_entry(struct compat_ipt_entry *e) in compat_release_entry()
1282 check_compat_entry_size_and_hooks(struct compat_ipt_entry *e, in check_compat_entry_size_and_hooks()
1295 if ((unsigned long)e % __alignof__(struct compat_ipt_entry) != 0 || in check_compat_entry_size_and_hooks()
1296 (unsigned char *)e + sizeof(struct compat_ipt_entry) >= limit || in check_compat_entry_size_and_hooks()
1300 if (e->next_offset < sizeof(struct compat_ipt_entry) + in check_compat_entry_size_and_hooks()
[all …]