diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-05-11 12:13:10 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-05-11 12:35:09 -0700 |
| commit | abe529af477b8311a1fd68c130374bd7442003c3 (patch) | |
| tree | 49101f12f5b35574965df39b1cc5a72f5b28f02d /lib/flow.h | |
| parent | f79e673f3d3f429cd213043b054c904d23c7151a (diff) | |
| download | openvswitch-abe529af477b8311a1fd68c130374bd7442003c3.tar.gz | |
ofproto: Break apart into generic and hardware-specific parts.
In addition to the changes to ofproto, this commit changes all of the
instances of "struct flow" in the tree so that the "in_port" member is an
OpenFlow port number. Previously, this member was an OpenFlow port number
in some cases and an ODP port number in other cases.
Diffstat (limited to 'lib/flow.h')
| -rw-r--r-- | lib/flow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/flow.h b/lib/flow.h index 60229f58d..f5f965c5b 100644 --- a/lib/flow.h +++ b/lib/flow.h @@ -45,7 +45,7 @@ struct flow { uint32_t regs[FLOW_N_REGS]; /* Registers. */ ovs_be32 nw_src; /* IPv4 source address. */ ovs_be32 nw_dst; /* IPv4 destination address. */ - uint16_t in_port; /* Input switch port. */ + uint16_t in_port; /* OpenFlow port number of input port. */ ovs_be16 vlan_tci; /* If 802.1Q, TCI | VLAN_CFI; otherwise 0. */ ovs_be16 dl_type; /* Ethernet frame type. */ ovs_be16 tp_src; /* TCP/UDP source port. */ |
