* k5-int.h (struct _krb5_context): Add new member udp_pref_limit
authorKen Raeburn <raeburn@mit.edu>
Fri, 16 Aug 2002 18:52:51 +0000 (18:52 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 16 Aug 2002 18:52:51 +0000 (18:52 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14733 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/k5-int.h

index ca9f76daf0ce5ab3d1b58157fa8d25ed6a1b711e..1d428a1e1a9f7634d5228ac92f9955d2f8b89f08 100644 (file)
@@ -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.
index 3e9ac4cf3a493d563dd71b873843692a207bde8b..ed128b4c3925caf527ab9a6323c6a6f0cd58ac3e 100644 (file)
@@ -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 */