~james-page/ubuntu/saucy/openvswitch/1.12-snapshot

« back to all changes in this revision

Viewing changes to ofproto/tunnel.h

  • Committer: James Page
  • Date: 2013-08-21 10:16:57 UTC
  • mfrom: (1.1.20)
  • Revision ID: james.page@canonical.com-20130821101657-3o0z0qeiv5zkwlzi
New upstream snapshot

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 * These functions emulate tunnel virtual ports based on the outer
29
29
 * header information from the kernel. */
30
30
 
31
 
struct ofport;
32
 
struct tnl_port;
33
 
 
34
 
bool tnl_port_reconfigure(const struct ofport *, uint32_t odp_port,
35
 
                          struct tnl_port **);
36
 
 
37
 
struct tnl_port *tnl_port_add(const struct ofport *, uint32_t odp_port);
38
 
void tnl_port_del(struct tnl_port *);
39
 
 
40
 
const struct ofport *tnl_port_receive(struct flow *);
41
 
uint32_t tnl_port_send(const struct tnl_port *, struct flow *);
 
31
struct ofport_dpif;
 
32
struct netdev;
 
33
 
 
34
bool tnl_port_reconfigure(const struct ofport_dpif *, const struct netdev *,
 
35
                          odp_port_t);
 
36
 
 
37
void tnl_port_add(const struct ofport_dpif *, const struct netdev *,
 
38
                  odp_port_t odp_port);
 
39
void tnl_port_del(const struct ofport_dpif *);
 
40
 
 
41
const struct ofport_dpif *tnl_port_receive(const struct flow *);
 
42
odp_port_t tnl_port_send(const struct ofport_dpif *, struct flow *,
 
43
                         struct flow_wildcards *wc);
42
44
 
43
45
/* Returns true if 'flow' should be submitted to tnl_port_receive(). */
44
46
static inline bool