HTS IpHook

 

 

Here's what the W2K DDK gives you as a source code sample:

Windows 2000 DDK Network Drivers Part 5 Hook Drivers

If this leaves you wishing that you had a little bit more information, read the release notes and then try downloading the sample application.