summaryrefslogtreecommitdiff
path: root/tests/test-classifier.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-05-11 12:13:10 -0700
committerBen Pfaff <blp@nicira.com>2011-05-11 12:35:09 -0700
commitabe529af477b8311a1fd68c130374bd7442003c3 (patch)
tree49101f12f5b35574965df39b1cc5a72f5b28f02d /tests/test-classifier.c
parentf79e673f3d3f429cd213043b054c904d23c7151a (diff)
downloadopenvswitch-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 'tests/test-classifier.c')
-rw-r--r--tests/test-classifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-classifier.c b/tests/test-classifier.c
index 9af8aacba..bb75dba1a 100644
--- a/tests/test-classifier.c
+++ b/tests/test-classifier.c
@@ -251,7 +251,7 @@ static ovs_be32 nw_dst_values[] = { CONSTANT_HTONL(0xc0a80002),
static ovs_be64 tun_id_values[] = {
0,
CONSTANT_HTONLL(UINT64_C(0xfedcba9876543210)) };
-static uint16_t in_port_values[] = { 1, ODPP_LOCAL };
+static uint16_t in_port_values[] = { 1, OFPP_LOCAL };
static ovs_be16 vlan_tci_values[] = { CONSTANT_HTONS(101), CONSTANT_HTONS(0) };
static ovs_be16 dl_type_values[]
= { CONSTANT_HTONS(ETH_TYPE_IP), CONSTANT_HTONS(ETH_TYPE_ARP) };