Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2001 14:12:18 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        =?iso-8859-1?q?vishwanath=20pargaonkar?= <vishubp@yahoo.com>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   interface flags
Message-ID:  <200105221812.OAA20157@khavrinen.lcs.mit.edu>
In-Reply-To: <20010522065244.10710.qmail@web5302.mail.yahoo.com>
References:  <20010522065244.10710.qmail@web5302.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Tue, 22 May 2001 07:52:44 +0100 (BST), =?iso-8859-1?q?vishwanath=20pargaonkar?= <vishubp@yahoo.com> said:

> i have freebsd 4.2 stable.
> what is difference between interface flags IFF_UP and
> IFF_RUNNING? 

IFF_UP indicates that the interface is administratively configured up.
IFF_RUNNING indicates that the hardware has been set to an operational
state.  For Ethernet-like interfaces, which often do not provide a
direct link-ready indication to software, IFF_RUNNING is usually not
meaningful.  (In true historic Ethernets, there was no way for even
the hardware to know whether its transceiver was connected to a
network or not.)

-GAWollman


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?200105221812.OAA20157>