BPF on Solaris?
David W. Hankins
David_Hankins at isc.org
Tue Sep 13 19:07:47 UTC 2005
On Tue, Sep 13, 2005 at 08:51:51AM -0700, Ted Lemon wrote:
> The reason that DLPI is used on Solaris is that when the work was
> done, there was no BPF support on Solaris. If there is now BPF
> support on Solaris, it might well be preferable to use that, although
> in fact it would be better to just write some code to do interface
> binding (similar to Linux SO_BINDTODEVICE), which is now supported in
> Solaris and goes through the regular BSD stack, meaning that you
> don't have to understand the raw packet framing to make it work.
There's been recent discussion about Windows client and DHCP server
interaction on the dhcp-server mailing list.
Unless you're aware of some way that a BSD socket can determine if
the packet it just read off the socket was unicast or broadcast, I
don't think stepping away from BPF/DLPI is a wise move just yet.
--
David W. Hankins "If you don't do it right the first time,
Software Engineer you'll just have to do it again."
Internet Systems Consortium, Inc. -- Jack T. Hankins
More information about the dhcp-hackers
mailing list