Home
last modified time | relevance | path

Searched refs:compatr (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/net/ipv4/netfilter/
Darp_tables.c1153 const struct compat_arpt_replace *compatr) in translate_compat_table() argument
1165 size = compatr->size; in translate_compat_table()
1166 info->number = compatr->num_entries; in translate_compat_table()
1170 ret = xt_compat_init_offsets(NFPROTO_ARP, compatr->num_entries); in translate_compat_table()
1174 xt_entry_foreach(iter0, entry0, compatr->size) { in translate_compat_table()
1177 entry0 + compatr->size); in translate_compat_table()
1184 if (j != compatr->num_entries) in translate_compat_table()
1192 newinfo->number = compatr->num_entries; in translate_compat_table()
1194 newinfo->hook_entry[i] = compatr->hook_entry[i]; in translate_compat_table()
1195 newinfo->underflow[i] = compatr->underflow[i]; in translate_compat_table()
[all …]
Dip_tables.c1397 const struct compat_ipt_replace *compatr) in translate_compat_table() argument
1409 size = compatr->size; in translate_compat_table()
1410 info->number = compatr->num_entries; in translate_compat_table()
1414 ret = xt_compat_init_offsets(AF_INET, compatr->num_entries); in translate_compat_table()
1418 xt_entry_foreach(iter0, entry0, compatr->size) { in translate_compat_table()
1421 entry0 + compatr->size); in translate_compat_table()
1428 if (j != compatr->num_entries) in translate_compat_table()
1436 newinfo->number = compatr->num_entries; in translate_compat_table()
1438 newinfo->hook_entry[i] = compatr->hook_entry[i]; in translate_compat_table()
1439 newinfo->underflow[i] = compatr->underflow[i]; in translate_compat_table()
[all …]
/Linux-v4.19/net/ipv6/netfilter/
Dip6_tables.c1412 const struct compat_ip6t_replace *compatr) in translate_compat_table() argument
1424 size = compatr->size; in translate_compat_table()
1425 info->number = compatr->num_entries; in translate_compat_table()
1429 ret = xt_compat_init_offsets(AF_INET6, compatr->num_entries); in translate_compat_table()
1433 xt_entry_foreach(iter0, entry0, compatr->size) { in translate_compat_table()
1436 entry0 + compatr->size); in translate_compat_table()
1443 if (j != compatr->num_entries) in translate_compat_table()
1451 newinfo->number = compatr->num_entries; in translate_compat_table()
1453 newinfo->hook_entry[i] = compatr->hook_entry[i]; in translate_compat_table()
1454 newinfo->underflow[i] = compatr->underflow[i]; in translate_compat_table()
[all …]