Searched refs:lft (Results 1 – 11 of 11) sorted by relevance
890 lifetime->sadb_lifetime_allocations = _X2KEY(x->lft.hard_packet_limit); in __pfkey_xfrm_state2msg()891 lifetime->sadb_lifetime_bytes = _X2KEY(x->lft.hard_byte_limit); in __pfkey_xfrm_state2msg()892 lifetime->sadb_lifetime_addtime = x->lft.hard_add_expires_seconds; in __pfkey_xfrm_state2msg()893 lifetime->sadb_lifetime_usetime = x->lft.hard_use_expires_seconds; in __pfkey_xfrm_state2msg()901 lifetime->sadb_lifetime_allocations = _X2KEY(x->lft.soft_packet_limit); in __pfkey_xfrm_state2msg()902 lifetime->sadb_lifetime_bytes = _X2KEY(x->lft.soft_byte_limit); in __pfkey_xfrm_state2msg()903 lifetime->sadb_lifetime_addtime = x->lft.soft_add_expires_seconds; in __pfkey_xfrm_state2msg()904 lifetime->sadb_lifetime_usetime = x->lft.soft_use_expires_seconds; in __pfkey_xfrm_state2msg()1143 x->lft.hard_packet_limit = _KEY2X(lifetime->sadb_lifetime_allocations); in pfkey_msg2xfrm_state()1144 x->lft.hard_byte_limit = _KEY2X(lifetime->sadb_lifetime_bytes); in pfkey_msg2xfrm_state()[all …]
534 if (x->lft.hard_add_expires_seconds) { in xfrm_timer_handler()535 long tmo = x->lft.hard_add_expires_seconds + in xfrm_timer_handler()544 tmo = x->lft.hard_add_expires_seconds - x->saved_tmo; in xfrm_timer_handler()551 if (x->lft.hard_use_expires_seconds) { in xfrm_timer_handler()552 long tmo = x->lft.hard_use_expires_seconds + in xfrm_timer_handler()561 if (x->lft.soft_add_expires_seconds) { in xfrm_timer_handler()562 long tmo = x->lft.soft_add_expires_seconds + in xfrm_timer_handler()573 if (x->lft.soft_use_expires_seconds) { in xfrm_timer_handler()574 long tmo = x->lft.soft_use_expires_seconds + in xfrm_timer_handler()628 x->lft.soft_byte_limit = XFRM_INF; in xfrm_state_alloc()[all …]
502 memcpy(&x->lft, &p->lft, sizeof(x->lft)); in copy_from_user_state()800 memcpy(&p->lft, &x->lft, sizeof(p->lft)); in copy_to_user_state()1647 memcpy(&xp->lft, &p->lft, sizeof(xp->lft)); in copy_from_user_policy()1658 memcpy(&p->lft, &xp->lft, sizeof(p->lft)); in copy_to_user_policy()
24 struct compat_xfrm_lifetime_cfg lft; member35 struct compat_xfrm_lifetime_cfg lft; member
329 if (xp->lft.hard_add_expires_seconds) { in xfrm_policy_timer()330 time64_t tmo = xp->lft.hard_add_expires_seconds + in xfrm_policy_timer()337 if (xp->lft.hard_use_expires_seconds) { in xfrm_policy_timer()338 time64_t tmo = xp->lft.hard_use_expires_seconds + in xfrm_policy_timer()345 if (xp->lft.soft_add_expires_seconds) { in xfrm_policy_timer()346 time64_t tmo = xp->lft.soft_add_expires_seconds + in xfrm_policy_timer()355 if (xp->lft.soft_use_expires_seconds) { in xfrm_policy_timer()356 time64_t tmo = xp->lft.soft_use_expires_seconds + in xfrm_policy_timer()2306 newp->lft = old->lft; in clone_policy()
958 req.info.lft.soft_byte_limit = XFRM_INF; in xfrm_state_add()959 req.info.lft.hard_byte_limit = XFRM_INF; in xfrm_state_add()960 req.info.lft.soft_packet_limit = XFRM_INF; in xfrm_state_add()961 req.info.lft.hard_packet_limit = XFRM_INF; in xfrm_state_add()1001 if (info->lft.soft_byte_limit != XFRM_INF || in xfrm_usersa_found()1002 info->lft.hard_byte_limit != XFRM_INF || in xfrm_usersa_found()1003 info->lft.soft_packet_limit != XFRM_INF || in xfrm_usersa_found()1004 info->lft.hard_packet_limit != XFRM_INF) in xfrm_usersa_found()1134 req.info.lft.soft_byte_limit = XFRM_INF; in xfrm_policy_add()1135 req.info.lft.hard_byte_limit = XFRM_INF; in xfrm_policy_add()[all …]
254 lft=$(((RANDOM%3) + 1))255 ip addr add 10.23.11.$i/32 dev "$devdummy" preferred_lft $lft valid_lft $((lft+1))
312 struct xfrm_lifetime_cfg lft; member351 struct xfrm_lifetime_cfg lft; member
299 struct xfrm_lifetime_cfg lft; member337 struct xfrm_lifetime_cfg lft; member
376 struct xfrm_lifetime_cfg lft; member420 struct xfrm_lifetime_cfg lft; member
187 struct xfrm_lifetime_cfg lft; member520 struct xfrm_lifetime_cfg lft; member