Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2000 15:59:18 +0100 (CET)
From:      Andreas Haakh <ah@haakh.de>
To:        Gary Jennejohn <garyj@muc.de>
Cc:        freebsd-isdn@FreeBSD.ORG
Subject:   Re: isp0 up and running but not working
Message-ID:  <Pine.BSF.4.21.0003191534120.696-100000@alvman.RoBIN.de>
In-Reply-To: <200003191234.NAA00568@peedub.muc.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 19 Mar 2000, Gary Jennejohn wrote:

> With this patch (against the latest developers release, but it should be
> easy to apply it by hand against older releases) the first few queued
> packets no longer get lost. This is obvious from the following tcpdump
> info:
>
> [...] Debug removed 
> 
> the pings make it out and the peer answers them. Prior to this patch
> the first packets got lost.
> 
> Note this includes the ETIMEDOUT change from Andreas Haakh.
>
> [...] Patch removed

Great! this solves quite some of the problems...

Nevertheless, looking at the changes I assume (I can't test it because I
use dynamic IP-addresses) that, if you start the connection using "real"
TCP/IP packets, they still will be lost because the packets will be
delayed until IPCP_UP is reached but as the interface is not yet running
(IFF_RUNNING is not set), the peer will probably ignore them??
I thing You still need something like /*!!!*/ to delay the transfer.

         * Do always serve all three queues in Cisco mode.
         */
        IF_DEQUEUE(&sp->pp_cpq, m);
        if (m == NULL &&
            ((sppp_ncp_check(sp) && (sp->ipcp.flags & IPCP_UP))
            || sp->pp_mode == IFF_CISCO)) {
                IF_DEQUEUE(&sp->pp_fastq, m);
                if (m == NULL && ((ifp->if_flags & IFF_RUNNING)	/*!!!*/
		     || sp->pp_mode == IFF_CISCO)) 		/*!!!*/
                        IF_DEQUEUE (&sp->pp_if.if_snd, m);
        }


Andreas
--
Ingenieurbüro für Baustatik *  Dipl.-Ing. Andreas Haakh
Mollerstraße 7  *  64289 Darmstadt  *  Andreas@Haakh.de
Tel. 06151-788361 Fax. 06151-788362 Mobil 0173-361.6884



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003191534120.696-100000>