Skip to Content
OS X and iOS Kernel Programming
book

OS X and iOS Kernel Programming

by Ole Henry Halvorsen, Douglas Clarke
December 2011
Intermediate to advanced
485 pages
15h 47m
English
Apress
Content preview from OS X and iOS Kernel Programming

Summary

In this chapter, we have looked at the kernel network filtering KPIs as well as how to implement a driver for an Ethernet controller. Some key points are as follows:

  • The kernel network support is split into two parts: the BSD layer that implements support for all protocols and network services such as firewalls, and the I/O Kit, which provides facilities for writing drivers for network hardware.
  • The kernel filtering KPI allows one to filter and manipulate network packets at various levels, including the socket, IP, and interface levels.
  • The most important data-structure of the kernel network subsystem is the mbuf structure used to store network packets or other related data. In kernel extensions, mbufs can be manipulated using the opaque ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux Kernel Programming - Second Edition

Linux Kernel Programming - Second Edition

Kaiwan N. Billimoria
Linux Kernel Programming

Linux Kernel Programming

Kaiwan N. Billimoria

Publisher Resources

ISBN: 9781430235361Purchase book