netdev
[Top] [All Lists]

Re: sendmsg ignoring bind?

To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Subject: Re: sendmsg ignoring bind?
From: Wichert Akkerman <wichert@xxxxxxxxx>
Date: Fri, 20 May 2005 15:20:09 +0200
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20050520101749.GA8661@xxxxxxxxxxxxxxxxxxx>
References: <20050520081805.GR25658@xxxxxxxxx> <20050520101749.GA8661@xxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
Previously Herbert Xu wrote:
> This could be a cmsg option that overrode the bind address.  Please
> decode it so that we know what it's doing.

I had to hack strace a bit to decode that. The cmsg option turns out
to be somewhat useless:

cmsg_type=IP_PKTINFO, 
{ifindex=0,ipi_spec_dst=inet_addr("0.0.0.0"),ipi_addr=("0.0.0.0")}}, 
msg_flags=0},

Wichert.

-- 
Wichert Akkerman <wichert@xxxxxxxxx>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.

<Prev in Thread] Current Thread [Next in Thread>