On Thu, Aug 21, 2003 at 10:35:03PM -0700, Wes Peters wrote:
> Your change makes it so that broadcasts sent to 255.255.255.255 will 
> be transmitted on all interfaces marked with a ONES_BCAST flag, right?

It really is a very simple addition.

It's a protocol-level socket option, so doesn't interfere with the legacy
behaviour unless processes specifically request it, but that's about the gist
of it. It is an identical API to that documented by Stevens in "UNIX Network
Programming" and present in BSD/OS from 4.x onwards.

Ours is slightly more complete in that it will heed the option for a raw
IP socket without IP_HDRINCL. It is less obfuscated due to our delayed
checksumming than the BSD/OS code.

> A nice solution to the problem; I was gonna hack it so such packets
> were sent on all interfaces with IFF_BROADCAST.  I like your solution
> better.  I'm happy to know that will be in 5.2 and I have PR or two
> to assign over to you so you can close them.  ;^)

No problemo. Will do.

BMS
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to