-/* Copyright (c) 2009, 2010, 2011, 2012, 2013, 2014, 2015 Nicira, Inc.
+/* Copyright (c) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
struct xlate_out {
enum slow_path_reason slow; /* 0 if fast path may be used. */
- bool fail_open; /* Initial rule is fail open? */
struct recirc_refs recircs; /* Recirc action IDs on which references are
* held. */
* set. */
struct flow_wildcards *wc;
- /* The recirculation context related to this translation, as returned by
- * xlate_lookup. */
- const struct recirc_id_node *recirc;
+ /* The frozen state to be resumed, as returned by xlate_lookup(). */
+ const struct frozen_state *frozen_state;
};
void xlate_ofproto_set(struct ofproto_dpif *, const char *name, struct dpif *,
void xlate_out_uninit(struct xlate_out *);
void xlate_actions_for_side_effects(struct xlate_in *);
+enum ofperr xlate_resume(struct ofproto_dpif *,
+ const struct ofputil_packet_in_private *,
+ struct ofpbuf *odp_actions, enum slow_path_reason *);
+
int xlate_send_packet(const struct ofport_dpif *, struct dp_packet *);
struct xlate_cache *xlate_cache_new(void);