From: Ken Raeburn Date: Fri, 16 Aug 2002 18:52:51 +0000 (+0000) Subject: * k5-int.h (struct _krb5_context): Add new member udp_pref_limit X-Git-Tag: krb5-1.3-alpha1~498 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=727043701f0a015919b2b355a5c67e433ae70cb9;p=krb5.git * 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 --- diff --git a/src/include/ChangeLog b/src/include/ChangeLog index ca9f76daf..1d428a1e1 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,7 @@ +2002-08-16 Ken Raeburn + + * k5-int.h (struct _krb5_context): Add new member udp_pref_limit. + 2002-07-12 Ken Raeburn * Makefile.in (install): Don't install port-sockets.h. diff --git a/src/include/k5-int.h b/src/include/k5-int.h index 3e9ac4cf3..ed128b4c3 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 */