Re: UDP sockets bound to ANY send answers with wrong src ip address
From: Herbert Xu (herbert_at_gondor.apana.org.au)
Date: 06/11/04
- Previous message: Karsten Keil: "Tigerjet 320 chipset fix"
- In reply to: Denis Vlasenko: "Re: UDP sockets bound to ANY send answers with wrong src ip address"
- Next in thread: Denis Vlasenko: "Re: UDP sockets bound to ANY send answers with wrong src ip address"
- Reply: Denis Vlasenko: "Re: UDP sockets bound to ANY send answers with wrong src ip address"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: vda@port.imtp.ilyichevsk.odessa.ua (Denis Vlasenko) Date: Fri, 11 Jun 2004 20:34:18 +1000
Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua> 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@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Karsten Keil: "Tigerjet 320 chipset fix"
- In reply to: Denis Vlasenko: "Re: UDP sockets bound to ANY send answers with wrong src ip address"
- Next in thread: Denis Vlasenko: "Re: UDP sockets bound to ANY send answers with wrong src ip address"
- Reply: Denis Vlasenko: "Re: UDP sockets bound to ANY send answers with wrong src ip address"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|