| /mirbsd/src/usr.sbin/httpd/src/modules/ssl/ |
| D | ssl_scache.c | 110 BOOL ssl_scache_store(server_rec *s, UCHAR *id, int idlen, time_t expiry, SSL_SESSION *sess) in ssl_scache_store() argument 116 rv = ssl_scache_dbm_store(s, id, idlen, expiry, sess); in ssl_scache_store() 118 rv = ssl_scache_shmht_store(s, id, idlen, expiry, sess); in ssl_scache_store() 120 rv = ssl_scache_shmcb_store(s, id, idlen, expiry, sess); in ssl_scache_store() 125 (int *)&rv, s, id, idlen, (int)expiry, sess); in ssl_scache_store() 130 SSL_SESSION *ssl_scache_retrieve(server_rec *s, UCHAR *id, int idlen) in ssl_scache_retrieve() argument 136 sess = ssl_scache_dbm_retrieve(s, id, idlen); in ssl_scache_retrieve() 138 sess = ssl_scache_shmht_retrieve(s, id, idlen); in ssl_scache_retrieve() 140 sess = ssl_scache_shmcb_retrieve(s, id, idlen); in ssl_scache_retrieve() 145 &sess, s, id, idlen); in ssl_scache_retrieve() [all …]
|
| D | ssl_scache_shmht.c | 169 BOOL ssl_scache_shmht_store(server_rec *s, UCHAR *id, int idlen, time_t expiry, SSL_SESSION *sess) in ssl_scache_shmht_store() argument 185 id, idlen, NULL, sizeof(time_t)+nData, in ssl_scache_shmht_store() 200 SSL_SESSION *ssl_scache_shmht_retrieve(server_rec *s, UCHAR *id, int idlen) in ssl_scache_shmht_retrieve() argument 217 id, idlen, &vp, &n) != TABLE_ERROR_NONE) { in ssl_scache_shmht_retrieve() 236 ssl_scache_shmht_remove(s, id, idlen); in ssl_scache_shmht_retrieve() 246 void ssl_scache_shmht_remove(server_rec *s, UCHAR *id, int idlen) in ssl_scache_shmht_remove() argument 252 table_delete(mc->tSessionCacheDataTable, id, idlen, NULL, NULL); in ssl_scache_shmht_remove()
|
| D | ssl_scache_shmcb.c | 424 BOOL ssl_scache_shmcb_store(server_rec *s, UCHAR *id, int idlen, in ssl_scache_shmcb_store() argument 434 if (!shmcb_store_session(s, shm_segment, id, idlen, pSession, timeout)) in ssl_scache_shmcb_store() 446 SSL_SESSION *ssl_scache_shmcb_retrieve(server_rec *s, UCHAR *id, int idlen) in ssl_scache_shmcb_retrieve() argument 455 pSession = shmcb_retrieve_session(s, shm_segment, id, idlen); in ssl_scache_shmcb_retrieve() 467 void ssl_scache_shmcb_remove(server_rec *s, UCHAR *id, int idlen) in ssl_scache_shmcb_remove() argument 475 shmcb_remove_session(s, shm_segment, id, idlen); in ssl_scache_shmcb_remove() 676 int idlen, SSL_SESSION * pSession, in shmcb_store_session() argument 725 UCHAR *id, int idlen) in shmcb_retrieve_session() argument 734 if (idlen < 2) { in shmcb_retrieve_session() 736 "(%u bytes)", idlen); in shmcb_retrieve_session() [all …]
|
| D | ssl_scache_dbm.c | 134 BOOL ssl_scache_dbm_store(server_rec *s, UCHAR *id, int idlen, time_t expiry, SSL_SESSION *sess) in ssl_scache_dbm_store() argument 151 if ((idlen + nData) >= 950 /* at least less than approx. 1KB */) in ssl_scache_dbm_store() 156 dbmkey.dsize = idlen; in ssl_scache_dbm_store() 199 SSL_SESSION *ssl_scache_dbm_retrieve(server_rec *s, UCHAR *id, int idlen) in ssl_scache_dbm_retrieve() argument 216 dbmkey.dsize = idlen; in ssl_scache_dbm_retrieve() 253 ssl_scache_dbm_remove(s, id, idlen); in ssl_scache_dbm_retrieve() 263 void ssl_scache_dbm_remove(server_rec *s, UCHAR *id, int idlen) in ssl_scache_dbm_remove() argument 271 dbmkey.dsize = idlen; in ssl_scache_dbm_remove()
|
| D | ssl_util_ssl.c | 497 char *SSL_SESSION_id2sz(unsigned char *id, int idlen) in SSL_SESSION_id2sz() argument 504 for (n = 0; n < idlen && n < SSL_MAX_SSL_SESSION_ID_LENGTH; n++) { in SSL_SESSION_id2sz()
|
| D | ssl_engine_kernel.c | 1818 SSL *ssl, unsigned char *id, int idlen, int *pCopy) in ssl_callback_GetSessionCacheEntry() argument 1833 pSession = ssl_scache_retrieve(s, id, idlen); in ssl_callback_GetSessionCacheEntry() 1841 SSL_SESSION_id2sz(id, idlen)); in ssl_callback_GetSessionCacheEntry() 1845 SSL_SESSION_id2sz(id, idlen)); in ssl_callback_GetSessionCacheEntry()
|
| /mirbsd/src/usr.sbin/rpc.bootparamd/ |
| D | bootparamd.c | 272 size_t idlen = id == NULL ? 0 : strlen(id); in lookup_bootparam() local 330 if (!strncmp(word, id, idlen) && word[idlen] == '=') { in lookup_bootparam() 332 *server = &word[idlen + 1]; in lookup_bootparam()
|
| /mirbsd/src/gnu/usr.bin/perl/ext/Data/Dumper/ |
| D | Dumper.xs | 255 STRLEN inamelen, idlen = 0; in DD_dump() local 286 idlen = strlen(id); in DD_dump() 296 if ((svp = hv_fetch(seenhv, id, idlen, FALSE)) in DD_dump() 765 if ((svp = hv_fetch(seenhv, id, (idlen = strlen(id)), FALSE)) && in DD_dump() 902 if (idlen) { in DD_dump() 904 (void)hv_delete(seenhv, id, idlen, G_DISCARD); in DD_dump()
|
| /mirbsd/src/sbin/isakmpd/ |
| D | connection.c | 200 compare_ids(u_int8_t *id1, u_int8_t *id2, size_t idlen) in compare_ids() argument 208 id2 + ISAKMP_ID_DATA_OFF, idlen - ISAKMP_ID_DATA_OFF) : -1; in compare_ids()
|
| D | pf_key_v2.c | 1862 pf_key_v2_convert_id(u_int8_t *id, int idlen, size_t *reslen, int *idtype) in pf_key_v2_convert_id() argument 1869 res = calloc(idlen - ISAKMP_ID_DATA_OFF + ISAKMP_GEN_SZ, in pf_key_v2_convert_id() 1874 *reslen = idlen - ISAKMP_ID_DATA_OFF + ISAKMP_GEN_SZ; in pf_key_v2_convert_id() 1882 res = calloc(idlen - ISAKMP_ID_DATA_OFF + ISAKMP_GEN_SZ, in pf_key_v2_convert_id() 1887 *reslen = idlen - ISAKMP_ID_DATA_OFF + ISAKMP_GEN_SZ; in pf_key_v2_convert_id()
|
| /mirbsd/src/gnu/usr.sbin/sendmail/sendmail/ |
| D | conf.c | 5394 int idlen; local 5403 idlen = strlen(id) + SyslogPrefixLen; 5432 if ((strlen(newstring) + idlen + 1) < SYSLOG_BUFSIZE) 5488 idlen += 5; /* strlen("[999]"), see below */ 5490 (strlen(begin) + idlen) > SYSLOG_BUFSIZE) 5499 end = begin + SYSLOG_BUFSIZE - idlen - SL_SPLIT; 5512 end = begin + SYSLOG_BUFSIZE - idlen - SL_SPLIT;
|
| /mirbsd/src/sys/net/ |
| D | if_spppsubr.c | 3754 u_char idlen, pwdlen; in sppp_pap_scr() local 3758 idlen = sppp_strnlen(sp->myauth.name, AUTHNAMELEN); in sppp_pap_scr() 3761 sizeof idlen, (const char *)&idlen, in sppp_pap_scr() 3762 (size_t)idlen, sp->myauth.name, in sppp_pap_scr()
|