hidden hit counter
Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Help required on modifing NDIS Packet

 
   Soft32 Home -> Windows -> Device Driver RSS
Next:  windows mail contacts gone  
Author Message
Aimslife

External


Since: Jun 05, 2009
Posts: 1



(Msg. 1) Posted: Fri Jun 05, 2009 3:20 am
Post subject: Help required on modifing NDIS Packet
Archived from groups: microsoft>public>windowsxp>device_driver>dev (more info?)

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
Back to top
Login to vote
Display posts from previous:   
Related Topics:
WinUSB help needed - setup packet with non-zero length. - Hello, I'm trying to use the WinUSB driver to talk to our device that simply has bulk in/out endpoints. The problem..

How to find out how much Power (electric current) Device c.. - Hi, please can someone have a look at this question:..

enable VGA monitor in Windows XP - I disbled the VGA and now the monitor does not work the XP logo shows up on reboot but then the screen goes black, the...

newbie's question - C:\test>build -WXP XmlLog::File::CopyXslFile(): Unable to copy the XML Style Sheet. C:\WinDDK\600 bin\x86\build.xsl ...

NDAS Scsi Controller driver problem, leads to blue screen... - Up until recently, my pc (PC1) accessed my network drive correctly along with 2 other pc's on my home network... Driv...

Compability issues - Hello, I always have to suppress the warning C2220 no 'object' file generated. I wonder if this is a compability issue...
       Soft32 Home -> Windows -> Device Driver All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
  Windows
 Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]