• 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:hook_entry

208 	chaininfo = private->hook_entry[hook];
209 nentries = private->hook_entry[hook]->nentries;
210 point = (struct ebt_entry *)(private->hook_entry[hook]->data);
211 counter_base = cb_base + private->hook_entry[hook]->counter_offset;
425 newinfo->hook_entry[i] = NULL;
440 if ((char __user *)repl->hook_entry[i] ==
454 newinfo->hook_entry[i] = (struct ebt_entries *)e;
475 if (!newinfo->hook_entry[i] &&
497 if ((void *)e == (void *)newinfo->hook_entry[i])
567 if (newinfo->hook_entry[i] == (struct ebt_entries *)e)
676 if (!newinfo->hook_entry[i])
678 if ((char *)newinfo->hook_entry[i] < (char *)e)
839 while (i < NF_BR_NUMHOOKS && !newinfo->hook_entry[i])
845 if (newinfo->hook_entry[i] != (struct ebt_entries *)newinfo->entries) {
852 if (!newinfo->hook_entry[j])
854 if (newinfo->hook_entry[j] <= newinfo->hook_entry[i]) {
921 if (newinfo->hook_entry[i])
922 if (check_chainloops(newinfo->hook_entry[i],
1180 newinfo->hook_entry[i] = NULL;
1182 newinfo->hook_entry[i] = p +
1183 ((char *)repl->hook_entry[i] - repl->entries);
1537 compat_uptr_t hook_entry[NF_BR_NUMHOOKS];
1739 const void *hookptr = info->hook_entry[i];
1740 if (info->hook_entry[i] &&
1742 newinfo->hook_entry[i] -= off;
1744 newinfo->hook_entry[i] + off,
1745 newinfo->hook_entry[i]);
2180 memcpy(repl, &tmp, offsetof(struct ebt_replace, hook_entry));
2182 /* starting with hook_entry, 32 vs. 64 bit structures are different */
2184 repl->hook_entry[i] = compat_ptr(tmp.hook_entry[i]);
2262 if (tmp.hook_entry[i]) {
2264 usrptr = (char __user *) tmp.hook_entry[i];
2267 tmp.hook_entry[i] = (struct ebt_entries __user *)usrptr;