Reply To: In-kernel IP-IP tunnel driver

Home Forums Discussions General In-kernel IP-IP tunnel driver Reply To: In-kernel IP-IP tunnel driver

#5833
wheelz
Participant

    @SerpentFly wrote:

    You can inject packet using NDIS IM or NDIS hook driver (up to the stack or down to the network interface) but you must know exactly what you are doing (to choose correct network interface and packet indication).

    I know that if using NDIS IM or NDIS hook driver, I have to do a lot more work(such as do routing, choose output interface, determine next hop MAC address, etc.). Of course, I donot want to do that much complexity, 🙂 that is also the reason that I would like to use “DeviceRawIp”, and I also wonder if I could simply call some functions in tcpip.sys (or something similar) to inject a raw packet to the system’s TCP/IP protocol stack. I noticed that there are some exported functions in tcpip.sys, but no documentations for them.

    Thanks