Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/netfilter_ipv4/
Dip_tables.h75 struct compat_ipt_entry { struct
87 compat_ipt_get_target(struct compat_ipt_entry *e) in compat_ipt_get_target() argument
/Linux-v4.19/net/ipv4/netfilter/
Dip_tables.c902 off = sizeof(struct ipt_entry) - sizeof(struct compat_ipt_entry); in compat_calc_entry()
1217 struct compat_ipt_entry entries[0];
1226 struct compat_ipt_entry __user *ce; in compat_copy_entry_to_user()
1239 *dstptr += sizeof(struct compat_ipt_entry); in compat_copy_entry_to_user()
1240 *size -= sizeof(struct ipt_entry) - sizeof(struct compat_ipt_entry); in compat_copy_entry_to_user()
1276 static void compat_release_entry(struct compat_ipt_entry *e) in compat_release_entry()
1289 check_compat_entry_size_and_hooks(struct compat_ipt_entry *e, in check_compat_entry_size_and_hooks()
1302 if ((unsigned long)e % __alignof__(struct compat_ipt_entry) != 0 || in check_compat_entry_size_and_hooks()
1303 (unsigned char *)e + sizeof(struct compat_ipt_entry) >= limit || in check_compat_entry_size_and_hooks()
1307 if (e->next_offset < sizeof(struct compat_ipt_entry) + in check_compat_entry_size_and_hooks()
[all …]