summaryrefslogtreecommitdiff
path: root/include/openflow
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-11-11 10:46:23 -0800
committerBen Pfaff <blp@nicira.com>2010-11-11 10:46:23 -0800
commit1e37a2d75196c6e10ac078213ad94afb4f3e219a (patch)
tree7cd21f2d63ac0b70ab7c91e68eb4aee748f445e9 /include/openflow
parentb6c9e612fa0801037c60339a931d29413e8fa08f (diff)
downloadopenvswitch-1e37a2d75196c6e10ac078213ad94afb4f3e219a.tar.gz
Add support for matching Ethernet multicast frames.
Diffstat (limited to 'include/openflow')
-rw-r--r--include/openflow/nicira-ext.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/openflow/nicira-ext.h b/include/openflow/nicira-ext.h
index 3a4a69401..3c2856f9e 100644
--- a/include/openflow/nicira-ext.h
+++ b/include/openflow/nicira-ext.h
@@ -669,8 +669,12 @@ OFP_ASSERT(sizeof(struct nx_action_reg_load) == 24);
*
* Format: 48-bit Ethernet MAC address.
*
- * Masking: Not maskable. */
+ * Masking: The nxm_mask patterns 01:00:00:00:00:00 and FE:FF:FF:FF:FF:FF must
+ * be supported for NXM_OF_ETH_DST_W (as well as the trivial patterns that
+ * are all-0-bits or all-1-bits). Support for other patterns and for masking
+ * of NXM_OF_ETH_SRC is optional. */
#define NXM_OF_ETH_DST NXM_HEADER (0x0000, 1, 6)
+#define NXM_OF_ETH_DST_W NXM_HEADER_W(0x0000, 1, 6)
#define NXM_OF_ETH_SRC NXM_HEADER (0x0000, 2, 6)
/* Packet's Ethernet type.