Searched refs:curlft (Results 1 – 12 of 12) sorted by relevance
| /linux-6.15/net/ipv6/ |
| H A D | xfrm6_input.c | 309 x->curlft.bytes += skb->len; in xfrm6_input_addr() 310 x->curlft.packets++; in xfrm6_input_addr()
|
| /linux-6.15/net/xfrm/ |
| H A D | xfrm_state.c | 655 x->curlft.add_time - now; in xfrm_timer_handler() 662 x->curlft.add_time = now - x->saved_tmo - 1; in xfrm_timer_handler() 672 (READ_ONCE(x->curlft.use_time) ? : now) - now; in xfrm_timer_handler() 682 x->curlft.add_time - now; in xfrm_timer_handler() 694 (READ_ONCE(x->curlft.use_time) ? : now) - now; in xfrm_timer_handler() 748 x->curlft.add_time = ktime_get_real_seconds(); in xfrm_state_alloc() 1344 (*best)->curlft.add_time < x->curlft.add_time)) in xfrm_state_look_at() 2044 memcpy(&x->curlft, &orig->curlft, sizeof(x->curlft)); in xfrm_state_clone() 2225 if (READ_ONCE(x1->curlft.use_time)) in xfrm_state_update() 2259 if (!READ_ONCE(x->curlft.use_time)) in xfrm_state_check_expire() [all …]
|
| H A D | xfrm_policy.c | 371 xp->curlft.add_time - now; in xfrm_policy_timer() 379 (READ_ONCE(xp->curlft.use_time) ? : xp->curlft.add_time) - now; in xfrm_policy_timer() 387 xp->curlft.add_time - now; in xfrm_policy_timer() 397 (READ_ONCE(xp->curlft.use_time) ? : xp->curlft.add_time) - now; in xfrm_policy_timer() 1613 policy->curlft.add_time = ktime_get_real_seconds(); in xfrm_policy_insert() 1614 policy->curlft.use_time = 0; in xfrm_policy_insert() 2393 pol->curlft.add_time = ktime_get_real_seconds(); in xfrm_sk_policy_insert() 2428 newp->curlft = old->curlft; in clone_policy() 3282 WRITE_ONCE(pols[i]->curlft.use_time, ktime_get_real_seconds()); in xfrm_lookup_with_ifid() 3776 WRITE_ONCE(pol->curlft.use_time, ktime_get_real_seconds()); in __xfrm_policy_check() [all …]
|
| H A D | xfrm_user.c | 824 x->curlft.bytes = ltime->bytes; in xfrm_update_ae_params() 825 x->curlft.packets = ltime->packets; in xfrm_update_ae_params() 826 x->curlft.add_time = ltime->add_time; in xfrm_update_ae_params() 827 x->curlft.use_time = ltime->use_time; in xfrm_update_ae_params() 1097 memcpy(&p->curlft, &x->curlft, sizeof(p->curlft)); in copy_to_user_state() 2135 memcpy(&p->curlft, &xp->curlft, sizeof(p->curlft)); in copy_to_user_policy() 2667 err = nla_put_64bit(skb, XFRMA_LTIME_VAL, sizeof(x->curlft), &x->curlft, in build_aevent()
|
| H A D | xfrm_compat.c | 26 struct compat_xfrm_lifetime_cur curlft; member 37 struct compat_xfrm_lifetime_cur curlft; member
|
| H A D | xfrm_input.c | 685 x->curlft.bytes += skb->len; in xfrm_input() 686 x->curlft.packets++; in xfrm_input()
|
| H A D | xfrm_output.c | 536 x->curlft.bytes += skb->len; in xfrm_output_one() 537 x->curlft.packets++; in xfrm_output_one()
|
| /linux-6.15/include/uapi/linux/ |
| H A D | xfrm.h | 393 struct xfrm_lifetime_cur curlft; member 437 struct xfrm_lifetime_cur curlft; member
|
| /linux-6.15/net/key/ |
| H A D | af_key.c | 907 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() 2136 lifetime->sadb_lifetime_allocations = xp->curlft.packets; in pfkey_xfrm_policy2msg() 2137 lifetime->sadb_lifetime_bytes = xp->curlft.bytes; in pfkey_xfrm_policy2msg() 2138 lifetime->sadb_lifetime_addtime = xp->curlft.add_time; in pfkey_xfrm_policy2msg() 2139 lifetime->sadb_lifetime_usetime = xp->curlft.use_time; in pfkey_xfrm_policy2msg()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | ipsec.c | 1028 x->curlft.packets += success_packets; in mlx5e_xfrm_update_stats() 1042 x->curlft.bytes += success_bytes - headers * success_packets; in mlx5e_xfrm_update_stats()
|
| /linux-6.15/include/net/ |
| H A D | xfrm.h | 278 struct xfrm_lifetime_cur curlft; member 641 struct xfrm_lifetime_cur curlft; member
|
| /linux-6.15/net/core/ |
| H A D | pktgen.c | 2720 x->curlft.bytes += skb->len; in pktgen_output_ipsec() 2721 x->curlft.packets++; in pktgen_output_ipsec()
|