summaryrefslogtreecommitdiff
path: root/datapath-windows/ovsext/TunnelIntf.h
diff options
context:
space:
mode:
authorSorin Vinturis <svinturis@cloudbasesolutions.com>2015-03-24 14:53:11 +0000
committerBen Pfaff <blp@nicira.com>2015-03-24 08:37:27 -0700
commit59a33335dcc5c750b55dbd2a7961e91a816697b7 (patch)
tree21de56c28c876b0906f65401645a488e52f5ca42 /datapath-windows/ovsext/TunnelIntf.h
parent677d9158fc0aa16f875198d83c7bd8f87238aed5 (diff)
downloadopenvswitch-59a33335dcc5c750b55dbd2a7961e91a816697b7.tar.gz
datapath-windows: Updated WFP system provider handling
If the Base Filtering Engine (BFE) is not started, the WFP system provider failed to be added because no session to the engine could be acquired. The solution for this was to registered a BFE notification callback that is called whenever the BFE's state changes. Only if the BFE's state is running the WFP system provider is added. Signed-off-by: Sorin Vinturis <svinturis@cloudbasesolutions.com> Reported-by: Sorin Vinturis <svinturis@cloudbasesolutions.com> Reported-at: https://github.com/openvswitch/ovs-issues/issues/65 Acked-by: Eitan Eliahu <eliahue@vmware.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'datapath-windows/ovsext/TunnelIntf.h')
-rw-r--r--datapath-windows/ovsext/TunnelIntf.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/datapath-windows/ovsext/TunnelIntf.h b/datapath-windows/ovsext/TunnelIntf.h
index b2bba308e..728a53f7f 100644
--- a/datapath-windows/ovsext/TunnelIntf.h
+++ b/datapath-windows/ovsext/TunnelIntf.h
@@ -22,12 +22,8 @@ NTSTATUS OvsTunnelFilterInitialize(PDRIVER_OBJECT driverObject);
VOID OvsTunnelFilterUninitialize(PDRIVER_OBJECT driverObject);
-NTSTATUS OvsTunnelEngineOpen(HANDLE *handle);
+VOID OvsRegisterSystemProvider(PVOID deviceObject);
-VOID OvsTunnelEngineClose(HANDLE *handle);
-
-VOID OvsTunnelAddSystemProvider(HANDLE handle);
-
-VOID OvsTunnelRemoveSystemProvider(HANDLE handle);
+VOID OvsUnregisterSystemProvider();
#endif /* __TUNNEL_INTF_H_ */