X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Wed, 24 Nov 2010 09:37:38 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: ioctl() on socket fd's take 3 seconds on 1.7.7
Message-ID: <20101124083738.GE18309@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <ibb083$e9c$1@dough.gmane.org> <20101115162242.GF17405@calimero.vinschen.de> <4CE8046F.2090106@arcor.de> <20101122131729.GT18309@calimero.vinschen.de> <icejqh$3e3$1@dough.gmane.org> <20101123101856.GA18309@calimero.vinschen.de> <loom.20101123T145505-409@post.gmane.org> <20101123153850.GC18309@calimero.vinschen.de> <ich7l5$hu5$1@dough.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <ich7l5$hu5$1@dough.gmane.org>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Nov 23 21:19, Jason Curl wrote:
> On 23/11/2010 16:38, Corinna Vinschen wrote:
> >  I applied a patch so that IFF_NOARP is
> >only set for PPP and SLIP devices, so the call to SendARP is gone.
> >Please test CVS or the next developer snapshot.
> >
> I tried to understand what this flag is for. As far as I can
> understand, windows will always reply to ARP requests. There's a
> registry entry for "gratuitous arp". So doesn't that imply IFF_NOARP
> will be set for all interfaces?

You mean, it should *not* be set for all interface, don't you?

PPP and SLIP interfaces usually don't do ARP, so I just set the
flag for them unconditionally.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

