netdev
[Top] [All Lists]

Re: sendmsg ignoring bind?

To: Wichert Akkerman <wichert@xxxxxxxxx>
Subject: Re: sendmsg ignoring bind?
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 20 May 2005 20:17:49 +1000
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20050520081805.GR25658@xxxxxxxxx>
References: <20050520081805.GR25658@xxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
On Fri, May 20, 2005 at 08:18:05AM +0000, Wichert Akkerman wrote:
>
> sendmsg(7, {msg_name(16)={sa_family=AF_INET, sin_port=htons(1812),
>       sin_addr=inet_addr("212.100.254.89")},
>       msg_iov(1)=[{"....", 249}], msg_controllen=24, {cmsg_len=24,
>       cmsg_level=SOL_IP, cmsg_type=, ...}, msg_flags=0}, 0) = 249

This could be a cmsg option that overrode the bind address.  Please
decode it so that we know what it's doing.

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>