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

/illumos-gate/usr/src/common/net/patricia/
H A Dradix.c94 static int max_keylen = MAX_KEYLEN; variable
106 * Work area -- the following point to 2 buffers of size max_keylen,
572 if ((mlen = LEN(netmask)) > max_keylen)
573 mlen = max_keylen;
601 R_Zalloc(x, radix_node_cache, max_keylen + 2 * sizeof (*x));
1233 max_keylen + 2 * sizeof (struct radix_node),
1236 R_ZallocSleep(rn_zeros, char *, 2 * max_keylen);
1239 bzero(rn_zeros, 2 * max_keylen);
1240 rn_ones = cp = rn_zeros + max_keylen;
1241 cplim = rn_ones + max_keylen;
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dradix.c49 static const size_t max_keylen = sizeof (struct sockaddr_in); variable
471 x = rtmalloc(max_keylen + 2*sizeof (*x), "rn_addmask");
473 (void) memset(x, 0, max_keylen + 2 * sizeof (*x));
986 if (max_keylen == 0) {
987 logbad(1, "radix functions require max_keylen be set");
990 rn_zeros = rtmalloc(3 * max_keylen, "rn_init");
991 (void) memset(rn_zeros, 0, 3 * max_keylen);
992 rn_ones = cp = rn_zeros + max_keylen;
993 addmask_key = cplim = rn_ones + max_keylen;
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dradix_ipf.h189 # define max_keylen ipf_maxkeylen macro
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeysUtil.c549 soft_key_derive_check_length(soft_object_t *secret_key, CK_ULONG max_keylen) argument
555 OBJ_SEC_VALUE_LEN(secret_key) = max_keylen;
557 } else if (OBJ_SEC_VALUE_LEN(secret_key) > max_keylen) {
565 (OBJ_SEC_VALUE_LEN(secret_key) > max_keylen)) {

Completed in 66 milliseconds