Searched refs:_KEY2X (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/net/key/
H A Daf_key.c37 #define _KEY2X(x) ((x) == 0 ? XFRM_INF : (x)) macro
1111 x->lft.hard_packet_limit = _KEY2X(lifetime->sadb_lifetime_allocations); pfkey_msg2xfrm_state()
1112 x->lft.hard_byte_limit = _KEY2X(lifetime->sadb_lifetime_bytes); pfkey_msg2xfrm_state()
1118 x->lft.soft_packet_limit = _KEY2X(lifetime->sadb_lifetime_allocations); pfkey_msg2xfrm_state()
1119 x->lft.soft_byte_limit = _KEY2X(lifetime->sadb_lifetime_bytes); pfkey_msg2xfrm_state()
2262 xp->lft.hard_packet_limit = _KEY2X(lifetime->sadb_lifetime_allocations); pfkey_spdadd()
2263 xp->lft.hard_byte_limit = _KEY2X(lifetime->sadb_lifetime_bytes); pfkey_spdadd()
2268 xp->lft.soft_packet_limit = _KEY2X(lifetime->sadb_lifetime_allocations); pfkey_spdadd()
2269 xp->lft.soft_byte_limit = _KEY2X(lifetime->sadb_lifetime_bytes); pfkey_spdadd()

Completed in 68 milliseconds