Home
last modified time | relevance | path

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

/Linux-v6.6/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.c1390 const struct compat_ipt_replace *compatr) in translate_compat_table() argument
1402 size = compatr->size; in translate_compat_table()
1403 info->number = compatr->num_entries; in translate_compat_table()
1407 ret = xt_compat_init_offsets(AF_INET, compatr->num_entries); in translate_compat_table()
1411 xt_entry_foreach(iter0, entry0, compatr->size) { in translate_compat_table()
1414 entry0 + compatr->size); in translate_compat_table()
1421 if (j != compatr->num_entries) in translate_compat_table()
1431 newinfo->number = compatr->num_entries; in translate_compat_table()
1433 newinfo->hook_entry[i] = compatr->hook_entry[i]; in translate_compat_table()
1434 newinfo->underflow[i] = compatr->underflow[i]; in translate_compat_table()
[all …]
/Linux-v6.6/net/ipv6/netfilter/
Dip6_tables.c1405 const struct compat_ip6t_replace *compatr) in translate_compat_table() argument
1417 size = compatr->size; in translate_compat_table()
1418 info->number = compatr->num_entries; in translate_compat_table()
1422 ret = xt_compat_init_offsets(AF_INET6, compatr->num_entries); in translate_compat_table()
1426 xt_entry_foreach(iter0, entry0, compatr->size) { in translate_compat_table()
1429 entry0 + compatr->size); in translate_compat_table()
1436 if (j != compatr->num_entries) in translate_compat_table()
1446 newinfo->number = compatr->num_entries; in translate_compat_table()
1448 newinfo->hook_entry[i] = compatr->hook_entry[i]; in translate_compat_table()
1449 newinfo->underflow[i] = compatr->underflow[i]; in translate_compat_table()
[all …]