ip.4 (dce33a45c969b1842bccbb568914de039cd186f1) ip.4 (6b35d82c342b1d49316ae43e7277fc8717a93288)
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 210 unchanged lines hidden (view full) ---

219and a local port, and the address supplied with
220.Dv IP_SENDSRCADDR
221should't be
222.Dv INADDR_ANY ,
223or the socket should be bound to a local address and the address supplied with
224.Dv IP_SENDSRCADDR
225should be
226.Dv INADDR_ANY .
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 210 unchanged lines hidden (view full) ---

219and a local port, and the address supplied with
220.Dv IP_SENDSRCADDR
221should't be
222.Dv INADDR_ANY ,
223or the socket should be bound to a local address and the address supplied with
224.Dv IP_SENDSRCADDR
225should be
226.Dv INADDR_ANY .
227In the latter case bound address is overriden via generic source address
227In the latter case bound address is overridden via generic source address
228selection logic, which would choose IP address of interface closest to
229destination.
230.Pp
231For convenience,
232.Dv IP_SENDSRCADDR
233is defined to have the same value as
234.Dv IP_RECVDSTADDR ,
235so the

--- 699 unchanged lines hidden ---
228selection logic, which would choose IP address of interface closest to
229destination.
230.Pp
231For convenience,
232.Dv IP_SENDSRCADDR
233is defined to have the same value as
234.Dv IP_RECVDSTADDR ,
235so the

--- 699 unchanged lines hidden ---