| To: | vda@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (Denis Vlasenko) |
|---|---|
| Subject: | Re: UDP sockets bound to ANY send answers with wrong src ip address |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Fri, 11 Jun 2004 20:34:18 +1000 |
| Cc: | yoshfuji@xxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx, davem@xxxxxxxxxx, pekkas@xxxxxxxxxx, jmorris@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx |
| In-reply-to: | <200406111230.35481.vda@port.imtp.ilyichevsk.odessa.ua> |
| Organization: | Core |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | tin/1.7.4-20040225 ("Benbecula") (UNIX) (Linux/2.4.25-1-686-smp (i686)) |
Denis Vlasenko <vda@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote: > > I looked into sendmsg(). Looks like ther is no way to > indicate source ip. > > Shall I use some other technique? IP_PKTINFO works just as well there. Look at the ip_cmsg_send call in udp_sendmsg. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: UDP sockets bound to ANY send answers with wrong src ip address, Denis Vlasenko |
|---|---|
| Next by Date: | Re: TGe (QoS in wireless), Vladimir Kondratiev |
| Previous by Thread: | Re: UDP sockets bound to ANY send answers with wrong src ip address, Denis Vlasenko |
| Next by Thread: | Re: UDP sockets bound to ANY send answers with wrong src ip address, Denis Vlasenko |
| Indexes: | [Date] [Thread] [Top] [All Lists] |