summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2002-08-16 18:52:51 +0000
committerKen Raeburn <raeburn@mit.edu>2002-08-16 18:52:51 +0000
commit727043701f0a015919b2b355a5c67e433ae70cb9 (patch)
treec12319405b93c661b3848ec6455b6258d034e53d /src
parent5cb7fe3b953ffe22a36f7b570f3bf573fa1e769d (diff)
downloadkrb5-727043701f0a015919b2b355a5c67e433ae70cb9.tar.gz
krb5-727043701f0a015919b2b355a5c67e433ae70cb9.tar.xz
krb5-727043701f0a015919b2b355a5c67e433ae70cb9.zip
* k5-int.h (struct _krb5_context): Add new member udp_pref_limit
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14733 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/include/ChangeLog4
-rw-r--r--src/include/k5-int.h22
2 files changed, 18 insertions, 8 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog
index ca9f76daf0..1d428a1e1a 100644
--- a/src/include/ChangeLog
+++ b/src/include/ChangeLog
@@ -1,3 +1,7 @@
+2002-08-16 Ken Raeburn <raeburn@mit.edu>
+
+ * k5-int.h (struct _krb5_context): Add new member udp_pref_limit.
+
2002-07-12 Ken Raeburn <raeburn@mit.edu>
* Makefile.in (install): Don't install port-sockets.h.
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index 3e9ac4cf3a..ed128b4c39 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -983,17 +983,18 @@ void KRB5_CALLCONV krb5_free_pa_enc_ts
struct _krb5_context {
krb5_magic magic;
- krb5_enctype *in_tkt_ktypes;
+ krb5_enctype *in_tkt_ktypes;
int in_tkt_ktype_count;
- krb5_enctype *tgs_ktypes;
+ krb5_enctype *tgs_ktypes;
int tgs_ktype_count;
- void *os_context;
- char *default_realm;
- profile_t profile;
- void *db_context;
+ void *os_context;
+ char *default_realm;
+ profile_t profile;
+ void *db_context;
int ser_ctx_count;
- void *ser_ctx;
- krb5_deltat clockskew; /* allowable clock skew */
+ void *ser_ctx;
+ /* allowable clock skew */
+ krb5_deltat clockskew;
krb5_cksumtype kdc_req_sumtype;
krb5_cksumtype default_ap_req_sumtype;
krb5_cksumtype default_safe_sumtype;
@@ -1003,6 +1004,11 @@ struct _krb5_context {
int fcc_default_format;
int scc_default_format;
krb5_prompt_type *prompt_types;
+ /* Message size above which we'll try TCP first in send-to-kdc
+ type code. Aside from the 2**16 size limit, we put no
+ absolute limit on the UDP packet size. */
+ int udp_pref_limit;
+
#ifdef KRB5_DNS_LOOKUP
krb5_boolean profile_in_memory;
#endif /* KRB5_DNS_LOOKUP */