Searched refs:curlft (Results 1 – 12 of 12) 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 | 657 x->curlft.add_time - now; in xfrm_timer_handler() 664 x->curlft.add_time = now - x->saved_tmo - 1; in xfrm_timer_handler() 674 (READ_ONCE(x->curlft.use_time) ? : now) - now; in xfrm_timer_handler() 684 x->curlft.add_time - now; in xfrm_timer_handler() 696 (READ_ONCE(x->curlft.use_time) ? : now) - now; in xfrm_timer_handler() 750 x->curlft.add_time = ktime_get_real_seconds(); in xfrm_state_alloc() 1332 (*best)->curlft.add_time < x->curlft.add_time)) in xfrm_state_look_at() 2052 memcpy(&x->curlft, &orig->curlft, sizeof(x->curlft)); in xfrm_state_clone_and_setup() 2249 if (READ_ONCE(x1->curlft.use_time)) in xfrm_state_update() 2289 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 | 865 x->curlft.bytes = ltime->bytes; in xfrm_update_ae_params() 866 x->curlft.packets = ltime->packets; in xfrm_update_ae_params() 867 x->curlft.add_time = ltime->add_time; in xfrm_update_ae_params() 868 x->curlft.use_time = ltime->use_time; in xfrm_update_ae_params() 1142 memcpy(&p->curlft, &x->curlft, sizeof(p->curlft)); in copy_to_user_state() 2181 memcpy(&p->curlft, &xp->curlft, sizeof(p->curlft)); in copy_to_user_policy() 2713 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 | 689 x->curlft.bytes += skb->len; in xfrm_input() 690 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/include/uapi/linux/ |
| H A D | xfrm.h | 393 struct xfrm_lifetime_cur curlft; member 437 struct xfrm_lifetime_cur curlft; member
|
| /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 | 1118 x->curlft.packets += success_packets; in mlx5e_xfrm_update_stats() 1132 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 652 struct xfrm_lifetime_cur curlft; member
|
| /linux/net/core/ |
| H A D | pktgen.c | 2732 x->curlft.bytes += skb->len; in pktgen_output_ipsec() 2733 x->curlft.packets++; in pktgen_output_ipsec()
|