ESP-IDF
os_time::sec
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
os_time::sec
os_time::sec field
Syntax
Show:
Summary
Declaration
from
os.h:37
os_time_t
sec
;
Examples
References
from
examples
Code
Location
Referrer
os_time_t
sec
;
os.h:37
update_time
->
sec
=
fetch_time
->
sec
;
bss.c:79
calculate_update_time()
update_time
->
sec
-=
age_ms
/
1000
;
bss.c:81
calculate_update_time()
update_time
->
sec
--
;
bss.c:84
calculate_update_time()
sec
=
now
.
sec
+
2208988800U
;
/* Epoch to 1900 */
common.c:136
wpa_get_ntp_timestamp()
os_time_sub
(
now
,
ts
,
&
age
)
;
common.c:535
os_reltime_expired()
return
(
age
.
sec
>
timeout_secs
)
||
common.c:536
os_reltime_expired()
(
age
.
sec
==
timeout_secs
&&
age
.
usec
>
0
)
;
common.c:537
os_reltime_expired()
return
t
->
sec
!=
0
||
t
->
usec
!=
0
;
common.c:543
os_reltime_initialized()
(
os_time_t
)
auth
->
net_access_key_expiry
<
now
.
sec
)
{
dpp.c:791
dpp_build_peer_disc_req()
if
(
now
.
sec
>
utime
)
{
dpp.c:4024
dpp_key_expired()
now_sec
=
timeout
->
time
.
sec
;
eloop.c:105
eloop_register_timeout()
timeout
->
time
.
sec
+=
secs
;
eloop.c:106
eloop_register_timeout()
if
(
timeout
->
time
.
sec
<
now_sec
)
{
eloop.c:107
eloop_register_timeout()
timeout
->
time
.
sec
++
;
eloop.c:112
eloop_register_timeout()
if
(
timeout
->
time
.
sec
<
now_sec
)
{
eloop.c:115
eloop_register_timeout()
if
(
os_reltime_before
(
&
timeout
->
time
,
&
tmp
->
time
)
)
{
eloop.c:128
eloop_register_timeout()
remaining
->
sec
=
remaining
->
usec
=
0
;
eloop.c:233
eloop_cancel_timeout_one()
if
(
os_reltime_before
(
&
now
,
&
timeout
->
time
)
)
{
eloop.c:241
eloop_cancel_timeout_one()
os_reltime_sub
(
&
timeout
->
time
,
&
now
,
remaining
)
;
eloop.c:242
eloop_cancel_timeout_one()
requested
.
sec
=
req_secs
;
eloop.c:278
eloop_deplete_timeout()
os_reltime_sub
(
&
tmp
->
time
,
&
now
,
&
remaining
)
;
eloop.c:281
eloop_deplete_timeout()
if
(
os_reltime_before
(
&
requested
,
&
remaining
)
)
{
eloop.c:282
eloop_deplete_timeout()
eloop_register_timeout
(
requested
.
sec
,
eloop.c:285
eloop_deplete_timeout()
requested
.
sec
=
req_secs
;
eloop.c:309
eloop_replenish_timeout()
os_reltime_sub
(
&
tmp
->
time
,
&
now
,
&
remaining
)
;
eloop.c:312
eloop_replenish_timeout()
if
(
os_reltime_before
(
&
remaining
,
&
requested
)
)
{
eloop.c:313
eloop_replenish_timeout()
eloop_register_timeout
(
requested
.
sec
,
eloop.c:316
eloop_replenish_timeout()
if
(
os_reltime_before
(
&
now
,
&
timeout
->
time
)
)
{
eloop.c:340
eloop_run()
os_reltime_sub
(
&
timeout
->
time
,
&
now
,
&
tv
)
;
eloop.c:343
eloop_run()
ms
=
tv
.
sec
*
1000
+
tv
.
usec
/
1000
;
eloop.c:344
eloop_run()
if
(
!
os_reltime_before
(
&
now
,
&
timeout
->
time
)
)
{
eloop.c:358
eloop_run()
sec
=
timeout
->
time
.
sec
-
now
.
sec
;
eloop.c:393
eloop_destroy()
seconds
=
expiry
-
now
.
sec
;
esp_dpp.c:373
esp_dpp_rx_peer_disc_resp()
entry
->
expiration
=
rnow
.
sec
+
seconds
;
esp_dpp.c:378
esp_dpp_rx_peer_disc_resp()
entry
->
reauth_time
=
rnow
.
sec
+
seconds
;
esp_dpp.c:379
esp_dpp_rx_peer_disc_resp()
t
->
sec
=
(
os_time_t
)
tv
.
tv_sec
;
os_xtensa.c:37
os_get_time()
while
(
pmksa
->
pmksa
&&
pmksa
->
pmksa
->
expiration
<=
now
.
sec
)
{
pmksa_cache.c:60
pmksa_cache_expire()
sec
=
pmksa
->
pmksa
->
expiration
-
now
.
sec
;
pmksa_cache.c:81
pmksa_cache_set_expiration()
entry
->
expiration
=
now
.
sec
+
dot11RSNAConfigPMKLifetime
;
pmksa_cache.c:135
pmksa_cache_add()
entry
->
reauth_time
=
now
.
sec
+
dot11RSNAConfigPMKLifetime
*
pmksa_cache.c:136
pmksa_cache_add()
(
int
)
(
entry
->
expiration
-
now
.
sec
)
,
pmksa_cache.c:493
pmksa_cache_list()
while
(
pmksa
->
pmksa
&&
pmksa
->
pmksa
->
expiration
<=
now
.
sec
)
{
pmksa_cache_auth.c:112
pmksa_cache_expire()
sec
=
pmksa
->
pmksa
->
expiration
-
now
.
sec
;
pmksa_cache_auth.c:131
pmksa_cache_set_expiration()
entry
->
expiration
=
now
.
sec
;
pmksa_cache_auth.c:267
pmksa_cache_auth_create_entry()
(
int
)
(
entry
->
expiration
-
now
.
sec
)
,
pmksa_cache_auth.c:433
pmksa_cache_auth_list()
if
(
(
unsigned
long
)
now
.
sec
<
(
unsigned
long
)
update
)
{
tlsv1_client_ocsp.c:262
tls_process_ocsp_single_response()
if
(
(
unsigned
long
)
now
.
sec
>
(
unsigned
long
)
update
)
{
tlsv1_client_ocsp.c:286
tls_process_ocsp_single_response()
WPA_PUT_BE32
(
conn
->
client_random
,
now
.
sec
)
;
tlsv1_client_write.c:66
tls_send_client_hello()
if
(
os_reltime_before
(
&
wpa_s
->
wnm_cand_valid_until
,
wnm_sta.c:701
wnm_scan_process()
wpa_s
->
wnm_cand_valid_until
.
sec
+=
valid_ms
/
1000
;
wnm_sta.c:994
ieee802_11_rx_bss_trans_mgmt_req()
wpa_s
->
wnm_cand_valid_until
.
sec
+=
wnm_sta.c:996
ieee802_11_rx_bss_trans_mgmt_req()
reg
->
pbc_ignore_start
.
sec
=
0
;
wps_registrar.c:741
wps_registrar_flush()
p
->
expiration
.
sec
+=
timeout
;
wps_registrar.c:814
wps_registrar_add_pin()
os_reltime_before
(
&
pin
->
expiration
,
&
now
)
)
{
wps_registrar.c:867
wps_registrar_expire_pins()
if
(
reg
->
pbc_ignore_start
.
sec
&&
wps_registrar.c:1207
wps_registrar_probe_req_rx()
os_reltime_sub
(
&
now
,
&
reg
->
pbc_ignore_start
,
&
dur
)
;
wps_registrar.c:1211
wps_registrar_probe_req_rx()
if
(
dur
.
sec
>=
0
&&
dur
.
sec
<
5
)
{
wps_registrar.c:1212
wps_registrar_probe_req_rx()
reg
->
pbc_ignore_start
.
sec
=
0
;
wps_registrar.c:1218
wps_registrar_probe_req_rx()
(
(
unsigned
long
)
now
.
sec
<
x509v3.c:2166
x509_certificate_chain_validate()
(
unsigned
long
)
now
.
sec
>
x509v3.c:2168
x509_certificate_chain_validate()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
os_time::sec
is written by 12 functions and is read by 29 functions:
os_get_time()
eloop_register_timeout()
eloop_cancel_timeout_one()
eloop_deplete_timeout()
eloop_replenish_timeout()
eloop_run()
os_reltime_expired()
calculate_update_time()
ieee802_11_rx_bss_trans_mgmt_req()
wps_registrar_flush()
wps_registrar_add_pin()
wps_registrar_probe_req_rx()
All items filtered out
os_time::sec
eloop_register_timeout()
eloop_cancel_timeout_one()
eloop_deplete_timeout()
eloop_replenish_timeout()
eloop_run()
eloop_destroy()
pmksa_cache_expire()
pmksa_cache_set_expiration()
pmksa_cache_auth_create_entry()
pmksa_cache_auth_list()
pmksa_cache_expire()
pmksa_cache_set_expiration()
pmksa_cache_add()
pmksa_cache_list()
wpa_get_ntp_timestamp()
os_reltime_expired()
os_reltime_initialized()
calculate_update_time()
wnm_scan_process()
ieee802_11_rx_bss_trans_mgmt_req()
tls_send_client_hello()
tls_process_ocsp_single_response()
x509_certificate_chain_validate()
dpp_build_peer_disc_req()
dpp_key_expired()
esp_dpp_rx_peer_disc_resp()
wps_registrar_add_pin()
wps_registrar_expire_pins()
wps_registrar_probe_req_rx()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out