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

/illumos-gate/usr/src/common/net/patricia/
H A Dradix.c570 char addmask_key[MAX_KEYLEN]; local
579 bcopy(rn_ones + 1, addmask_key + 1, skip - 1);
581 bcopy(netmask + skip, addmask_key + skip, mlen - skip);
585 for (cp = addmask_key + mlen; (cp > addmask_key) && cp[-1] == 0; )
587 mlen = cp - addmask_key;
594 bzero(addmask_key + m0, last_zeroed - m0);
595 *addmask_key = last_zeroed = mlen;
596 x = rn_search(addmask_key, rn_masktop);
597 if (bcmp(addmask_key,
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dradix.c52 static uint8_t *rn_zeros, *rn_ones, *addmask_key; variable
449 (void) memmove(addmask_key + 1, rn_ones + 1, skip - 1);
451 (void) memmove(addmask_key + skip, netmask + skip, mlen - skip);
455 for (cp = addmask_key + mlen; (cp > addmask_key) && cp[-1] == 0; )
457 mlen = cp - addmask_key;
464 (void) memset(addmask_key + m0, 0, last_zeroed - m0);
465 *addmask_key = last_zeroed = mlen;
466 x = rn_search(addmask_key, rn_masktop);
467 if (memcmp(addmask_key,
[all...]

Completed in 74 milliseconds