datapath-windows/ovsext/User.c
/*
 * ---------------------------------------------------------------------------
 * Given a pid, returns the corresponding USER_PACKET_QUEUE.
 * ---------------------------------------------------------------------------
 */
Given a pid, returns the corresponding USER_PACKET_QUEUE.
Given a pid returns the corresponding USER_PACKET_QUEUE .
POVS_USER_PACKET_QUEUE
OvsGetQueue(UINT32 pid)
{
    POVS_OPEN_INSTANCE instance;
    POVS_USER_PACKET_QUEUE ret = NULL;
    instance = OvsGetPidInstance(gOvsSwitchContext, pid);
    if (instance) {
        ret = instance->packetQueue;
    }
    return ret;
}
POVS_USER_PACKET_QUEUE OvsGetQueue ( UINT32 pid ) { POVS_OPEN_INSTANCE instance ; POVS_USER_PACKET_QUEUE ret = NULL ; instance = OvsGetPidInstance ( gOvsSwitchContext , pid ) ; if ( instance ) { ret = instance -> packetQueue ; } return ret ; }
Given a pid, returns the corresponding USER_PACKET_QUEUE.
Given a pid returns the corresponding USER_PACKET_QUEUE .