summaryrefslogtreecommitdiffstats
path: root/src/kdc/deps
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-05-24 02:07:18 -0400
committerGreg Hudson <ghudson@mit.edu>2012-05-30 00:26:10 -0400
commit231cd500ed85897b69e598bb7bc7818dcc98ccb4 (patch)
tree16201e35036b0f46d1ecbe59e472fc7a6ec34822 /src/kdc/deps
parent2dac078c6094544feac6a4312d15321e06e54c1b (diff)
downloadkrb5-231cd500ed85897b69e598bb7bc7818dcc98ccb4.tar.gz
krb5-231cd500ed85897b69e598bb7bc7818dcc98ccb4.tar.xz
krb5-231cd500ed85897b69e598bb7bc7818dcc98ccb4.zip
Use a hash table in the KDC lookaside cache
Add a hash table to kdc/replay.c for fast lookup of incoming packets. Continue to keep a time-ordered linked list of all entries for fast expiry of stale entries. The preprocessor constant LOOKASIDE_HASH_SIZE can be used to change the size of the hash table.
Diffstat (limited to 'src/kdc/deps')
-rw-r--r--src/kdc/deps14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kdc/deps b/src/kdc/deps
index b35f887299..b88fd0c2a8 100644
--- a/src/kdc/deps
+++ b/src/kdc/deps
@@ -153,13 +153,13 @@ $(OUTPRE)replay.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
$(top_srcdir)/include/k5-buf.h $(top_srcdir)/include/k5-err.h \
$(top_srcdir)/include/k5-gmt_mktime.h $(top_srcdir)/include/k5-int-pkinit.h \
$(top_srcdir)/include/k5-int.h $(top_srcdir)/include/k5-platform.h \
- $(top_srcdir)/include/k5-plugin.h $(top_srcdir)/include/k5-thread.h \
- $(top_srcdir)/include/k5-trace.h $(top_srcdir)/include/kdb.h \
- $(top_srcdir)/include/krb5.h $(top_srcdir)/include/krb5/authdata_plugin.h \
- $(top_srcdir)/include/krb5/plugin.h $(top_srcdir)/include/krb5/preauth_plugin.h \
- $(top_srcdir)/include/net-server.h $(top_srcdir)/include/port-sockets.h \
- $(top_srcdir)/include/socket-utils.h extern.h kdc_util.h \
- replay.c
+ $(top_srcdir)/include/k5-plugin.h $(top_srcdir)/include/k5-queue.h \
+ $(top_srcdir)/include/k5-thread.h $(top_srcdir)/include/k5-trace.h \
+ $(top_srcdir)/include/kdb.h $(top_srcdir)/include/krb5.h \
+ $(top_srcdir)/include/krb5/authdata_plugin.h $(top_srcdir)/include/krb5/plugin.h \
+ $(top_srcdir)/include/krb5/preauth_plugin.h $(top_srcdir)/include/net-server.h \
+ $(top_srcdir)/include/port-sockets.h $(top_srcdir)/include/socket-utils.h \
+ extern.h kdc_util.h replay.c
$(OUTPRE)kdc_authdata.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
$(BUILDTOP)/include/krb5/krb5.h $(BUILDTOP)/include/osconf.h \
$(BUILDTOP)/include/profile.h $(COM_ERR_DEPS) $(VERTO_DEPS) \