Home
last modified time | relevance | path

Searched refs:nfct_time_stamp (Results 1 – 6 of 6) sorted by relevance

/linux/include/net/netfilter/
H A Dnf_conntrack.h293 #define nfct_time_stamp ((u32)(jiffies)) macro
298 s32 timeout = READ_ONCE(ct->timeout) - nfct_time_stamp; in nf_ct_expires()
305 return (__s32)(READ_ONCE(ct->timeout) - nfct_time_stamp) <= 0; in nf_ct_is_expired()
324 WRITE_ONCE(ct->timeout, nfct_time_stamp + NF_CT_DAY); in nf_ct_offload_timeout()
H A Dnf_conntrack_core.h94 WRITE_ONCE(ct->timeout, nfct_time_stamp + (u32)timeout); in __nf_ct_set_timeout()
/linux/net/netfilter/
H A Dnf_conntrack_core.c654 s32 timeout = READ_ONCE(ct->timeout) - nfct_time_stamp; in nf_ct_delete()
1105 WRITE_ONCE(loser_ct->timeout, nfct_time_stamp + HZ); in nf_ct_resolve_clash_harder()
1296 ct->timeout += nfct_time_stamp; in __nf_conntrack_confirm()
1502 u32 end_time, start_time = nfct_time_stamp; in gc_worker()
1560 delta_time = nfct_time_stamp - gc_work->start_time; in gc_worker()
1613 delta_time = nfct_time_stamp - end_time; in gc_worker()
1627 delta_time = max_t(s32, nfct_time_stamp - gc_work->start_time, 1); in gc_worker()
2102 extra_jiffies += nfct_time_stamp; in __nf_ct_refresh_acct()
H A Dnf_conntrack_bpf.c425 nfct->timeout += nfct_time_stamp; in bpf_ct_insert_entry()
H A Dnf_conntrack_proto_tcp.c771 WRITE_ONCE(ct->timeout, timeout + nfct_time_stamp); in nf_tcp_handle_invalid()
945 WRITE_ONCE(ct->timeout, timeout + nfct_time_stamp); in nf_conntrack_tcp_set_closing()
H A Dnf_flow_table_core.c199 WRITE_ONCE(ct->timeout, nfct_time_stamp + timeout); in flow_offload_fixup_ct()