IPSA_F_TUNNEL
if (!(retval->ipsa_flags & IPSA_F_TUNNEL))
if (retval->ipsa_flags & IPSA_F_TUNNEL)
tunnel_mode = (assoc->ipsa_flags & IPSA_F_TUNNEL);