How to bind WDK 7600 passthru to a MS Loopback Adapter? RRS feed

  • Question

  • Hi, i'm working on a NAT-like driver for windows xp-7. I found my passthru couldn't bind the MS Loopback Adapter in the PtBindAdapter function. Also the VMware's VMnet virtual adapter couldn't been binded either. Someone say that there's something to do with the netsf.inf's lines as follows:

    HKR, Ndi,            FilterClass,         , failover
    HKR, Ndi,            FilterDeviceInfId,   , ms_passthrump
    HKR, Ndi,            Service,             , Passthru
    HKR, Ndi\Interfaces, UpperRange,          , noupper
    HKR, Ndi\Interfaces, LowerRange,          , nolower
    HKR, Ndi\Interfaces, FilterMediaTypes,    , "ethernet, tokenring, fddi, wan"

    but I don't know how to modify it? I tried to add "loopback" to the FilterMediaTypes, but just found it's not the correct way.. So how to bind the MS Loopback Adapter and VMNet Adapter?

    Tuesday, March 12, 2013 3:15 AM