Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dradix.c441 static int last_zeroed = 0; in rn_addmask() local
459 if (m0 >= last_zeroed) in rn_addmask()
460 last_zeroed = mlen; in rn_addmask()
463 if (m0 < last_zeroed) in rn_addmask()
464 (void) memset(addmask_key + m0, 0, last_zeroed - m0); in rn_addmask()
465 *addmask_key = last_zeroed = mlen; in rn_addmask()
/titanic_41/usr/src/common/net/patricia/
H A Dradix.c569 int last_zeroed = 0; local
589 if (m0 >= last_zeroed)
590 last_zeroed = mlen;
593 if (m0 < last_zeroed)
594 bzero(addmask_key + m0, last_zeroed - m0);
595 *addmask_key = last_zeroed = mlen;