bms 428a375b20 Fix IP_SENDSRCADDR semantics.
* To use this option with a UDP socket, it must be bound to a local port,
   and INADDR_ANY, to disallow possible collisions with existing udp inpcbs
   bound to the same port on other interfaces at send time.

 * If the socket is bound to INADDR_ANY, specifying IP_SENDSRCADDR with
   INADDR_ANY will be rejected as it is ambiguous.

 * If the socket is bound to an address other than INADDR_ANY, specifying
   IP_SENDSRCADDR with INADDR_ANY will be disallowed by in_pcbbind_setup().

Reviewed by:	silence on -net
Tested with:	src/tools/regression/netinet/ipbroadcast
MFC after:	4 days
2007-03-08 15:26:54 +00:00
..
2006-12-15 12:50:06 +00:00
2005-10-21 16:23:01 +00:00
2005-08-26 15:27:18 +00:00
2006-12-04 00:41:48 +00:00
2006-01-21 10:44:34 +00:00
2006-07-06 13:25:01 +00:00
2007-03-04 16:32:19 +00:00
2007-02-12 23:24:31 +00:00
2007-02-12 23:24:31 +00:00
2007-02-12 23:24:31 +00:00
2007-02-12 23:24:31 +00:00
2007-02-12 23:24:31 +00:00
2007-02-12 23:24:31 +00:00
2007-02-12 23:24:31 +00:00
2007-02-12 23:24:31 +00:00
2007-02-12 23:24:31 +00:00
2007-02-12 23:24:31 +00:00
2007-02-12 23:24:31 +00:00
2007-02-12 23:24:31 +00:00
2007-02-12 23:24:31 +00:00
2007-02-12 23:24:31 +00:00
2007-02-12 23:24:31 +00:00
2007-02-12 23:24:31 +00:00
2007-02-12 23:24:31 +00:00
2007-02-12 23:24:31 +00:00
2007-03-08 15:26:54 +00:00