Lines Matching refs:ebt_entries
189 struct ebt_entries *chaininfo;
285 chaininfo = (struct ebt_entries *) (base + verdict);
454 newinfo->hook_entry[i] = (struct ebt_entries *)e;
455 if (left < sizeof(struct ebt_entries))
457 offset += sizeof(struct ebt_entries);
510 if (((struct ebt_entries *)e)->policy != EBT_DROP &&
511 ((struct ebt_entries *)e)->policy != EBT_ACCEPT) {
514 ((struct ebt_entries *)e)->policy != EBT_RETURN) {
521 if (((struct ebt_entries *)e)->counter_offset != *totalcnt) {
525 *n = ((struct ebt_entries *)e)->nentries;
567 if (newinfo->hook_entry[i] == (struct ebt_entries *)e)
574 udc[*n].cs.chaininfo = (struct ebt_entries *)e;
658 /* don't mess with the struct ebt_entries */
760 static int check_chainloops(const struct ebt_entries *chain, struct ebt_cl_stack *cl_s,
795 struct ebt_entries *hlp2 =
796 (struct ebt_entries *)(base + verdict);
845 if (newinfo->hook_entry[i] != (struct ebt_entries *)newinfo->entries) {
1649 if (*size < sizeof(struct ebt_entries))
1651 if (copy_to_user(*dstptr, e, sizeof(struct ebt_entries)))
1654 *dstptr += sizeof(struct ebt_entries);
1655 *size -= sizeof(struct ebt_entries);
2066 if (*total < sizeof(struct ebt_entries))
2070 *total -= sizeof(struct ebt_entries);
2071 return ebt_buf_add(state, entry, sizeof(struct ebt_entries));
2267 tmp.hook_entry[i] = (struct ebt_entries __user *)usrptr;