datapath-windows/ovsext/User.c
/*
 * --------------------------------------------------------------------------
 * Handler for queueing an IRP used for missed packet notification. The IRP is
 * completed when a packet received and mismatched. STATUS_PENDING is returned
 * on success. User mode keep a pending IRP at all times.
 * --------------------------------------------------------------------------
 */
Handler for queueing an IRP used for missed packet notification. The IRP is
completed when a packet received and mismatched. STATUS_PENDING is returned
on success. User mode keep a pending IRP at all times.
Handler for queueing an IRP used for missed packet notification . The IRP is completed when a packet received and mismatched . STATUS_PENDING is returned on success . User mode keep a pending IRP at all times .
NTSTATUS
OvsPendPacketCmdHandler(POVS_USER_PARAMS_CONTEXT usrParamsCtx,
                       UINT32 *replyLen)
{
    UNREFERENCED_PARAMETER(replyLen);
    POVS_OPEN_INSTANCE instance =
        (POVS_OPEN_INSTANCE)usrParamsCtx->ovsInstance;
    return OvsWaitDpIoctl(usrParamsCtx->irp, instance->fileObject);
}
NTSTATUS OvsPendPacketCmdHandler ( POVS_USER_PARAMS_CONTEXT usrParamsCtx , UINT32 * replyLen ) { UNREFERENCED_PARAMETER ( replyLen ) ; POVS_OPEN_INSTANCE instance = ( POVS_OPEN_INSTANCE ) usrParamsCtx -> ovsInstance ; return OvsWaitDpIoctl ( usrParamsCtx -> irp , instance -> fileObject ) ; }
Handler for queueing an IRP used for missed packet notification.
Handler for queueing an IRP used for missed packet notification .
/*
     * XXX access to packet queue must be through acquiring a lock as user mode
     * could unsubscribe and the instnace will be freed.
     */