Searched refs:compatr (Results 1 – 3 of 3) sorted by relevance
1157 const struct compat_arpt_replace *compatr) in translate_compat_table() argument1169 size = compatr->size; in translate_compat_table()1170 info->number = compatr->num_entries; in translate_compat_table()1174 ret = xt_compat_init_offsets(NFPROTO_ARP, compatr->num_entries); in translate_compat_table()1178 xt_entry_foreach(iter0, entry0, compatr->size) { in translate_compat_table()1181 entry0 + compatr->size); in translate_compat_table()1188 if (j != compatr->num_entries) in translate_compat_table()1196 newinfo->number = compatr->num_entries; in translate_compat_table()1198 newinfo->hook_entry[i] = compatr->hook_entry[i]; in translate_compat_table()1199 newinfo->underflow[i] = compatr->underflow[i]; in translate_compat_table()[all …]
1392 const struct compat_ipt_replace *compatr) in translate_compat_table() argument1404 size = compatr->size; in translate_compat_table()1405 info->number = compatr->num_entries; in translate_compat_table()1409 ret = xt_compat_init_offsets(AF_INET, compatr->num_entries); in translate_compat_table()1413 xt_entry_foreach(iter0, entry0, compatr->size) { in translate_compat_table()1416 entry0 + compatr->size); in translate_compat_table()1423 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 …]
1407 const struct compat_ip6t_replace *compatr) in translate_compat_table() argument1419 size = compatr->size; in translate_compat_table()1420 info->number = compatr->num_entries; in translate_compat_table()1424 ret = xt_compat_init_offsets(AF_INET6, compatr->num_entries); in translate_compat_table()1428 xt_entry_foreach(iter0, entry0, compatr->size) { in translate_compat_table()1431 entry0 + compatr->size); in translate_compat_table()1438 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 …]