summaryrefslogtreecommitdiff
path: root/datapath-windows/ovsext/DpInternal.h
diff options
context:
space:
mode:
authorAlin Serdean <aserdean@cloudbasesolutions.com>2015-09-30 21:00:43 +0000
committerBen Pfaff <blp@nicira.com>2015-10-02 07:20:30 -0700
commit84173c87087670917c9c41de19ec78f2da4a9fb6 (patch)
tree7065c8bc8b6f9bf9d1ae9a007147f65d51d1bfc3 /datapath-windows/ovsext/DpInternal.h
parent21c5b0f755f7b532b7fbd62b08f3b885b0f6f5e3 (diff)
downloadopenvswitch-84173c87087670917c9c41de19ec78f2da4a9fb6.tar.gz
datapath-windows: Fix IP fragmentation
Currently in the case of IP fragmentation we send to the userspace that the flag for the last fragment is 3 when it actually should be a value between 0..2. This patch fixes the problem and also uses the values used in the common header of the datapath. Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Acked-by: Nithin Raju <nithin@vmware.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'datapath-windows/ovsext/DpInternal.h')
-rw-r--r--datapath-windows/ovsext/DpInternal.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/datapath-windows/ovsext/DpInternal.h b/datapath-windows/ovsext/DpInternal.h
index 3da9d6afa..8de48a2c7 100644
--- a/datapath-windows/ovsext/DpInternal.h
+++ b/datapath-windows/ovsext/DpInternal.h
@@ -62,12 +62,6 @@ typedef struct _OVS_VPORT_EXT_INFO {
* that is, pure 802.2 frames. */
#define OVSWIN_DL_TYPE_NONE 0x5ff
-/* Fragment bits, used for IPv4 and IPv6, always zero for non-IP flows. */
-#define OVSWIN_NW_FRAG_ANY (1 << 0) /* Set for any IP frag. */
-#define OVSWIN_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero
- * offset. */
-#define OVSWIN_NW_FRAG_MASK (OVSWIN_NW_FRAG_ANY | OVSWIN_NW_FRAG_LATER)
-
typedef struct L4Key {
ovs_be16 tpSrc; /* TCP/UDP/SCTP source port. */
ovs_be16 tpDst; /* TCP/UDP/SCTP destination port. */