Home
last modified time | relevance | path

Searched refs:curlft (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/net/ipv6/
Dxfrm6_input.c245 x->curlft.bytes += skb->len; in xfrm6_input_addr()
246 x->curlft.packets++; in xfrm6_input_addr()
/linux-6.1.9/net/xfrm/
Dxfrm_state.c558 x->curlft.add_time - now; in xfrm_timer_handler()
565 x->curlft.add_time = now - x->saved_tmo - 1; in xfrm_timer_handler()
575 (x->curlft.use_time ? : now) - now; in xfrm_timer_handler()
585 x->curlft.add_time - now; in xfrm_timer_handler()
597 (x->curlft.use_time ? : now) - now; in xfrm_timer_handler()
650 x->curlft.add_time = ktime_get_real_seconds(); in xfrm_state_alloc()
1055 (*best)->curlft.add_time < x->curlft.add_time)) in xfrm_state_look_at()
1589 memcpy(&x->curlft, &orig->curlft, sizeof(x->curlft)); in xfrm_state_clone()
1757 if (x1->curlft.use_time) in xfrm_state_update()
1789 if (!x->curlft.use_time) in xfrm_state_check_expire()
[all …]
Dxfrm_policy.c331 xp->curlft.add_time - now; in xfrm_policy_timer()
339 (xp->curlft.use_time ? : xp->curlft.add_time) - now; in xfrm_policy_timer()
347 xp->curlft.add_time - now; in xfrm_policy_timer()
357 (xp->curlft.use_time ? : xp->curlft.add_time) - now; in xfrm_policy_timer()
1604 policy->curlft.add_time = ktime_get_real_seconds(); in xfrm_policy_insert()
1605 policy->curlft.use_time = 0; in xfrm_policy_insert()
2269 pol->curlft.add_time = ktime_get_real_seconds(); in xfrm_sk_policy_insert()
2304 newp->curlft = old->curlft; in clone_policy()
3141 pols[i]->curlft.use_time = ktime_get_real_seconds(); in xfrm_lookup_with_ifid()
3589 pol->curlft.use_time = ktime_get_real_seconds(); in __xfrm_policy_check()
[all …]
Dxfrm_user.c637 x->curlft.bytes = ltime->bytes; in xfrm_update_ae_params()
638 x->curlft.packets = ltime->packets; in xfrm_update_ae_params()
639 x->curlft.add_time = ltime->add_time; in xfrm_update_ae_params()
640 x->curlft.use_time = ltime->use_time; in xfrm_update_ae_params()
891 memcpy(&p->curlft, &x->curlft, sizeof(p->curlft)); in copy_to_user_state()
1830 memcpy(&p->curlft, &xp->curlft, sizeof(p->curlft)); in copy_to_user_policy()
2344 err = nla_put_64bit(skb, XFRMA_LTIME_VAL, sizeof(x->curlft), &x->curlft, in build_aevent()
Dxfrm_compat.c25 struct compat_xfrm_lifetime_cur curlft; member
36 struct compat_xfrm_lifetime_cur curlft; member
Dxfrm_input.c672 x->curlft.bytes += skb->len; in xfrm_input()
673 x->curlft.packets++; in xfrm_input()
Dxfrm_output.c535 x->curlft.bytes += skb->len; in xfrm_output_one()
536 x->curlft.packets++; in xfrm_output_one()
/linux-6.1.9/include/uapi/linux/
Dxfrm.h377 struct xfrm_lifetime_cur curlft; member
421 struct xfrm_lifetime_cur curlft; member
/linux-6.1.9/net/key/
Daf_key.c907 lifetime->sadb_lifetime_allocations = x->curlft.packets; in __pfkey_xfrm_state2msg()
908 lifetime->sadb_lifetime_bytes = x->curlft.bytes; in __pfkey_xfrm_state2msg()
909 lifetime->sadb_lifetime_addtime = x->curlft.add_time; in __pfkey_xfrm_state2msg()
910 lifetime->sadb_lifetime_usetime = x->curlft.use_time; in __pfkey_xfrm_state2msg()
2132 lifetime->sadb_lifetime_allocations = xp->curlft.packets; in pfkey_xfrm_policy2msg()
2133 lifetime->sadb_lifetime_bytes = xp->curlft.bytes; in pfkey_xfrm_policy2msg()
2134 lifetime->sadb_lifetime_addtime = xp->curlft.add_time; in pfkey_xfrm_policy2msg()
2135 lifetime->sadb_lifetime_usetime = xp->curlft.use_time; in pfkey_xfrm_policy2msg()
/linux-6.1.9/include/net/
Dxfrm.h251 struct xfrm_lifetime_cur curlft; member
524 struct xfrm_lifetime_cur curlft; member
/linux-6.1.9/net/core/
Dpktgen.c2670 x->curlft.bytes += skb->len; in pktgen_output_ipsec()
2671 x->curlft.packets++; in pktgen_output_ipsec()