Home
last modified time | relevance | path

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

/net/ipv4/netfilter/
Darp_tables.c1162 const struct compat_arpt_replace *compatr) in translate_compat_table() argument
1174 size = compatr->size; in translate_compat_table()
1175 info->number = compatr->num_entries; in translate_compat_table()
1179 ret = xt_compat_init_offsets(NFPROTO_ARP, compatr->num_entries); in translate_compat_table()
1183 xt_entry_foreach(iter0, entry0, compatr->size) { in translate_compat_table()
1186 entry0 + compatr->size); in translate_compat_table()
1193 if (j != compatr->num_entries) in translate_compat_table()
1203 newinfo->number = compatr->num_entries; in translate_compat_table()
1205 newinfo->hook_entry[i] = compatr->hook_entry[i]; in translate_compat_table()
1206 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()
1435 newinfo->number = compatr->num_entries; in translate_compat_table()
1437 newinfo->hook_entry[i] = compatr->hook_entry[i]; in translate_compat_table()
1438 newinfo->underflow[i] = compatr->underflow[i]; in translate_compat_table()
[all …]
/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()
1450 newinfo->number = compatr->num_entries; in translate_compat_table()
1452 newinfo->hook_entry[i] = compatr->hook_entry[i]; in translate_compat_table()
1453 newinfo->underflow[i] = compatr->underflow[i]; in translate_compat_table()
[all …]