Searched defs:entryindex (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dipaddrsel.c151 uint_t lineno = 0, entryindex = 0; local
167 if (entryindex == IPV6DAS_MAXENTRIES) {
262 tmp_policy[entryindex].ip6_asp_prefix = prefix;
263 tmp_policy[entryindex].ip6_asp_mask = mask;
264 tmp_policy[entryindex].ip6_asp_precedence = precedence;
277 (void) strncpy(tmp_policy[entryindex].ip6_asp_label, label,
301 entryindex++;
313 if ((*new_policy = malloc(entryindex * sizeof (ip6_asp_t))) == NULL) {
319 (void) memcpy(*new_policy, tmp_policy, entryindex * sizeof (ip6_asp_t));
320 retval = entryindex;
[all...]

Completed in 138 milliseconds