Home
last modified time | relevance | path

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

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