Searched refs:curlft (Results 1 – 10 of 10) sorted by relevance
/linux/net/ipv6/ |
H A D | xfrm6_input.c | 312 x->curlft.bytes += skb->len; in xfrm6_input_addr() 313 x->curlft.packets++; in xfrm6_input_addr()
|
/linux/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() 1331 (*best)->curlft.add_time < x->curlft.add_time)) in xfrm_state_look_at() 2051 memcpy(&x->curlft, &orig->curlft, sizeof(x->curlft)); in xfrm_state_clone_and_setup() 2239 if (READ_ONCE(x1->curlft.use_time)) in xfrm_state_update() 2278 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 | 856 x->curlft.bytes = ltime->bytes; in xfrm_update_ae_params() 857 x->curlft.packets = ltime->packets; in xfrm_update_ae_params() 858 x->curlft.add_time = ltime->add_time; in xfrm_update_ae_params() 859 x->curlft.use_time = ltime->use_time; in xfrm_update_ae_params() 1130 memcpy(&p->curlft, &x->curlft, sizeof(p->curlft)); in copy_to_user_state() 2168 memcpy(&p->curlft, &xp->curlft, sizeof(p->curlft)); in copy_to_user_policy() 2700 err = nla_put_64bit(skb, XFRMA_LTIME_VAL, sizeof(x->curlft), &x->curlft, in build_aevent()
|
H A D | xfrm_input.c | 686 x->curlft.bytes += skb->len; in xfrm_input() 687 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/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/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec.c | 1100 x->curlft.packets += success_packets; in mlx5e_xfrm_update_stats() 1114 x->curlft.bytes += success_bytes - headers * success_packets; in mlx5e_xfrm_update_stats()
|
/linux/include/net/ |
H A D | xfrm.h | 289 struct xfrm_lifetime_cur curlft; member 651 struct xfrm_lifetime_cur curlft; member
|
/linux/net/core/ |
H A D | pktgen.c | 2730 x->curlft.bytes += skb->len; in free_SAs() 2731 x->curlft.packets++; in free_SAs()
|