/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | context_time.c | 40 krb5_deltat lifetime; local 61 if ((lifetime = ctx->endtime - now) <= 0) { 66 *time_rec = lifetime;
|
H A D | inq_cred.c | 90 krb5_deltat lifetime; local 141 if ((lifetime = cred->tgt_expire - now) < 0) 142 lifetime = 0; 145 lifetime = GSS_C_INDEFINITE; 196 *lifetime_ret = lifetime; 210 return((lifetime == 0)?GSS_S_CREDENTIALS_EXPIRED:GSS_S_COMPLETE); 235 OM_uint32 lifetime; local 252 &lifetime, 260 *initiator_lifetime = lifetime; 265 *acceptor_lifetime = lifetime; [all...] |
H A D | add_cred.c | 86 OM_uint32 major_status, lifetime; local 374 NULL, &lifetime, 386 *initiator_time_rec = lifetime; 388 *acceptor_time_rec = lifetime;
|
H A D | inq_context.c | 105 krb5_deltat lifetime; local 137 if ((lifetime = ctx->endtime - now) < 0) 138 lifetime = 0; 182 *lifetime_rec = lifetime; 198 return((lifetime == 0)?GSS_S_CONTEXT_EXPIRED:GSS_S_COMPLETE);
|
H A D | init_sec_context.c | 1398 krb5_deltat lifetime = KRB5_DEFAULT_LIFE; /* -l option */ local 1491 my_creds.times.endtime = now + lifetime; 1496 krb5_get_init_creds_opt_set_tkt_life(&opt, lifetime);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | cred.c | 176 OM_uint32 *lifetime, /* return the time remainning */ 199 if (lifetime) 200 *lifetime = GSS_C_INDEFINITE; 209 if (lifetime) { 211 *lifetime = GSS_C_INDEFINITE; 215 *lifetime = t; 256 OM_uint32 lifetime; local 268 &lifetime, &use, NULL); 275 use == GSS_C_INITIATE) ? lifetime : 0; 279 use == GSS_C_ACCEPT) ? lifetime 172 __dh_gss_inquire_cred(void *ctx, OM_uint32 *minor, gss_cred_id_t cred, gss_name_t *name, OM_uint32 *lifetime, gss_cred_usage_t *usage, gss_OID_set *mechs ) argument [all...] |
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | ServiceURL.java | 65 * Default lifetime, 3 hours. 71 * Maximum lifetime, approximately 18 hours. 97 private int lifetime = LIFETIME_DEFAULT; field in class:ServiceURL 105 * @param iLifetime The service advertisement lifetime. 133 lifetime = iLifetime; 195 * @return The service advertisement lifetime. 199 return lifetime;
|
H A D | AuthBlock.java | 67 * @param lifetime The lifetime for this message, in seconds. 77 static Hashtable makeAuthBlocks(Object[] message, int lifetime) argument 92 blocks.put(spi, new AuthBlock(message, spi, bsd, lifetime)); 162 * A convenience method which finds the shortest lifetime in a 166 * @return The shortest lifetime found. 175 int lifetime = Integer.MAX_VALUE; 180 lifetime = (lifetime < abLife) ? lifetime 450 AuthBlock(Object[] message, String spi, int bsd, int lifetime) argument 1119 int lifetime; // need both: lifetime is for optimization, field in class:AuthBlock [all...] |
H A D | SLPHeaderV2.java | 705 // Parse in a service URL including lifetime if necessary. 721 // Get URL lifetime. 723 int lifetime = getInt(dis); 753 lifetime = AuthBlock.getShortestLifetime(auth); 762 url = new ServiceURL(ssurl, lifetime); 812 // Parse out the lifetime. 935 int lifetime, 973 auth = getCheckedAuthBlockList(message, lifetime); 1013 Hashtable getCheckedAuthBlockList(Object[] message, int lifetime) argument 1024 return AuthBlock.makeAuthBlocks(message, lifetime); 934 parseAttributeVectorOut(Vector v, int lifetime, boolean attrAuth, Hashtable auth, ByteArrayOutputStream baos, boolean writeAuthCount) argument [all...] |
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | kadm5_create.c | 56 char *name, char *realm, int attrs, int lifetime); 59 char *sname, int attrs, int lifetime); 62 krb5_principal principal, int attrs, int lifetime); 248 * lifetime (r) principal's max life, or 0 264 * attributes attrs and max life of lifetime (if not zero). 268 krb5_principal principal, int attrs, int lifetime) 280 ent.max_life = lifetime; 381 char *name, char *realm, int attrs, int lifetime) 393 return (add_admin_princ(handle, context, principal, attrs, lifetime)); 398 char *sname, int attrs, int lifetime) 267 add_admin_princ(void *handle, krb5_context context, krb5_principal principal, int attrs, int lifetime) argument 380 add_admin_old_princ(void *handle, krb5_context context, char *name, char *realm, int attrs, int lifetime) argument 397 add_admin_sname_princ(void *handle, krb5_context context, char *sname, int attrs, int lifetime) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | gencert.c | 582 char *lifetime = NULL; local 612 "r:(trust)L:(lifetime)l:(label)c:(outcert)e:(eku)" 684 if (lifetime) 686 lifetime = optarg_av; 788 if (Str2Lifetime(lifetime, <ime) != 0) { 790 gettext("Error parsing lifetime string\n"));
|
H A D | signcsr.c | 539 char *lifetime = NULL; local 560 "L:(lifetime)e:(eku)i:(issuer)" 646 if (lifetime != NULL) 648 lifetime = optarg_av; 692 if (lifetime != NULL) { 693 if (Str2Lifetime(lifetime, <ime) != 0) { 695 gettext("Error parsing lifetime string\n"));
|
/illumos-gate/usr/src/lib/pam_modules/krb5/ |
H A D | krb5_authenticate.c | 513 krb5_deltat lifetime; local 600 * set the values for lifetime and rlife to be the maximum 604 lifetime = krb5_max_duration; 634 code = krb5_string_to_deltat(life_timeval, &lifetime); 635 if (code != 0 || lifetime == 0 || 636 lifetime > krb5_max_duration) { 638 "lifetime value '%s' in Kerberos config file", 646 my_creds->times.endtime = now + lifetime; 662 krb5_get_init_creds_opt_set_tkt_life(opts, lifetime);
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | SLPFindSrvs.c | 36 unsigned short lifetime; member in struct:surl_node 150 /* lifetime */ 470 if (s1->lifetime != s2->lifetime) 471 return (s1->lifetime - s2->lifetime); 491 n->lifetime = life; 534 n->lifetime,
|
H A D | SLPReg.c | 101 unsigned short lifetime; member in struct:rereg_entry 192 unsigned short lifetime, const char *type, 203 ts = tp->tv_sec + lifetime; 256 if ((err = slp_add_sht(m, msgLen, lifetime, &len)) != SLP_OK) 688 * so we only allow reg's with lifetime == SLP_LIFETIME_PERMANENT into 692 unsigned short lifetime) { 696 if (lifetime != SLP_LIFETIME_MAXIMUM) { 716 reg->lifetime = lifetime; 717 reg->wake_time = (time(NULL) + lifetime) 191 packSrvReg(slp_handle_impl_t *hp, const char *url, unsigned short lifetime, const char *type, const char *scope, const char *attrs, SLPBoolean fresh, struct reg_msg **msg) argument 691 add_rereg(const char *url, struct reg_msg *msg, unsigned short lifetime) argument 794 unsigned short lifetime = 0; local [all...] |
H A D | slp_targets.c | 470 unsigned short lifetime, 469 collect_DAs(SLPHandle h, const char *u, unsigned short lifetime, SLPError errCode, void *cookie) argument
|
H A D | SLPUtils.c | 354 unsigned short lifetime, 353 collate_scopes(SLPHandle h, const char *u, unsigned short lifetime, SLPError errCode, void *cookie) argument
|
/illumos-gate/usr/src/cmd/ctrun/ |
H A D | ctrun.c | 78 typedef enum lifetime { enum 91 "Usage: %s [-i eventlist] [-f eventlist] [-l lifetime] \n" \ 439 uu_warn(gettext("invalid lifetime '%s'\n"), 478 uu_warn(gettext("cannot use option '%s' with lifetime '%s'\n"), 484 uu_warn(gettext("cannot restart with lifetime '%s'\n"),
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_mip.h | 97 ushort_t lifetime; /* 0 = dereg; 0xffff = infinity */ member in struct:registration_request_str 119 ushort_t lifetime; /* 0 = dereg; 0xffff = infinity */ member in struct:registration_request_str 135 ushort_t lifetime; /* 0 = dereg; 0xffff = infinity */ member in struct:registration_reply_str 223 * The longest lifetime (measured in seconds) that this
|
H A D | snoop_slp.c | 491 int lifetime, length, n; local 498 /* lifetime */ 500 if ((lifetime = netval) < 0) 509 exp = time(0) + lifetime; 512 "URL: length = %u, lifetime = %d (%24.24s)", 513 length, lifetime, ctime(&exp)); 517 "URL %d: length = %u, lifetime = %d (%24.24s)", 518 cnt, length, lifetime, ctime(&exp)); 1030 case INVALID_LIFETIME: return "invalid lifetime"; 1154 SKIPSHORT; /* lifetime */ 1729 int lifetime, length; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | tables.c | 117 * generation among systems; the actual preferred lifetime value 120 * maximum value. The value is constant throughout the lifetime 818 * their preferred lifetime to 0. Don't tamper with valid lifetime, that 1194 * prefix). However, we cannot derive the lifetime from 2079 * The lifetime parameter is in seconds. 2082 router_create(struct phyint *pi, struct in6_addr addr, uint_t lifetime) argument 2090 abuf, sizeof (abuf)), lifetime); 2099 dr->dr_lifetime = lifetime; 2219 * Add a default route to the kernel (unless the lifetime i [all...] |
/illumos-gate/usr/src/cmd/krb5/kinit/ |
H A D | kinit.c | 140 krb5_deltat lifetime; member in struct:k_opts 197 krb5_deltat lifetime; member in struct:k4_data 263 "[-l lifetime] [-s start_time] " 311 ULINE("\t", gettext("-l lifetime"), OPTTYPE_EITHER); 313 ULINE("\t", gettext("-r renewable lifetime"), OPTTYPE_KRB5); 396 code = krb5_string_to_deltat(optarg, &opts->lifetime); 397 if (code != 0 || opts->lifetime == 0) { 398 fprintf(stderr, gettext("Bad lifetime value %s\n"), optarg); 406 fprintf(stderr, gettext("Bad lifetime value %s\n"), optarg); 866 krb5_deltat lifetime local [all...] |
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_cookie.c | 431 * cookie lifetime (uint32_t) + 455 sizeof (uint32_t) + /* cookie lifetime */ \ 489 uint32_t *lifetime; local 735 * 2. The cookie lifetime (uint32_t) in tick 755 /* cookie lifetime -- need configuration */ 756 lifetime = (uint32_t *)(now + 1); 757 *lifetime = sctp->sctp_cookie_lifetime; 760 ttag = (uint32_t *)(lifetime + 1); 803 * older than the new secret lifetime parameter permits, 1406 * Don't check cookie lifetime [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/ |
H A D | in.rdisc.c | 228 int lifetime; variable 294 lifetime = (3*max_adv_int); 335 lifetime = (3*max_adv_int); 626 rap->icmp_lifetime = htons(lifetime); 868 logtrace("ICMP %s from %s: Invalid lifetime %d\n", 875 logtrace("ICMP %s from %s, lifetime %d\n",
|
/illumos-gate/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 163 * byte lifetime counters. Returns pointer to the user supplied buffer. 235 * the lifetime counters. Returns pointer to the user supplied buffer. 1871 * Print the SA lifetime information. (An SADB_EXT_LIFETIME_* extension.) 1883 char byte_str[BYTE_STR_SIZE]; /* byte lifetime string representation */ 1889 "WARNING: CURRENT lifetime extension length (%u) is bad."), 1896 "WARNING: HARD lifetime extension length (%u) is bad."), 1903 "WARNING: SOFT lifetime extension length (%u) is bad."), 1910 "WARNING: IDLE lifetime extension length (%u) is bad."), 1918 "%sCurrent lifetime information:\n"), 1943 "%sSoft lifetime informatio 2806 save_lifetime(struct sadb_lifetime *lifetime, FILE *ofile) argument [all...] |