Strange Behavior with IOCTL

Hi,

I ave developed the IPoETH (Ip over Ethernet) driver, which support some DEVCTL for configuration and getting the data.

The problem, I am facin is that when another application calls the IOCTL to the TCP/IP stack, the same IOCTL is also forwarded to the IPoETH driver, where it eventually rejected as this DEVCTL was not supported by the driver.

Now my question is that why the IOCTL call to the TCP/IP stack is being forwarded to the driver also!!

Thanks in advance,

-Dheeraj