Hi,
I am trying to modify NDIS packet. I am using NDIS5.1 with Windows XP. I
want to intercept packet on gateway, do some modification (after
modification packet size will increase) and release it for destination.
Following steps, I am doing for packet modification.
1. Query NDIS Packet.
2. Get virtual address (packet)
3. Copy virtual address (packet) on other memory location.
4. Modification in packet (packet size will become 186 to 192)
5. Re-Initialize packet
6. Allocate buffer for packet
7. Chain new allocated buffer at front of packet
8. Release the packet
I am doing all these activity in "PtReceivePacket" function and "NDIS
Passthru" example. Will I need to allocate new packet for new allocated
buffer? Or What I am missing for packet modification and sending?
Regards,
-aimslife