summaryrefslogtreecommitdiff
path: root/datapath-windows/ovsext/Vxlan.h
diff options
context:
space:
mode:
authorNithin Raju <nithin@vmware.com>2015-06-19 09:13:08 -0700
committerGurucharan Shetty <gshetty@nicira.com>2015-06-19 12:57:07 -0700
commit0b623ad5a8b8ab2a8b7441bd43579eb52bdc672f (patch)
tree950f38776008ce149abb91fd9d22fa331d32e9ae /datapath-windows/ovsext/Vxlan.h
parent2d34dbd9e1706b71bad630a9c8d8851dd511ce24 (diff)
downloadopenvswitch-0b623ad5a8b8ab2a8b7441bd43579eb52bdc672f.tar.gz
datapath-windows: use correct dst port during Vxlan Tx
A previous commit used the wrong DST port in the UDP header during Vxlan Tx which caused Vxlan tunneling to break. Fixing it here.. Also included is a cosmetic fix in OvsDetectTunnelRxPkt() where we were using htons() instead of ntohs(). Doesn't make a difference in practice though. One more change is, OvsIpHlprCbVxlan() has been nuked since it is not used. Not sure if it is worth being resurrected. Testing done: Ping across Vxlan tunnel and Stt tunnel. Signed-off-by: Nithin Raju <nithin@vmware.com> Reported-by: Eitan Eliahu <eliahue@vmware.com> Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Diffstat (limited to 'datapath-windows/ovsext/Vxlan.h')
-rw-r--r--datapath-windows/ovsext/Vxlan.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/datapath-windows/ovsext/Vxlan.h b/datapath-windows/ovsext/Vxlan.h
index 448ee9722..b010af02d 100644
--- a/datapath-windows/ovsext/Vxlan.h
+++ b/datapath-windows/ovsext/Vxlan.h
@@ -62,7 +62,8 @@ NTSTATUS OvsCleanupVxlanTunnel(PIRP irp,
NDIS_STATUS OvsSlowPathDecapVxlan(const PNET_BUFFER_LIST packet,
OvsIPv4TunnelKey *tunnelKey);
-NDIS_STATUS OvsEncapVxlan(PNET_BUFFER_LIST curNbl,
+NDIS_STATUS OvsEncapVxlan(POVS_VPORT_ENTRY vport,
+ PNET_BUFFER_LIST curNbl,
OvsIPv4TunnelKey *tunKey,
POVS_SWITCH_CONTEXT switchContext,
POVS_PACKET_HDR_INFO layers,