X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Ftunnel.h;h=f175f1a150370a8839d4ca2941a9c9c07f50afdc;hb=42943cdef10197befc9acc8c6fdb632a210c055f;hp=19035c3effb0178fe8981bc618d051458da43284;hpb=e1939dbf92a60d0f235621f4d79661f47c5aed0c;p=sliver-openvswitch.git diff --git a/ofproto/tunnel.h b/ofproto/tunnel.h index 19035c3ef..f175f1a15 100644 --- a/ofproto/tunnel.h +++ b/ofproto/tunnel.h @@ -30,17 +30,16 @@ struct ofport_dpif; struct netdev; -struct tnl_port; bool tnl_port_reconfigure(const struct ofport_dpif *, const struct netdev *, - odp_port_t, struct tnl_port **); + odp_port_t); -struct tnl_port *tnl_port_add(const struct ofport_dpif *, const struct netdev *, - odp_port_t); -void tnl_port_del(struct tnl_port *); +void tnl_port_add(const struct ofport_dpif *, const struct netdev *, + odp_port_t odp_port); +void tnl_port_del(const struct ofport_dpif *); const struct ofport_dpif *tnl_port_receive(const struct flow *); -odp_port_t tnl_port_send(const struct tnl_port *, struct flow *, +odp_port_t tnl_port_send(const struct ofport_dpif *, struct flow *, struct flow_wildcards *wc); /* Returns true if 'flow' should be submitted to tnl_port_receive(). */