Home
last modified time | relevance | path

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

/linux-5.19.10/net/ipv4/netfilter/
Darp_tables.c1158 const struct compat_arpt_replace *compatr) in translate_compat_table() argument
1170 size = compatr->size; in translate_compat_table()
1171 info->number = compatr->num_entries; in translate_compat_table()
1175 ret = xt_compat_init_offsets(NFPROTO_ARP, compatr->num_entries); in translate_compat_table()
1179 xt_entry_foreach(iter0, entry0, compatr->size) { in translate_compat_table()
1182 entry0 + compatr->size); in translate_compat_table()
1189 if (j != compatr->num_entries) in translate_compat_table()
1199 newinfo->number = compatr->num_entries; in translate_compat_table()
1201 newinfo->hook_entry[i] = compatr->hook_entry[i]; in translate_compat_table()
1202 newinfo->underflow[i] = compatr->underflow[i]; in translate_compat_table()
[all …]
Dip_tables.c1393 const struct compat_ipt_replace *compatr) in translate_compat_table() argument
1405 size = compatr->size; in translate_compat_table()
1406 info->number = compatr->num_entries; in translate_compat_table()
1410 ret = xt_compat_init_offsets(AF_INET, compatr->num_entries); in translate_compat_table()
1414 xt_entry_foreach(iter0, entry0, compatr->size) { in translate_compat_table()
1417 entry0 + compatr->size); in translate_compat_table()
1424 if (j != compatr->num_entries) in translate_compat_table()
1434 newinfo->number = compatr->num_entries; in translate_compat_table()
1436 newinfo->hook_entry[i] = compatr->hook_entry[i]; in translate_compat_table()
1437 newinfo->underflow[i] = compatr->underflow[i]; in translate_compat_table()
[all …]
/linux-5.19.10/net/ipv6/netfilter/
Dip6_tables.c1408 const struct compat_ip6t_replace *compatr) in translate_compat_table() argument
1420 size = compatr->size; in translate_compat_table()
1421 info->number = compatr->num_entries; in translate_compat_table()
1425 ret = xt_compat_init_offsets(AF_INET6, compatr->num_entries); in translate_compat_table()
1429 xt_entry_foreach(iter0, entry0, compatr->size) { in translate_compat_table()
1432 entry0 + compatr->size); in translate_compat_table()
1439 if (j != compatr->num_entries) in translate_compat_table()
1449 newinfo->number = compatr->num_entries; in translate_compat_table()
1451 newinfo->hook_entry[i] = compatr->hook_entry[i]; in translate_compat_table()
1452 newinfo->underflow[i] = compatr->underflow[i]; in translate_compat_table()
[all …]