Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 2002 12:53:04 -0700
From:      "Sam Leffler" <sam@errno.com>
To:        "Archie Cobbs" <archie@dellroad.org>, "Luigi Rizzo" <rizzo@icir.org>
Cc:        <freebsd-net@FreeBSD.ORG>
Subject:   Re: Transmitting packets when not IFF_UP
Message-ID:  <09c401c1f793$22c6c670$52557f42@errno.com>
References:  <200205091652.g49Gqs102639@arch20m.dellroad.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> > This said, do you have any reference or docs on the exact meaning
> > of the various IFF_* flags, so we can give a sweep at the code
> > and try to make things consistent and possibly centralised --
> > e.g. should we move the check for IFF_UP|IFF_RUNNING to  IF_ENQUEUE
> > (or whatever it is called in -current) so we do not need to bother
> > in the drivers ?
>
> No-- I've always wondered about that, e.g., the difference between
> IFF_UP and IFF_RUNNING...

Originally IFF_RUNNING meant the underlying hardware was setup and ready to
go (probe+config had completed successfully).  IFF_UP meant the network
interface was fully configured and ready for packets.  I don't recall if
IFF_UP => IFF_RUNNING.

    Sam


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?09c401c1f793$22c6c670$52557f42>