Home
last modified time | relevance | path

Searched refs:entry0 (Results 1 – 5 of 5) sorted by relevance

/net/ipv4/netfilter/
Darp_tables.c302 unsigned int valid_hooks, void *entry0, in mark_source_chains() argument
312 struct arpt_entry *e = entry0 + pos; in mark_source_chains()
351 e = entry0 + pos; in mark_source_chains()
356 e = entry0 + pos + size; in mark_source_chains()
377 e = entry0 + newpos; in mark_source_chains()
520 void *entry0, in translate_table() argument
544 xt_entry_foreach(iter, entry0, newinfo->size) { in translate_table()
545 ret = check_entry_size_and_hooks(iter, newinfo, entry0, in translate_table()
546 entry0 + repl->size, in translate_table()
553 offsets[i] = (void *)iter - entry0; in translate_table()
[all …]
Dip_tables.c369 unsigned int valid_hooks, void *entry0, in mark_source_chains() argument
378 struct ipt_entry *e = entry0 + pos; in mark_source_chains()
415 e = entry0 + pos; in mark_source_chains()
420 e = entry0 + pos + size; in mark_source_chains()
441 e = entry0 + newpos; in mark_source_chains()
661 translate_table(struct net *net, struct xt_table_info *newinfo, void *entry0, in translate_table() argument
684 xt_entry_foreach(iter, entry0, newinfo->size) { in translate_table()
685 ret = check_entry_size_and_hooks(iter, newinfo, entry0, in translate_table()
686 entry0 + repl->size, in translate_table()
693 offsets[i] = (void *)iter - entry0; in translate_table()
[all …]
/net/ipv6/netfilter/
Dip6_tables.c388 unsigned int valid_hooks, void *entry0, in mark_source_chains() argument
397 struct ip6t_entry *e = entry0 + pos; in mark_source_chains()
434 e = entry0 + pos; in mark_source_chains()
439 e = entry0 + pos + size; in mark_source_chains()
460 e = entry0 + newpos; in mark_source_chains()
679 translate_table(struct net *net, struct xt_table_info *newinfo, void *entry0, in translate_table() argument
702 xt_entry_foreach(iter, entry0, newinfo->size) { in translate_table()
703 ret = check_entry_size_and_hooks(iter, newinfo, entry0, in translate_table()
704 entry0 + repl->size, in translate_table()
711 offsets[i] = (void *)iter - entry0; in translate_table()
[all …]
/net/netfilter/
Dnf_flow_table_offload.c217 struct flow_action_entry *entry0 = flow_action_entry_next(flow_rule); in flow_offload_eth_src() local
246 flow_offload_mangle(entry0, FLOW_ACT_MANGLE_HDR_TYPE_ETH, 4, in flow_offload_eth_src()
264 struct flow_action_entry *entry0 = flow_action_entry_next(flow_rule); in flow_offload_eth_dst() local
304 flow_offload_mangle(entry0, FLOW_ACT_MANGLE_HDR_TYPE_ETH, 0, in flow_offload_eth_dst()
/net/xfrm/
Dxfrm_policy.c525 struct hlist_node *tmp, *entry0 = NULL; in xfrm_dst_hash_transfer() local
538 if (!entry0) { in xfrm_dst_hash_transfer()
546 hlist_add_behind_rcu(&pol->bydst, entry0); in xfrm_dst_hash_transfer()
548 entry0 = &pol->bydst; in xfrm_dst_hash_transfer()
551 entry0 = NULL; in xfrm_dst_hash_transfer()