Proposal for changes to network device drivers and network stack (RFC)

Marcel Moolenaar marcel at xcllnt.net
Fri Aug 31 12:17:17 UTC 2012


On Aug 28, 2012, at 10:24 AM, PseudoCylon <moonlightakkiy at yahoo.ca> wrote:

> Wouldn't using prepossessor macro or hooking be more flexible? (Could
> support multiple functionality.)

Macros make it impossible to treat ifnet as an opaque type.
As such, it won't be possible to havr a single pre-compiled
driver that can work with different network stacks.

It's definitely been on our minds to make it possible to
use macros for performance reasons when ABI stability is
not a concern, but wanted to focus on ABI stability first.

FYI,

-- 
Marcel Moolenaar
marcel at xcllnt.net




More information about the freebsd-net mailing list