aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-10-05 11:06:12 -0700
committerBen Pfaff <blp@nicira.com>2011-10-11 10:37:25 -0700
commit3ee8a9f0027bbcbc92358048bb6e858eb32fe504 (patch)
tree4e8e3298e944b785dcc8b1ff0e591aaf782ce344 /include
parent2cd2c2ef3d901c4ef1339e3e8459c64508bee167 (diff)
openflow: Delete icmp_type and icmp_code macros.
These macros caused trouble if datapath-protocol.h was included before openflow.h. Later references to the icmp_type and icmp_code members of struct ovs_key_icmp caused compiler errors, because the macros caused them to try to refer to nonexistent tp_src and tp_dst members in those structures.
Diffstat (limited to 'include')
-rw-r--r--include/openflow/openflow.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/openflow/openflow.h b/include/openflow/openflow.h
index 0dad50d1..fd8fbeb1 100644
--- a/include/openflow/openflow.h
+++ b/include/openflow/openflow.h
@@ -536,11 +536,6 @@ struct ofp_match {
};
OFP_ASSERT(sizeof(struct ofp_match) == 40);
-/* The match fields for ICMP type and code use the transport source and
- * destination port fields, respectively. */
-#define icmp_type tp_src
-#define icmp_code tp_dst
-
/* Value used in "idle_timeout" and "hard_timeout" to indicate that the entry
* is permanent. */
#define OFP_FLOW_PERMANENT 0