Searched refs:_X2KEY (Results 1 – 1 of 1) sorted by relevance
32 #define _X2KEY(x) ((x) == XFRM_INF ? 0 : (x)) macro886 lifetime->sadb_lifetime_allocations = _X2KEY(x->lft.hard_packet_limit); in __pfkey_xfrm_state2msg()887 lifetime->sadb_lifetime_bytes = _X2KEY(x->lft.hard_byte_limit); in __pfkey_xfrm_state2msg()897 lifetime->sadb_lifetime_allocations = _X2KEY(x->lft.soft_packet_limit); in __pfkey_xfrm_state2msg()898 lifetime->sadb_lifetime_bytes = _X2KEY(x->lft.soft_byte_limit); in __pfkey_xfrm_state2msg()2117 lifetime->sadb_lifetime_allocations = _X2KEY(xp->lft.hard_packet_limit); in pfkey_xfrm_policy2msg()2118 lifetime->sadb_lifetime_bytes = _X2KEY(xp->lft.hard_byte_limit); in pfkey_xfrm_policy2msg()2126 lifetime->sadb_lifetime_allocations = _X2KEY(xp->lft.soft_packet_limit); in pfkey_xfrm_policy2msg()2127 lifetime->sadb_lifetime_bytes = _X2KEY(xp->lft.soft_byte_limit); in pfkey_xfrm_policy2msg()