Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/netfilter_arp/
Darp_tables.h63 struct compat_arpt_entry { struct
73 compat_arpt_get_target(struct compat_arpt_entry *e) in compat_arpt_get_target() argument
/Linux-v6.6/net/ipv4/netfilter/
Darp_tables.c744 off = sizeof(struct arpt_entry) - sizeof(struct compat_arpt_entry); in compat_calc_entry()
1058 struct compat_arpt_entry entries[];
1061 static inline void compat_release_entry(struct compat_arpt_entry *e) in compat_release_entry()
1070 check_compat_entry_size_and_hooks(struct compat_arpt_entry *e, in check_compat_entry_size_and_hooks()
1081 if ((unsigned long)e % __alignof__(struct compat_arpt_entry) != 0 || in check_compat_entry_size_and_hooks()
1082 (unsigned char *)e + sizeof(struct compat_arpt_entry) >= limit || in check_compat_entry_size_and_hooks()
1086 if (e->next_offset < sizeof(struct compat_arpt_entry) + in check_compat_entry_size_and_hooks()
1098 off = sizeof(struct arpt_entry) - sizeof(struct compat_arpt_entry); in check_compat_entry_size_and_hooks()
1125 compat_copy_entry_from_user(struct compat_arpt_entry *e, void **dstptr, in compat_copy_entry_from_user()
1140 *size += sizeof(struct arpt_entry) - sizeof(struct compat_arpt_entry); in compat_copy_entry_from_user()
[all …]