Home
last modified time | relevance | path

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

/Linux-v5.4/net/ipv4/netfilter/
Darp_tables.c1154 const struct compat_arpt_replace *compatr) in translate_compat_table() argument
1166 size = compatr->size; in translate_compat_table()
1167 info->number = compatr->num_entries; in translate_compat_table()
1171 ret = xt_compat_init_offsets(NFPROTO_ARP, compatr->num_entries); in translate_compat_table()
1175 xt_entry_foreach(iter0, entry0, compatr->size) { in translate_compat_table()
1178 entry0 + compatr->size); in translate_compat_table()
1185 if (j != compatr->num_entries) in translate_compat_table()
1193 newinfo->number = compatr->num_entries; in translate_compat_table()
1195 newinfo->hook_entry[i] = compatr->hook_entry[i]; in translate_compat_table()
1196 newinfo->underflow[i] = compatr->underflow[i]; in translate_compat_table()
[all …]
Dip_tables.c1394 const struct compat_ipt_replace *compatr) in translate_compat_table() argument
1406 size = compatr->size; in translate_compat_table()
1407 info->number = compatr->num_entries; in translate_compat_table()
1411 ret = xt_compat_init_offsets(AF_INET, compatr->num_entries); in translate_compat_table()
1415 xt_entry_foreach(iter0, entry0, compatr->size) { in translate_compat_table()
1418 entry0 + compatr->size); in translate_compat_table()
1425 if (j != compatr->num_entries) in translate_compat_table()
1433 newinfo->number = compatr->num_entries; in translate_compat_table()
1435 newinfo->hook_entry[i] = compatr->hook_entry[i]; in translate_compat_table()
1436 newinfo->underflow[i] = compatr->underflow[i]; in translate_compat_table()
[all …]
/Linux-v5.4/net/ipv6/netfilter/
Dip6_tables.c1409 const struct compat_ip6t_replace *compatr) in translate_compat_table() argument
1421 size = compatr->size; in translate_compat_table()
1422 info->number = compatr->num_entries; in translate_compat_table()
1426 ret = xt_compat_init_offsets(AF_INET6, compatr->num_entries); in translate_compat_table()
1430 xt_entry_foreach(iter0, entry0, compatr->size) { in translate_compat_table()
1433 entry0 + compatr->size); in translate_compat_table()
1440 if (j != compatr->num_entries) in translate_compat_table()
1448 newinfo->number = compatr->num_entries; in translate_compat_table()
1450 newinfo->hook_entry[i] = compatr->hook_entry[i]; in translate_compat_table()
1451 newinfo->underflow[i] = compatr->underflow[i]; in translate_compat_table()
[all …]