Driver interface docs

Joerg Sonnenberger joerg at
Mon Nov 15 12:21:42 PST 2004

On Mon, Nov 15, 2004 at 01:42:42PM +0100, Tolmacs Mark wrote:
> To be more precise, I'm interested in the network driver API. While I'm
> googling I found these:
> and of course the man (9).

Important differences:
- if_multiaddrs is a LIST, not a TAILQ
- locking is done using splimp / splx, not mutexes
- ALTQ macros are currently only half-working, this will change in the next
- some additional changes for ALTQified drivers are needed
- vlan is handled differently
- m_devget has a different semantic

That's what I remember off-memory. If you want details or help, just ask.


More information about the Kernel mailing list