diff options
author | Yin Lin <linyi@vmware.com> | 2017-04-20 15:26:08 -0700 |
---|---|---|
committer | Gurucharan Shetty <guru@ovn.org> | 2017-04-21 10:06:03 -0700 |
commit | ae584afe5d2b62eda6623f73bd9b34bbf9365651 (patch) | |
tree | a047ab7715adc5bec59651694642e60707a4edfb /datapath-windows/ovsext/Conntrack.c | |
parent | 42c1e58e2952982568290a6e2fe9a6a84c355912 (diff) | |
download | openvswitch-ae584afe5d2b62eda6623f73bd9b34bbf9365651.tar.gz |
datapath-windows: Pass fwdCtx to conntrack
There are dependencies in Contrack module such as NAT and fragmentation on
OvsForwardingContext. This patch will make OvsForwardingContext public
in order to implement these functionalities.
Signed-off-by: Yin Lin <linyi@vmware.com>
Acked-by: Alin Serdean <aserdean@cloudbasesolutions.com>
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Diffstat (limited to 'datapath-windows/ovsext/Conntrack.c')
-rw-r--r-- | datapath-windows/ovsext/Conntrack.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/datapath-windows/ovsext/Conntrack.c b/datapath-windows/ovsext/Conntrack.c index 35ab7a153..8658910c1 100644 --- a/datapath-windows/ovsext/Conntrack.c +++ b/datapath-windows/ovsext/Conntrack.c @@ -710,8 +710,7 @@ OvsCtExecute_(PNET_BUFFER_LIST curNbl, *--------------------------------------------------------------------------- */ NDIS_STATUS -OvsExecuteConntrackAction(PNET_BUFFER_LIST curNbl, - OVS_PACKET_HDR_INFO *layers, +OvsExecuteConntrackAction(OvsForwardingContext *fwdCtx, OvsFlowKey *key, const PNL_ATTR a) { @@ -722,6 +721,8 @@ OvsExecuteConntrackAction(PNET_BUFFER_LIST curNbl, MD_MARK *mark = NULL; MD_LABELS *labels = NULL; PCHAR helper = NULL; + PNET_BUFFER_LIST curNbl = fwdCtx->curNbl; + OVS_PACKET_HDR_INFO *layers = &fwdCtx->layers; NDIS_STATUS status; |