This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001508] Add freebsd CDL option to allow broadcast packets tobe sent to 255.255.255.255


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001508

Jonathan Larmour <jifl@ecoscentric.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jifl@ecoscentric.com
         AssignedTo|unassigned@bugs.ecos.source |jifl@ecoscentric.com
                   |ware.org                    |

--- Comment #3 from Jonathan Larmour <jifl@ecoscentric.com> 2012-03-03 04:12:25 GMT ---
There's nothing wrong with the patch in principle, but the description of the
CDL option, while accurate, could be clarified. In fact what you wrote in the
first and last paragraphs of comment #0 is quite clear. So how about something
like:

            In line with other IP stack implementations, the BSD network stack
            has historically converted packets sent to the INADDR_BROADCAST
            destination addresses (255.255.255.255) into a more specific
            directed broadcast address according to the address configuration
of
            the primary network interface. For example if your network
interface
            is configured as 192.168.100.33/24 and you send a UDP broadcast
            packet to 255.255.255.255, it will actually be sent with a
            destination IP address of 192.168.100.255. Over time, this behavior
            has been criticized for various reasons.  The primary reason is
that
            it becomes impossible to send UDP packets to 255.255.255.255 once
the
            primary network (broadcast) interface is configured with address
            information. For this reason, it is possible to disable this
behavior
            with this option so that packets will be sent explicitly to
            INADDR_BROADCAST when that destination address is specified."

Something along those lines would be fine by me anyway. If you're happy with
that, then go ahead and check it in with that text.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]