Home
last modified time | relevance | path

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

/external/iptables/libxtables/
Dxtoptions.c77 unsigned int num_orig, num_old = 0, num_new, i; in xtables_options_xfrm() local
82 for (num_orig = 0; orig_opts[num_orig].name != NULL; ++num_orig) in xtables_options_xfrm()
94 oldopts += num_orig; in xtables_options_xfrm()
95 num_old -= num_orig; in xtables_options_xfrm()
97 merge = malloc(sizeof(*mp) * (num_orig + num_old + num_new + 1)); in xtables_options_xfrm()
102 memcpy(merge, orig_opts, sizeof(*mp) * num_orig); in xtables_options_xfrm()
103 mp = merge + num_orig; in xtables_options_xfrm()