Hi to all! i have a problem: i must create a driver (starting from
passthruex part 2 sample) that adds a delay to some packets (in
function of their src and dst port).
i know only these two functions:
KeWaitForSingleObject
KeDelayExecutionThread
that run only at irq level = passive_level...
So functions in passthruex run at dispatch_level so i can use them
because system crash.
My idea is to buffer packets that i must delay in a some kind of
structur and give anyway the succes response, like the packet was
sent..then i deliver packets in the buffer after the delay wanted...
can it works? the problem is that i don t know how to call a
passive_level function from a driver function...
thanks!
--
ingtabby
------------------------------------------------------------------------
Posted via
http://www.codecomments.com
------------------------------------------------------------------------