Network Kernel Extensions Programming Guide
PDF
Introduction
Network Kernel Extensions Overview
Memory Buffers, Socket Manipulation, and Socket Input/Output
Working with Memory Buffers
Working with Sockets in the Kernel
For More Information
KEXT Controls and Notifications
Using the Kernel Control API for KEXT Control
Using the kern_event API for Kernel Notifications
Implementing a Preference File for an NKE
Helpful Tips
Socket Filters
Creating a Socket Filter
Socket Filter Example: tcplognke
IP Filters
The Anatomy of an IP Filter
IP Filter Gotchas
Interface Filters
Interface Filter Functions and Callbacks
Common Caveats
Network Interfaces and Protocol Plumbers
Network Interface Callbacks
Installing and Removing Network Interfaces
Protocol Plumbers
Sending Data
Receiving Data
Appendix A: Network Kernel Extensions Reference
Glossary
Revision History