diff options
author | Ethan Jackson <ethan@nicira.com> | 2013-06-18 14:40:30 -0700 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2013-06-28 02:55:20 -0700 |
commit | e1939dbf92a60d0f235621f4d79661f47c5aed0c (patch) | |
tree | 41e63285a29ffb58eb7bed91c472f8e89a9ad6ea /ofproto/tunnel.h | |
parent | ea5e3887dbf4bd1ae48649b228a07f5daecc59b2 (diff) | |
download | openvswitch-e1939dbf92a60d0f235621f4d79661f47c5aed0c.tar.gz |
tunnel: Use ofport_dpif instead of ofport.
Necessary in a future patch.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ofproto/tunnel.h')
-rw-r--r-- | ofproto/tunnel.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/ofproto/tunnel.h b/ofproto/tunnel.h index 343eb9697..19035c3ef 100644 --- a/ofproto/tunnel.h +++ b/ofproto/tunnel.h @@ -28,16 +28,18 @@ * These functions emulate tunnel virtual ports based on the outer * header information from the kernel. */ -struct ofport; +struct ofport_dpif; +struct netdev; struct tnl_port; -bool tnl_port_reconfigure(const struct ofport *, odp_port_t odp_port, - struct tnl_port **); +bool tnl_port_reconfigure(const struct ofport_dpif *, const struct netdev *, + odp_port_t, struct tnl_port **); -struct tnl_port *tnl_port_add(const struct ofport *, odp_port_t odp_port); +struct tnl_port *tnl_port_add(const struct ofport_dpif *, const struct netdev *, + odp_port_t); void tnl_port_del(struct tnl_port *); -const struct ofport *tnl_port_receive(const struct flow *); +const struct ofport_dpif *tnl_port_receive(const struct flow *); odp_port_t tnl_port_send(const struct tnl_port *, struct flow *, struct flow_wildcards *wc); |