Home
last modified time | relevance | path

Searched refs:newpos (Results 1 – 4 of 4) sorted by relevance

/net/ipv4/netfilter/
Darp_tables.c371 int newpos = t->verdict; in mark_source_chains() local
375 newpos >= 0) { in mark_source_chains()
377 if (!xt_find_jump_offset(offsets, newpos, in mark_source_chains()
380 e = entry0 + newpos; in mark_source_chains()
383 newpos = pos + e->next_offset; in mark_source_chains()
384 if (newpos >= newinfo->size) in mark_source_chains()
387 e = entry0 + newpos; in mark_source_chains()
389 pos = newpos; in mark_source_chains()
Dip_tables.c438 int newpos = t->verdict; in mark_source_chains() local
442 newpos >= 0) { in mark_source_chains()
444 if (!xt_find_jump_offset(offsets, newpos, in mark_source_chains()
447 e = entry0 + newpos; in mark_source_chains()
450 newpos = pos + e->next_offset; in mark_source_chains()
451 if (newpos >= newinfo->size) in mark_source_chains()
454 e = entry0 + newpos; in mark_source_chains()
456 pos = newpos; in mark_source_chains()
/net/ipv6/netfilter/
Dip6_tables.c456 int newpos = t->verdict; in mark_source_chains() local
460 newpos >= 0) { in mark_source_chains()
462 if (!xt_find_jump_offset(offsets, newpos, in mark_source_chains()
465 e = entry0 + newpos; in mark_source_chains()
468 newpos = pos + e->next_offset; in mark_source_chains()
469 if (newpos >= newinfo->size) in mark_source_chains()
472 e = entry0 + newpos; in mark_source_chains()
474 pos = newpos; in mark_source_chains()
/net/xfrm/
Dxfrm_policy.c577 struct hlist_node *newpos; in xfrm_hash_rebuild() local
626 newpos = NULL; in xfrm_hash_rebuild()
632 newpos = &pol->bydst; in xfrm_hash_rebuild()
636 if (newpos) in xfrm_hash_rebuild()
637 hlist_add_behind_rcu(&policy->bydst, newpos); in xfrm_hash_rebuild()
751 struct hlist_node *newpos; in xfrm_policy_insert() local
756 newpos = NULL; in xfrm_policy_insert()
772 newpos = &pol->bydst; in xfrm_policy_insert()
778 if (newpos) in xfrm_policy_insert()
779 hlist_add_behind_rcu(&policy->bydst, newpos); in xfrm_policy_insert()