User Details
User Details
- User Since
- Feb 24 2019, 9:35 PM (269 w, 4 d)
Sep 6 2021
Sep 6 2021
gnu_freebsd.toad.com added a comment to D19316: IPV4 Experimental address space usage and cleanup of code not using IN_foo.
gnu_freebsd.toad.com added a comment to D31861: Change lowest address on subnet (host 0) not to broadcast by default..
Two comments: RFC 3021 eliminates both the all-ones broadcast address and the all-zeroes broadcast address on an interface when configured as a /31. Is that all-ones address already handled somehow by how ia->ia_broadaddr.sin_addr.s_addr is getting set elsewhere? In both the old and new code, the IN_RFC3021_MASK test is not eliminating the all-ones broadcast address in this function.
Sep 2 2021
Sep 2 2021
Feb 26 2019
Feb 26 2019
gnu_freebsd.toad.com added a comment to D19316: IPV4 Experimental address space usage and cleanup of code not using IN_foo.
In my first pass audit of a search results on IN_CLASS[A-E] the common use cases here are the default calculation of netmasks, 2 minutes ago I would of told you that probably can not go away, but it just hit me, IN_DEFAULTMASKFOR(i) could be written that would incorporate the ancient class rules in a central place and cleaning up some code. Thoughts?
Feb 24 2019
Feb 24 2019