Home
last modified time | relevance | path

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

/linux/include/linux/netfilter_ipv4/
H A Dip_tables.h72 struct compat_ipt_entry { struct
84 compat_ipt_get_target(struct compat_ipt_entry *e) in compat_ipt_get_target() argument
/linux/net/ipv4/netfilter/
H A Dip_tables.c896 off = sizeof(struct ipt_entry) - sizeof(struct compat_ipt_entry); in compat_calc_entry()
1212 struct compat_ipt_entry entries[];
1221 struct compat_ipt_entry __user *ce; in compat_copy_entry_to_user()
1229 if (copy_to_user(ce, e, offsetof(struct compat_ipt_entry, counters)) || in compat_copy_entry_to_user()
1233 *dstptr += sizeof(struct compat_ipt_entry); in compat_copy_entry_to_user()
1234 *size -= sizeof(struct ipt_entry) - sizeof(struct compat_ipt_entry); in compat_copy_entry_to_user()
1270 static void compat_release_entry(struct compat_ipt_entry *e) in compat_find_calc_match()
1283 check_compat_entry_size_and_hooks(struct compat_ipt_entry *e, in compat_release_entry()
1296 if ((unsigned long)e % __alignof__(struct compat_ipt_entry) != 0 || in check_compat_entry_size_and_hooks()
1297 (unsigned char *)e + sizeof(struct compat_ipt_entry) > in check_compat_entry_size_and_hooks()
[all...]