Home
last modified time | relevance | path

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

/linux-6.6.21/net/ipv6/
Dxfrm6_input.c248 x->curlft.bytes += skb->len; in xfrm6_input_addr()
249 x->curlft.packets++; in xfrm6_input_addr()
/linux-6.6.21/net/xfrm/
Dxfrm_state.c581 x->curlft.add_time - now; in xfrm_timer_handler()
588 x->curlft.add_time = now - x->saved_tmo - 1; in xfrm_timer_handler()
598 (READ_ONCE(x->curlft.use_time) ? : now) - now; in xfrm_timer_handler()
608 x->curlft.add_time - now; in xfrm_timer_handler()
620 (READ_ONCE(x->curlft.use_time) ? : now) - now; in xfrm_timer_handler()
673 x->curlft.add_time = ktime_get_real_seconds(); in xfrm_state_alloc()
1121 (*best)->curlft.add_time < x->curlft.add_time)) in xfrm_state_look_at()
1738 memcpy(&x->curlft, &orig->curlft, sizeof(x->curlft)); in xfrm_state_clone()
1906 if (READ_ONCE(x1->curlft.use_time)) in xfrm_state_update()
1940 if (!READ_ONCE(x->curlft.use_time)) in xfrm_state_check_expire()
[all …]
Dxfrm_policy.c331 xp->curlft.add_time - now; in xfrm_policy_timer()
339 (READ_ONCE(xp->curlft.use_time) ? : xp->curlft.add_time) - now; in xfrm_policy_timer()
347 xp->curlft.add_time - now; in xfrm_policy_timer()
357 (READ_ONCE(xp->curlft.use_time) ? : xp->curlft.add_time) - now; in xfrm_policy_timer()
1609 policy->curlft.add_time = ktime_get_real_seconds(); in xfrm_policy_insert()
1610 policy->curlft.use_time = 0; in xfrm_policy_insert()
2351 pol->curlft.add_time = ktime_get_real_seconds(); in xfrm_sk_policy_insert()
2386 newp->curlft = old->curlft; in clone_policy()
3223 WRITE_ONCE(pols[i]->curlft.use_time, ktime_get_real_seconds()); in xfrm_lookup_with_ifid()
3680 WRITE_ONCE(pol->curlft.use_time, ktime_get_real_seconds()); in __xfrm_policy_check()
[all …]
Dxfrm_user.c650 x->curlft.bytes = ltime->bytes; in xfrm_update_ae_params()
651 x->curlft.packets = ltime->packets; in xfrm_update_ae_params()
652 x->curlft.add_time = ltime->add_time; in xfrm_update_ae_params()
653 x->curlft.use_time = ltime->use_time; in xfrm_update_ae_params()
906 memcpy(&p->curlft, &x->curlft, sizeof(p->curlft)); in copy_to_user_state()
1907 memcpy(&p->curlft, &xp->curlft, sizeof(p->curlft)); in copy_to_user_policy()
2435 err = nla_put_64bit(skb, XFRMA_LTIME_VAL, sizeof(x->curlft), &x->curlft, in build_aevent()
Dxfrm_compat.c26 struct compat_xfrm_lifetime_cur curlft; member
37 struct compat_xfrm_lifetime_cur curlft; member
Dxfrm_input.c657 x->curlft.bytes += skb->len; in xfrm_input()
658 x->curlft.packets++; in xfrm_input()
Dxfrm_output.c534 x->curlft.bytes += skb->len; in xfrm_output_one()
535 x->curlft.packets++; in xfrm_output_one()
/linux-6.6.21/include/uapi/linux/
Dxfrm.h377 struct xfrm_lifetime_cur curlft; member
421 struct xfrm_lifetime_cur curlft; member
/linux-6.6.21/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()
2135 lifetime->sadb_lifetime_allocations = xp->curlft.packets; in pfkey_xfrm_policy2msg()
2136 lifetime->sadb_lifetime_bytes = xp->curlft.bytes; in pfkey_xfrm_policy2msg()
2137 lifetime->sadb_lifetime_addtime = xp->curlft.add_time; in pfkey_xfrm_policy2msg()
2138 lifetime->sadb_lifetime_usetime = xp->curlft.use_time; in pfkey_xfrm_policy2msg()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec.c994 x->curlft.packets += packets; in mlx5e_xfrm_update_curlft()
995 x->curlft.bytes += bytes; in mlx5e_xfrm_update_curlft()
/linux-6.6.21/include/net/
Dxfrm.h264 struct xfrm_lifetime_cur curlft; member
537 struct xfrm_lifetime_cur curlft; member
/linux-6.6.21/net/core/
Dpktgen.c2665 x->curlft.bytes += skb->len; in pktgen_output_ipsec()
2666 x->curlft.packets++; in pktgen_output_ipsec()