Is there a way to find the pkts/buffers that a ndis miniport driver had indicated/given to NDIS d

Discussion in 'Windows Vista Drivers' started by Praveen Kumar Amritaluru, Dec 22, 2006.

  1. Is there a way to find all buffers/pkts that miniport driver had given to
    NDIS driver and its upper layers through NDIS?

    Regds,
     
    Praveen Kumar Amritaluru, Dec 22, 2006
    #1
    1. Advertisements

  2. Praveen Kumar Amritaluru

    Pavel A. Guest

    !ndiskd.findpacket p

    --PA
     
    Pavel A., Dec 24, 2006
    #2
    1. Advertisements

  3. If you have not written the miniport driver yourself, without knowing NDIS
    private structures it is hard to tell.
    However if this is your driver, chances are you have associated all your
    packets with some sort of descriptors in which case you can walk your
    descriptor list and tell which one is in use (indicated up) and which one is
    not.

    -ali
     
    Alireza Dabagh [MS], Dec 26, 2006
    #3
  4. Its for my miniport driver. I can try walking descriptor list..
    But currently I dont have an extension written to do that and hence it will
    be manual and tedious when u got to walk thru a huge list.
    And any bug in storing info in descriptor list for pkts indicated up will
    provide wrong info, though I dont expect this to happen.

    Regds,
     
    Praveen Kumar Amritaluru, Dec 26, 2006
    #4
  5. Unfortunately using NDIS private structures to find indicated packets/NBLs
    from a miniport is not any easier. We may be able to add it to a future
    version of NDISKD extension.

    -ali
     
    Alireza Dabagh [MS], Dec 26, 2006
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.