On Feb 17, 2012, at 5:53 AM, Gleb Smirnoff wrote: > M> Thoughts, feedback and suggestion are welcome, > > Is it possible to make the structure the driver points to opaque? > > Once made, that would allow us to hack on the ifnet (or on its > successor - iflogical) more aggressively without breaking ABI/API.
Yes, that's the idea. Backward compatibility kinda conflicts with making struct ifnet entirely abstract, but I don't see that as a problem without solution. Only as a problem for which an acceptable solution must be found. For example: you can introduce a define that either old or new drivers use to indicate whether they need full visibility or whether an abstract type works. This then drives what is defined/declared and how it's defined/declared. -- Marcel Moolenaar mar...@xcllnt.net _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"