Searched refs:oldopts (Results 1 - 9 of 9) sorted by relevance

/external/iproute2/tc/
H A Dm_xt_old.c93 merge_options(struct option *oldopts, const struct option *newopts, argument
99 for (num_old = 0; oldopts[num_old].name; num_old++);
105 memcpy(merge, oldopts, num_old * sizeof(struct option));
H A Dm_ipt.c107 merge_options(struct option *oldopts, const struct option *newopts, argument
113 for (num_old = 0; oldopts[num_old].name; num_old++);
119 memcpy(merge, oldopts, num_old * sizeof(struct option));
/external/iptables/iptables/
H A Dxtables-eb.c349 static struct option *merge_options(struct option *oldopts, argument
356 if (!newopts || !oldopts || !options_offset)
357 return oldopts;
358 for (num_old = 0; oldopts[num_old].name; num_old++);
367 memcpy(merge, oldopts, num_old * sizeof(struct option));
374 if (oldopts != ebt_original_options)
375 free(oldopts);
/external/iptables/libxtables/
H A Dxtoptions.c74 xtables_options_xfrm(struct option *orig_opts, struct option *oldopts, argument
81 return oldopts;
84 if (oldopts != NULL)
85 for (num_old = 0; oldopts[num_old].name != NULL; ++num_old)
91 * Since @oldopts also has @orig_opts already (and does so at the
94 oldopts += num_orig;
117 memcpy(mp, oldopts, sizeof(*mp) * num_old);
H A Dxtables.c103 struct option *oldopts,
111 return oldopts;
114 if (oldopts != NULL)
115 for (num_old = 0; oldopts[num_old].name; num_old++) ;
119 * Since @oldopts also has @orig_opts already (and does so at the
122 oldopts += num_oold;
142 memcpy(mp, oldopts, sizeof(*mp) * num_old);
102 xtables_merge_options(struct option *orig_opts, struct option *oldopts, const struct option *newopts, unsigned int *option_offset) argument
/external/iproute2/include/
H A Dxtables.h428 struct option *oldopts, const struct option *newopts,
/external/iptables/include/
H A Dxtables.h461 struct option *oldopts, const struct option *newopts,
/external/dhcpcd-6.8.2/
H A Ddhcpcd.c1095 unsigned long long oldopts; local
1097 oldopts = ifp->options->options;
1100 dhcp_reboot_newopts(ifp, oldopts);
H A Ddhcp.c2329 dhcp_reboot_newopts(struct interface *ifp, unsigned long long oldopts) argument
2339 (oldopts & (DHCPCD_INFORM | DHCPCD_STATIC) &&

Completed in 3547 milliseconds