kern/72468: OS does not know how to handle broadcast...
Robert Watson
rwatson at FreeBSD.org
Mon Jan 3 19:00:52 GMT 2005
The following reply was made to PR kern/72468; it has been noted by GNATS.
From: Robert Watson <rwatson at FreeBSD.org>
To: freebsd-gnats-submit at FreeBSD.org
Cc:
Subject: Re: kern/72468: OS does not know how to handle broadcast...
Date: Mon, 3 Jan 2005 18:48:37 +0000 (GMT)
On Sun, 24 Oct 2004, Mark Linimon wrote:
> Synopsis: OS does not know how to handle broadcast...
>
> Responsible-Changed-From-To: freebsd-i386->freebsd-bugs
> Responsible-Changed-By: linimon
> Responsible-Changed-When: Sun Oct 24 00:20:47 GMT 2004
> Responsible-Changed-Why:
> This does not sound i386-specific.
The submitter may be interested in the following socket option documented
in ip(4);
If the IP_ONESBCAST option is enabled on a SOCK_DGRAM or a SOCK_RAW
socket, the destination address of outgoing broadcast datagrams on that
socket will be forced to the undirected broadcast address,
INADDR_BROADCAST, before transmission. This is in contrast to the
default behavior of the system, which is to transmit undirected broad-
casts via the first network interface with the IFF_BROADCAST flag set.
Sample code is present in the ip(4) man page.
Robert N M Watson
More information about the freebsd-bugs
mailing list