Searched refs:oldopts (Results 1 – 7 of 7) sorted by relevance
/external/iproute2/tc/ |
D | m_xt_old.c | 93 merge_options(struct option *oldopts, const struct option *newopts, in merge_options() argument 99 for (num_old = 0; oldopts[num_old].name; num_old++); in merge_options() 105 memcpy(merge, oldopts, num_old * sizeof(struct option)); in merge_options()
|
D | m_ipt.c | 107 merge_options(struct option *oldopts, const struct option *newopts, in merge_options() argument 113 for (num_old = 0; oldopts[num_old].name; num_old++); in merge_options() 119 memcpy(merge, oldopts, num_old * sizeof(struct option)); in merge_options()
|
/external/iptables/libxtables/ |
D | xtoptions.c | 74 xtables_options_xfrm(struct option *orig_opts, struct option *oldopts, in xtables_options_xfrm() argument 81 return oldopts; in xtables_options_xfrm() 84 if (oldopts != NULL) in xtables_options_xfrm() 85 for (num_old = 0; oldopts[num_old].name != NULL; ++num_old) in xtables_options_xfrm() 94 if (oldopts != NULL) { in xtables_options_xfrm() 95 oldopts += num_orig; in xtables_options_xfrm() 119 if (oldopts != NULL) { in xtables_options_xfrm() 120 memcpy(mp, oldopts, sizeof(*mp) * num_old); in xtables_options_xfrm()
|
D | xtables.c | 104 struct option *oldopts, in xtables_merge_options() argument 112 return oldopts; in xtables_merge_options() 115 if (oldopts != NULL) in xtables_merge_options() 116 for (num_old = 0; oldopts[num_old].name; num_old++) ; in xtables_merge_options() 123 if (oldopts != NULL) { in xtables_merge_options() 124 oldopts += num_oold; in xtables_merge_options() 145 if (oldopts != NULL) { in xtables_merge_options() 146 memcpy(mp, oldopts, sizeof(*mp) * num_old); in xtables_merge_options()
|
/external/iptables/iptables/ |
D | xtables-eb.c | 317 static struct option *merge_options(struct option *oldopts, in merge_options() argument 324 if (!newopts || !oldopts || !options_offset) in merge_options() 325 return oldopts; in merge_options() 326 for (num_old = 0; oldopts[num_old].name; num_old++); in merge_options() 335 memcpy(merge, oldopts, num_old * sizeof(struct option)); in merge_options() 342 if (oldopts != ebt_original_options) in merge_options() 343 free(oldopts); in merge_options()
|
/external/iproute2/include/ |
D | xtables.h | 428 struct option *oldopts, const struct option *newopts,
|
/external/iptables/include/ |
D | xtables.h | 461 struct option *oldopts, const struct option *newopts,
|