datapath-windows: use correct dst port during Vxlan Tx
authorNithin Raju <nithin@vmware.com>
Fri, 19 Jun 2015 16:13:08 +0000 (09:13 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Fri, 19 Jun 2015 19:57:07 +0000 (12:57 -0700)
commit0b623ad5a8b8ab2a8b7441bd43579eb52bdc672f
tree950f38776008ce149abb91fd9d22fa331d32e9ae
parent2d34dbd9e1706b71bad630a9c8d8851dd511ce24
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>
datapath-windows/ovsext/Actions.c
datapath-windows/ovsext/Stt.c
datapath-windows/ovsext/Vxlan.c
datapath-windows/ovsext/Vxlan.h