summaryrefslogtreecommitdiff
path: root/ofproto/tunnel.h
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2013-08-06 12:57:14 -0700
committerJesse Gross <jesse@nicira.com>2013-08-13 14:39:47 -0700
commit62a7cc71f56ff6a2e943db3d1db238bf7ecd8bc9 (patch)
treef810e4ebaf13be31b54d45e2b0d8230278beb158 /ofproto/tunnel.h
parent1362e248d68a8b7de3e6ec3689245e4dc882292b (diff)
downloadopenvswitch-62a7cc71f56ff6a2e943db3d1db238bf7ecd8bc9.tar.gz
tunnel: Consolidate action code for tunnel port receive.
There are a couple of operations that are related to receiving a packet on a tunnel port but that affect the actions and therefore need to be performed on the output path. This adds a new hook to do this and consolidates the existing code there. Signed-off-by: Jesse Gross <jesse@nicira.com> Acked-by: Andy Zhou <azhou@nicira.com>
Diffstat (limited to 'ofproto/tunnel.h')
-rw-r--r--ofproto/tunnel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ofproto/tunnel.h b/ofproto/tunnel.h
index f175f1a15..afe78ab80 100644
--- a/ofproto/tunnel.h
+++ b/ofproto/tunnel.h
@@ -39,6 +39,8 @@ void tnl_port_add(const struct ofport_dpif *, const struct netdev *,
void tnl_port_del(const struct ofport_dpif *);
const struct ofport_dpif *tnl_port_receive(const struct flow *);
+bool tnl_xlate_init(const struct flow *base_flow, struct flow *flow,
+ struct flow_wildcards *);
odp_port_t tnl_port_send(const struct ofport_dpif *, struct flow *,
struct flow_wildcards *wc);