Searched refs:repl (Results 1 - 25 of 29) sorted by relevance

12

/linux-master/net/netfilter/
H A Dxt_repldata.h6 * they serve as the hanging-off data accessed through repl.data[].
11 * struct type##_replace repl;
22 struct type##_replace repl; \
32 strscpy_pad(tbl->repl.name, info->name, sizeof(tbl->repl.name)); \
34 tbl->repl.valid_hooks = hook_mask; \
35 tbl->repl.num_entries = nhooks + 1; \
36 tbl->repl.size = nhooks * sizeof(struct type##_standard) + \
41 tbl->repl.hook_entry[hooknum] = bytes; \
42 tbl->repl
[all...]
H A Dnf_conntrack_sane.c74 struct sane_reply_net_start repl; member in union:__anon39
130 reply = skb_header_pointer(skb, dataoff, datalen, &buf.repl);
/linux-master/net/ipv4/netfilter/
H A Darptable_filter.c33 struct arpt_replace *repl; local
36 repl = arpt_alloc_initial_table(&packet_filter);
37 if (repl == NULL)
39 err = arpt_register_table(net, &packet_filter, repl, arpfilter_ops);
40 kfree(repl);
H A Diptable_security.c40 struct ipt_replace *repl; local
43 repl = ipt_alloc_initial_table(&security_table);
44 if (repl == NULL)
46 ret = ipt_register_table(net, &security_table, repl, sectbl_ops);
47 kfree(repl);
H A Diptable_filter.c39 struct ipt_replace *repl; local
42 repl = ipt_alloc_initial_table(&packet_filter);
43 if (repl == NULL)
46 ((struct ipt_standard *)repl->entries)[1].target.verdict =
49 err = ipt_register_table(net, &packet_filter, repl, filter_ops);
50 kfree(repl);
H A Diptable_raw.c39 struct ipt_replace *repl; local
46 repl = ipt_alloc_initial_table(table);
47 if (repl == NULL)
49 ret = ipt_register_table(net, table, repl, rawtable_ops);
50 kfree(repl);
H A Diptable_mangle.c86 struct ipt_replace *repl; local
89 repl = ipt_alloc_initial_table(&packet_mangler);
90 if (repl == NULL)
92 ret = ipt_register_table(net, &packet_mangler, repl, mangle_ops);
93 kfree(repl);
H A Diptable_nat.c108 struct ipt_replace *repl; local
111 repl = ipt_alloc_initial_table(&nf_nat_ipv4_table);
112 if (repl == NULL)
115 ret = ipt_register_table(net, &nf_nat_ipv4_table, repl, NULL);
117 kfree(repl);
125 kfree(repl);
H A Dip_tables.c661 const struct ipt_replace *repl)
669 newinfo->size = repl->size;
670 newinfo->number = repl->num_entries;
685 entry0 + repl->size,
686 repl->hook_entry,
687 repl->underflow,
688 repl->valid_hooks);
691 if (i < repl->num_entries)
700 if (i != repl->num_entries)
703 ret = xt_check_table_hooks(newinfo, repl
660 translate_table(struct net *net, struct xt_table_info *newinfo, void *entry0, const struct ipt_replace *repl) argument
1400 struct ipt_replace repl; local
1723 ipt_register_table(struct net *net, const struct xt_table *table, const struct ipt_replace *repl, const struct nf_hook_ops *template_ops) argument
[all...]
H A Darp_tables.c522 const struct arpt_replace *repl)
530 newinfo->size = repl->size;
531 newinfo->number = repl->num_entries;
547 entry0 + repl->size,
548 repl->hook_entry,
549 repl->underflow,
550 repl->valid_hooks);
553 if (i < repl->num_entries)
562 if (i != repl->num_entries)
565 ret = xt_check_table_hooks(newinfo, repl
519 translate_table(struct net *net, struct xt_table_info *newinfo, void *entry0, const struct arpt_replace *repl) argument
1168 struct arpt_replace repl; local
1508 arpt_register_table(struct net *net, const struct xt_table *table, const struct arpt_replace *repl, const struct nf_hook_ops *template_ops) argument
[all...]
/linux-master/net/ipv6/netfilter/
H A Dip6table_security.c39 struct ip6t_replace *repl; local
42 repl = ip6t_alloc_initial_table(&security_table);
43 if (repl == NULL)
45 ret = ip6t_register_table(net, &security_table, repl, sectbl_ops);
46 kfree(repl);
H A Dip6table_filter.c38 struct ip6t_replace *repl; local
41 repl = ip6t_alloc_initial_table(&packet_filter);
42 if (repl == NULL)
45 ((struct ip6t_standard *)repl->entries)[1].target.verdict =
48 err = ip6t_register_table(net, &packet_filter, repl, filter_ops);
49 kfree(repl);
H A Dip6table_raw.c38 struct ip6t_replace *repl; local
45 repl = ip6t_alloc_initial_table(table);
46 if (repl == NULL)
48 ret = ip6t_register_table(net, table, repl, rawtable_ops);
49 kfree(repl);
H A Dip6table_mangle.c79 struct ip6t_replace *repl; local
82 repl = ip6t_alloc_initial_table(&packet_mangler);
83 if (repl == NULL)
85 ret = ip6t_register_table(net, &packet_mangler, repl, mangle_ops);
86 kfree(repl);
H A Dip6table_nat.c110 struct ip6t_replace *repl; local
113 repl = ip6t_alloc_initial_table(&nf_nat_ipv6_table);
114 if (repl == NULL)
116 ret = ip6t_register_table(net, &nf_nat_ipv6_table, repl,
119 kfree(repl);
127 kfree(repl);
H A Dip6_tables.c678 const struct ip6t_replace *repl)
686 newinfo->size = repl->size;
687 newinfo->number = repl->num_entries;
702 entry0 + repl->size,
703 repl->hook_entry,
704 repl->underflow,
705 repl->valid_hooks);
708 if (i < repl->num_entries)
717 if (i != repl->num_entries)
720 ret = xt_check_table_hooks(newinfo, repl
677 translate_table(struct net *net, struct xt_table_info *newinfo, void *entry0, const struct ip6t_replace *repl) argument
1415 struct ip6t_replace repl; local
1732 ip6t_register_table(struct net *net, const struct xt_table *table, const struct ip6t_replace *repl, const struct nf_hook_ops *template_ops) argument
[all...]
/linux-master/fs/xfs/scrub/
H A Dcow_repair.c322 struct xrep_cow_extent *repl)
349 repl->fsbno = args.fsbno;
350 repl->len = args.len;
395 * Given a CoW fork mapping @got and a replacement mapping @repl, remap the
403 const struct xrep_cow_extent *repl)
407 ASSERT(repl->len > 0);
410 trace_xrep_cow_replace_mapping(ip, got, repl->fsbno, repl->len);
412 if (got->br_blockcount == repl->len) {
417 new.br_startblock = repl
319 xrep_cow_alloc( struct xfs_scrub *sc, xfs_extlen_t maxlen, struct xrep_cow_extent *repl) argument
399 xrep_cow_replace_mapping( struct xfs_inode *ip, struct xfs_iext_cursor *icur, const struct xfs_bmbt_irec *got, const struct xrep_cow_extent *repl) argument
448 struct xrep_cow_extent repl; local
[all...]
/linux-master/include/linux/netfilter_ipv6/
H A Dip6_tables.h28 const struct ip6t_replace *repl,
/linux-master/net/bridge/netfilter/
H A Debtables.c466 static int ebt_verify_pointers(const struct ebt_replace *repl, argument
469 unsigned int limit = repl->entries_size;
470 unsigned int valid_hooks = repl->valid_hooks;
477 newinfo->entries_size = repl->entries_size;
478 newinfo->nentries = repl->nentries;
490 if ((char __user *)repl->hook_entry[i] ==
491 repl->entries + offset)
1008 static int do_replace_finish(struct net *net, struct ebt_replace *repl, argument
1020 if (repl->num_counters) {
1021 unsigned long size = repl
1189 struct ebt_replace_kernel *repl; local
1854 struct compat_ebt_replace repl, tmp; local
2216 compat_copy_ebt_replace_from_user(struct ebt_replace *repl, sockptr_t arg, unsigned int len) argument
[all...]
/linux-master/Documentation/sphinx/
H A Dautomarkup.py82 repl = [ ]
113 repl.append(nodes.Text(t[done:m.start()]))
119 repl.append(markup_func[m.re](docname, app, m))
123 repl.append(nodes.Text(t[done:]))
124 return repl
/linux-master/include/linux/netfilter_ipv4/
H A Dip_tables.h26 const struct ipt_replace *repl,
/linux-master/include/linux/netfilter_arp/
H A Darp_tables.h53 const struct arpt_replace *repl,
/linux-master/net/sctp/
H A Dsm_statefuns.c323 struct sctp_chunk *chunk = arg, *repl, *err_chunk; local
440 repl = sctp_make_init_ack(new_asoc, chunk, GFP_ATOMIC, len);
441 if (!repl)
462 sctp_addto_chunk(repl, len, unk_param);
468 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl));
710 struct sctp_chunk *repl; local
816 repl = sctp_make_cookie_ack(new_asoc, chunk);
817 if (!repl)
870 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl));
891 sctp_chunk_free(repl);
1518 struct sctp_chunk *chunk = arg, *repl, *err_chunk; local
1865 struct sctp_chunk *repl; local
1986 struct sctp_chunk *repl; local
2093 struct sctp_chunk *repl; local
4971 struct sctp_chunk *repl; local
5906 struct sctp_chunk *repl = NULL; local
5971 struct sctp_chunk *repl = NULL; local
[all...]
/linux-master/drivers/md/
H A Draid10.c355 int repl = 0; local
361 repl = 1;
371 *replp = repl;
458 int slot, repl; local
465 dev = find_bio_disk(conf, r10_bio, bio, &slot, &repl);
467 if (repl)
471 repl = 0;
478 if (repl)
535 if (repl)
1557 int slot, repl; local
2267 int repl; local
5026 int repl; local
[all...]
/linux-master/include/net/netfilter/
H A Dnf_conntrack.h258 const struct nf_conntrack_tuple *repl,

Completed in 223 milliseconds

12