Home
last modified time | relevance | path

Searched refs:lifetime (Results 1 – 25 of 49) sorted by relevance

12

/dragonfly/contrib/wpa_supplicant/src/rsn_supp/
H A Dtdls.c107 u32 lifetime; member
1301 lifetime = peer->lifetime; in wpa_tdls_send_tpk_m2()
1306 lifetime++; in wpa_tdls_send_tpk_m2()
1391 lifetime = peer->lifetime; in wpa_tdls_send_tpk_m3()
1396 lifetime++; in wpa_tdls_send_tpk_m3()
2103 peer->lifetime = lifetime; in wpa_tdls_process_tpk_m1()
2152 u32 lifetime = peer->lifetime; in wpa_tdls_enable_link() local
2405 if (lifetime != peer->lifetime) { in wpa_tdls_process_tpk_m2()
2407 "TPK M2 (expected %u)", lifetime, peer->lifetime); in wpa_tdls_process_tpk_m2()
2583 if (lifetime != peer->lifetime) { in wpa_tdls_process_tpk_m3()
[all …]
/dragonfly/usr.sbin/nscd/
H A Dparser.c126 struct timeval lifetime; in set_positive_time_to_live() local
131 memset(&lifetime, 0, sizeof(struct timeval)); in set_positive_time_to_live()
132 lifetime.tv_sec = ttl; in set_positive_time_to_live()
136 &lifetime, sizeof(struct timeval)); in set_positive_time_to_live()
138 &lifetime, sizeof(struct timeval)); in set_positive_time_to_live()
148 struct timeval lifetime; in set_negative_time_to_live() local
153 memset(&lifetime, 0, sizeof(struct timeval)); in set_negative_time_to_live()
154 lifetime.tv_sec = nttl; in set_negative_time_to_live()
159 &lifetime, sizeof(struct timeval)); in set_negative_time_to_live()
/dragonfly/sbin/ifconfig/
H A Daf_inet6.c185 struct in6_addrlifetime lifetime; in in6_status() local
211 memset(&lifetime, 0, sizeof(lifetime)); in in6_status()
218 lifetime = ifr6.ifr_ifru.ifru_lifetime; in in6_status()
303 if (ip6lifetime && (lifetime.ia6t_preferred || lifetime.ia6t_expire)) { in in6_status()
305 if (lifetime.ia6t_preferred) { in in6_status()
306 printf(" %s", lifetime.ia6t_preferred < now.tv_sec in in6_status()
307 ? "0" : sec2str(lifetime.ia6t_preferred - now.tv_sec)); in in6_status()
313 if (lifetime.ia6t_expire) { in in6_status()
314 printf(" %s", lifetime.ia6t_expire < now.tv_sec in in6_status()
315 ? "0" : sec2str(lifetime.ia6t_expire - now.tv_sec)); in in6_status()
/dragonfly/crypto/libressl/ssl/
H A Dssl_asn1.c51 CBB peer_cert, sidctx, verify_result, hostname, lifetime, ticket, value; in SSL_SESSION_encode() local
161 if (!CBB_add_asn1(&session, &lifetime, SSLASN1_LIFETIME_TAG)) in SSL_SESSION_encode()
163 if (!CBB_add_asn1_uint64(&lifetime, in SSL_SESSION_encode()
247 uint64_t version, tls_version, stime, timeout, verify_result, lifetime; in d2i_SSL_SESSION() local
382 if (!CBS_get_optional_asn1_uint64(&session, &lifetime, in d2i_SSL_SESSION()
385 if (lifetime > UINT32_MAX) in d2i_SSL_SESSION()
387 if (lifetime > 0) in d2i_SSL_SESSION()
388 s->tlsext_tick_lifetime_hint = (uint32_t)lifetime; in d2i_SSL_SESSION()
/dragonfly/crypto/openssh/
H A Dssh-add.c95 static int lifetime = 0; variable
365 lifetime, confirm, maxsign, skprovider, in add_file()
371 if (lifetime != 0) { in add_file()
373 "Lifetime set to %d seconds\n", lifetime); in add_file()
418 lifetime, confirm, maxsign, skprovider, in add_file()
428 if (lifetime != 0) { in add_file()
430 lifetime); in add_file()
602 lifetime, confirm, maxsign, skprovider, in load_resident_keys()
615 if (lifetime != 0) { in load_resident_keys()
895 if ((lifetime = convtime(optarg)) == -1 || in main()
[all …]
H A Dssh-agent.c185 static int lifetime = 0; variable
1253 if (lifetime && !death) in process_add_identity()
1254 death = monotime() + lifetime; in process_add_identity()
1407 if (lifetime && !death) in process_add_smartcard_key()
1408 death = monotime() + lifetime; in process_add_smartcard_key()
2084 if ((lifetime = convtime(optarg)) == -1) { in main()
/dragonfly/contrib/tcpdump/
H A Dprint-icmp.c523 u_int lifetime, num, size; in icmp_print() local
532 lifetime = GET_BE_U_2(ihp->ird_lifetime); in icmp_print()
533 if (lifetime < 60) { in icmp_print()
535 lifetime); in icmp_print()
536 } else if (lifetime < 60 * 60) { in icmp_print()
538 lifetime / 60, lifetime % 60); in icmp_print()
542 lifetime / 3600, in icmp_print()
543 (lifetime % 3600) / 60, in icmp_print()
544 lifetime % 60); in icmp_print()
/dragonfly/usr.sbin/rrenumd/
H A Dparser.y111 %type <num> lifetime days hours minutes seconds
523 | VLTIME_CMD lifetime
534 | PLTIME_CMD lifetime
588 lifetime:
/dragonfly/contrib/dhcpcd/src/
H A Dipv6nd.c648 if (ra1->lifetime == 0 && ra2->lifetime != 0) in ipv6nd_sortrouters()
739 if (rapr->isreachable && !rapr->expired && rapr->lifetime) in ipv6nd_neighbour()
1238 old_lifetime = rap->lifetime; in ipv6nd_handlera()
1239 rap->lifetime = ntohs(nd_ra->nd_ra_router_lifetime); in ipv6nd_handlera()
1240 if (!new_rap && rap->lifetime == 0 && old_lifetime != 0) in ipv6nd_handlera()
1602 ipv6nd_hasralifetime(const struct interface *ifp, bool lifetime) in ipv6nd_hasralifetime() argument
1610 (!lifetime ||rap->lifetime)) in ipv6nd_hasralifetime()
1826 if (rap->lifetime) { in ipv6nd_expirera()
1829 if (elapsed >= rap->lifetime || rap->doexpire) { in ipv6nd_expirera()
1833 rap->lifetime = 0; in ipv6nd_expirera()
[all …]
H A Dif-bsd.c1171 struct in6_addrlifetime *lifetime; in if_getlifetime6() local
1190 lifetime = &ifr6.ifr_ifru.ifru_lifetime; in if_getlifetime6()
1191 if (lifetime->ia6t_preferred) in if_getlifetime6()
1192 ia->prefix_pltime = (uint32_t)(lifetime->ia6t_preferred - in if_getlifetime6()
1193 MIN(t, lifetime->ia6t_preferred)); in if_getlifetime6()
1196 if (lifetime->ia6t_expire) { in if_getlifetime6()
1197 ia->prefix_vltime = (uint32_t)(lifetime->ia6t_expire - in if_getlifetime6()
1198 MIN(t, lifetime->ia6t_expire)); in if_getlifetime6()
1200 ia->created.tv_sec -= lifetime->ia6t_vltime - ia->prefix_vltime; in if_getlifetime6()
H A Dipv6nd.h49 uint32_t lifetime; member
/dragonfly/crypto/libressl/tls/
H A Dtls_config.c857 tls_config_set_session_lifetime(struct tls_config *config, int lifetime) in tls_config_set_session_lifetime() argument
859 if (lifetime > TLS_MAX_SESSION_TIMEOUT) { in tls_config_set_session_lifetime()
863 if (lifetime != 0 && lifetime < TLS_MIN_SESSION_TIMEOUT) { in tls_config_set_session_lifetime()
868 config->session_lifetime = lifetime; in tls_config_set_session_lifetime()
/dragonfly/sys/net/ipfw3_basic/
H A Dip_fw3_basic.h79 #define IS_EXPIRED(state) (state->lifetime > 0 && \
80 (state->timestamp + state->lifetime) < time_second) || \
H A Dip_fw3_sync.h97 uint16_t lifetime; member
/dragonfly/contrib/wpa_supplicant/src/eap_server/
H A Deap_server_fast.c129 os_time_t lifetime = 0; in eap_fast_session_ticket_cb() local
215 lifetime = WPA_GET_BE32(pos); in eap_fast_session_ticket_cb()
245 if (os_get_time(&now) < 0 || lifetime <= 0 || now.sec > lifetime) { in eap_fast_session_ticket_cb()
247 "(lifetime=%ld now=%ld)", lifetime, now.sec); in eap_fast_session_ticket_cb()
257 } else if (lifetime - now.sec < data->pac_key_refresh_time) { in eap_fast_session_ticket_cb()
H A Deap_server_teap.c139 os_time_t lifetime = 0; in eap_teap_session_ticket_cb() local
223 lifetime = WPA_GET_BE32(pos); in eap_teap_session_ticket_cb()
254 if (os_get_time(&now) < 0 || lifetime <= 0 || now.sec > lifetime) { in eap_teap_session_ticket_cb()
257 lifetime, now.sec); in eap_teap_session_ticket_cb()
267 } else if (lifetime - now.sec < data->pac_key_refresh_time) { in eap_teap_session_ticket_cb()
/dragonfly/games/larn/
H A Dmovem.c421 if (--(sp->lifetime) < 0) { /* has sphere run out of gas? */ in movsphere()
433 len = sp->lifetime; in movsphere()
H A Dheader.h74 char lifetime; /* duration of the sphere */ member
/dragonfly/usr.sbin/pfctl/
H A Dpfctl_table.c259 u_int lifetime; in pfctl_table() local
265 lifetime = strtonum(*argv, 0, UINT_MAX, &errstr); in pfctl_table()
279 lifetime) in pfctl_table()
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/std/
H A Dcondition_variable228 // ownership of _M_mutex lock to an object with shorter lifetime.
250 // ownership of _M_mutex lock to an object with shorter lifetime.
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/std/
H A Dcondition_variable261 // ownership of *__mutex lock to an object with shorter lifetime.
284 // ownership of *__mutex lock to an object with shorter lifetime.
/dragonfly/usr.sbin/rtadvd/
H A Ddump.c154 rai->lifetime, rai->maxinterval, rai->mininterval); in if_dump()
/dragonfly/sys/dev/netif/wpi/
H A Dif_wpireg.h525 uint32_t lifetime; member
544 uint32_t lifetime; member
/dragonfly/contrib/wpa_supplicant/src/eap_peer/
H A Deap_fast.c908 u32 lifetime; in eap_fast_parse_pac_info() local
926 lifetime = WPA_GET_BE32(pos); in eap_fast_parse_pac_info()
930 lifetime, (lifetime - (u32) now.sec) / 86400); in eap_fast_parse_pac_info()
H A Deap_teap.c948 u32 lifetime; in eap_teap_parse_pac_info() local
966 lifetime = WPA_GET_BE32(pos); in eap_teap_parse_pac_info()
970 lifetime, (lifetime - (u32) now.sec) / 86400); in eap_teap_parse_pac_info()

12