IOCTL_NDISRD_ADAPTER_QUEUE_SIZE
This IOCTL returns
current packets queue size for the given adapter.
| Input
Buffer
|
Adapter
handle value
|
| Input Buffer
Size
|
4
|
| Output Buffer
|
Number of packets in
the adapters queue
|
| Output Buffer
Size
|
4
|
Remarks:
This control code is
useful if you need to realize sort of flood attack protection in
your WinpkFilter application, e.g. if adapter packet queue grows
above some critical limit (under flood attack an example)
then use IOCTL_NDISRD_FLUSH_ADAPTER_QUEUE in order to prevent
filter driver packet buffer starving.
|