HomeFreeBSD

Fix the socket option IP_ONESBCAST by giving it its own case in ip_output()

Description

Fix the socket option IP_ONESBCAST by giving it its own case in ip_output()
and skip over the normal IP processing.

Add a supporting function ifa_ifwithbroadaddr() to verify and validate the
supplied subnet broadcast address.

PR: kern/99558
Tested by: Andrey V. Elsukov <bu7cher-at-yandex.ru>
Sponsored by: TCP/IP Optimization Fundraise 2005
MFC after: 3 days

Details

Provenance
Andre Oppermann <andre@FreeBSD.org>Authored on Sep 6 2006, 5:12 PM
Parents
rGe5bec77751c1: Remove leading zeros
Branches
Unknown
Tags
Unknown

Event Timeline