• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/bridge/netfilter/

Lines Matching defs:entries

213 	base = private->entries;
432 struct ebt_entry *e = (void *)newinfo->entries + offset;
441 repl->entries + offset)
503 /* this checks if the previous chain has as many entries
506 BUGPRINT("nentries does not equal the nr of entries "
555 * entries is a jump to the beginning of a new chain.
830 /* do the parsing of the table/chains/entries/matches/watchers/targets, heh */
845 if (newinfo->hook_entry[i] != (struct ebt_entries *)newinfo->entries) {
862 i = 0; /* holds the expected nr. of entries for the chain */
863 j = 0; /* holds the up to now counted entries for the chain */
864 k = 0; /* holds the total nr. of entries, should equal
867 ret = EBT_ENTRY_ITERATE(newinfo->entries, newinfo->entries_size,
875 BUGPRINT("nentries does not equal the nr of entries in the "
909 EBT_ENTRY_ITERATE(newinfo->entries, newinfo->entries_size,
923 cl_s, udc_cnt, i, newinfo->entries)) {
929 - the nr of entries in each chain is right
940 ret = EBT_ENTRY_ITERATE(newinfo->entries, newinfo->entries_size,
943 EBT_ENTRY_ITERATE(newinfo->entries, newinfo->entries_size,
1047 EBT_ENTRY_ITERATE(table->entries, table->entries_size,
1050 vfree(table->entries);
1064 EBT_ENTRY_ITERATE(newinfo->entries, newinfo->entries_size,
1112 newinfo->entries = vmalloc(tmp.entries_size);
1113 if (!newinfo->entries) {
1118 newinfo->entries, tmp.entries, tmp.entries_size) != 0) {
1119 BUGPRINT("Couldn't copy entries from userspace\n");
1128 vfree(newinfo->entries);
1144 repl->entries == 0 || repl->entries_size == 0 ||
1167 memcpy(p, repl->entries, repl->entries_size);
1168 newinfo->entries = p;
1176 /* fill in newinfo and parse the entries */
1183 ((char *)repl->hook_entry[i] - repl->entries);
1226 vfree(newinfo->entries);
1246 EBT_ENTRY_ITERATE(table->private->entries, table->private->entries_size,
1250 vfree(table->private->entries);
1407 char *entries;
1412 entries = t->private->entries;
1417 entries = t->table->entries;
1443 if (copy_to_user(tmp.entries, entries, entries_size)) {
1444 BUGPRINT("Couldn't copy entries to userspace\n");
1448 return EBT_ENTRY_ITERATE(entries, entries_size,
1449 ebt_make_names, entries, tmp.entries);
1542 compat_uptr_t entries;
1757 const void *entries = info->entries;
1761 return EBT_ENTRY_ITERATE(entries, size, compat_calc_entry, info,
1762 entries, newinfo);
1779 tinfo.entries = t->private->entries;
1784 tinfo.entries = t->table->entries;
1816 pos = compat_ptr(tmp.entries);
1817 return EBT_ENTRY_ITERATE(tinfo.entries, tinfo.entries_size,
2188 repl->entries = compat_ptr(tmp.entries);
2219 newinfo->entries = vmalloc(tmp.entries_size);
2220 if (!newinfo->entries) {
2225 newinfo->entries, tmp.entries, tmp.entries_size) != 0) {
2230 entries_tmp = newinfo->entries;
2243 newinfo->entries = vmalloc(size64);
2244 if (!newinfo->entries) {
2251 state.buf_kern_start = newinfo->entries;
2265 delta = usrptr - tmp.entries;
2278 vfree(newinfo->entries);