summaryrefslogtreecommitdiff
path: root/datapath-windows/ovsext/Event.h
diff options
context:
space:
mode:
authorSairam Venugopal <vsairam@vmware.com>2016-07-25 17:04:37 -0700
committerGurucharan Shetty <guru@ovn.org>2016-07-29 08:36:33 -0700
commitb90984c46a8686edd41ec53601df587f84fbe772 (patch)
treef69138bdc010315902994ffd0ad78a406748a3a7 /datapath-windows/ovsext/Event.h
parent49d7c759b82e78acd03288c123b1bc0c8904a52b (diff)
downloadopenvswitch-b90984c46a8686edd41ec53601df587f84fbe772.tar.gz
datapath-windows: Explicitly name vport related event to vportEvent
OVS_EVENT_ENTRY currently handles only Vport related events. Updating the name of the struct to OVS_VPORT_EVENT_ENTRY. Remove OVS_EVENT_STATUS since it's currently not in use. Update the datapath to refer to events as vportEvents. This will aid in the introduction of other events. Signed-off-by: Sairam Venugopal <vsairam@vmware.com> Acked-By: Yin Lin <linyi@vmware.com> Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Acked-By: Yin Lin <linyi@vmware.com> Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Diffstat (limited to 'datapath-windows/ovsext/Event.h')
-rw-r--r--datapath-windows/ovsext/Event.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/datapath-windows/ovsext/Event.h b/datapath-windows/ovsext/Event.h
index b087875a3..255594cf7 100644
--- a/datapath-windows/ovsext/Event.h
+++ b/datapath-windows/ovsext/Event.h
@@ -19,7 +19,7 @@
typedef struct _OVS_EVENT_QUEUE_ELEM {
LIST_ENTRY link;
- OVS_EVENT_ENTRY event;
+ OVS_VPORT_EVENT_ENTRY vportEvent;
} OVS_EVENT_QUEUE_ELEM, *POVS_EVENT_QUEUE_ELEM;
typedef struct _OVS_EVENT_QUEUE {
@@ -38,7 +38,7 @@ VOID OvsCleanupEventQueue(VOID);
struct _OVS_OPEN_INSTANCE;
VOID OvsCleanupEvent(struct _OVS_OPEN_INSTANCE *instance);
-VOID OvsPostEvent(POVS_EVENT_ENTRY event);
+VOID OvsPostVportEvent(POVS_VPORT_EVENT_ENTRY event);
NTSTATUS OvsSubscribeEventIoctl(PFILE_OBJECT fileObject, PVOID inputBuffer,
UINT32 inputLength);
NTSTATUS OvsPollEventIoctl(PFILE_OBJECT fileObject, PVOID inputBuffer,
@@ -46,6 +46,7 @@ NTSTATUS OvsPollEventIoctl(PFILE_OBJECT fileObject, PVOID inputBuffer,
UINT32 outputLength, UINT32 *replyLen);
NTSTATUS OvsWaitEventIoctl(PIRP irp, PFILE_OBJECT fileObject,
PVOID inputBuffer, UINT32 inputLength);
-NTSTATUS OvsRemoveEventEntry(PVOID instance, POVS_EVENT_ENTRY entry);
+NTSTATUS OvsRemoveVportEventEntry(POVS_OPEN_INSTANCE instance,
+ POVS_VPORT_EVENT_ENTRY entry);
#endif /* __EVENT_H_ */