summaryrefslogtreecommitdiff
path: root/datapath-windows/include
diff options
context:
space:
mode:
authorEitan Eliahu <eliahue@vmware.com>2014-10-15 02:14:03 -0700
committerBen Pfaff <blp@nicira.com>2014-10-15 14:15:42 -0700
commit1293a6280412134413d9120422457d6afb6d7919 (patch)
treeda146d314cb6eb6784ef594f5ec1c81af6fe33f3 /datapath-windows/include
parentcd5303d0382bca2983031c3bbd4c0172da452c6f (diff)
downloadopenvswitch-1293a6280412134413d9120422457d6afb6d7919.tar.gz
datapath-windows: Upcall NL packet format: Queue elem for packe in NL format.
[1] Allocate a queue element and space to hold the packet, key, tunnel key and user data in NL format. [2] Format the NL header [3] Store packet, key, tunnel key and user data in NL format [4] Calculates and insert checksum if offloaded. signed-off-by: Eitan Eliahu <eliahue@vmware.com> Acked-by: Ankur Sharma <ankursharma@vmware.com> Acked-by: Nithin Raju <nithin@vmware.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'datapath-windows/include')
-rw-r--r--datapath-windows/include/OvsPub.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/datapath-windows/include/OvsPub.h b/datapath-windows/include/OvsPub.h
index e94dacfe2..14a1f3d58 100644
--- a/datapath-windows/include/OvsPub.h
+++ b/datapath-windows/include/OvsPub.h
@@ -417,6 +417,7 @@ typedef struct _OVS_PACKET_INFO {
uint32_t inPort;
uint32_t cmd;
OvsIPv4TunnelKey tunnelKey;
+ uint8_t *payload;
/* Includes user data defined as chain of netlink attributes followed by the
* packet data. */
uint8_t data[0];