diff options
author | Justin Pettit <jpettit@nicira.com> | 2011-11-02 23:34:15 -0700 |
---|---|---|
committer | Justin Pettit <jpettit@nicira.com> | 2011-11-09 10:47:59 -0800 |
commit | 530180fd5a99e2c55107831f99fee84d6780f38c (patch) | |
tree | e2189533fe8c1e80a818439118ba55a344694fa0 /include | |
parent | 9e44d715638af28689b15ef0c5be920e61c7997b (diff) |
Support matching and modifying IP ECN bits.
Signed-off-by: Justin Pettit <jpettit@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/openflow/nicira-ext.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/openflow/nicira-ext.h b/include/openflow/nicira-ext.h index 394d43d1..b55ea9d0 100644 --- a/include/openflow/nicira-ext.h +++ b/include/openflow/nicira-ext.h @@ -1623,6 +1623,15 @@ OFP_ASSERT(sizeof(struct nx_action_output_reg) == 24); * Masking: Not maskable. */ #define NXM_NX_IPV6_LABEL NXM_HEADER (0x0001, 27, 4) +/* The ECN of the IP header. + * + * Prereqs: NXM_OF_ETH_TYPE must be either 0x0800 or 0x86dd. + * + * Format: ECN in the low-order 2 bits. + * + * Masking: Not maskable. */ +#define NXM_NX_IP_ECN NXM_HEADER (0x0001, 28, 1) + /* ## --------------------- ## */ /* ## Requests and replies. ## */ /* ## --------------------- ## */ |