Capture packets in immediate mode

    API is used to set immediate mode.