Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2001 15:49:47 +0200
From:      =?ISO-8859-1?Q?M=E5rten_Wikstr=F6m?= <marten.wikstrom@erda.se>
To:        "'vishwanath pargaonkar '" <vishubp@yahoo.com>
Cc:        "'freebsd-hackers@FreeBSD.ORG '" <freebsd-hackers@FreeBSD.ORG>
Subject:   RE: interface flags
Message-ID:  <E6D22E487D45D411931B00508BCF93E75C038C@storeg001.framfab.se>

next in thread | raw e-mail | index | archive | help
As it says in sys/net/if.h, IFF_RUNNING means "resources allocated" and
IFF_UP means "interface is up". As I interpret this, the difference is =
that
IFF_RUNNING is set when the interface is initialised and indicates that =
it
is ready to be used. IFF_UP on the other hand is set by the user to =
indicate
whether this interface is enabled or not. I.e. IFF_RUNNING set by =
system,
IFF_UP set by user. This however, doesn't seem to be the case in all =
drivers
though. I would be very pleased if someone could clarify the issue =
further.

Please correct me if I'm totally wrong!

regards

M=E5rten Wikstr=F6m

-----Original Message-----
From: vishwanath pargaonkar
To: freebsd-net@FreeBSD.ORG
Cc: freebsd-hackers@FreeBSD.ORG
Sent: 5/22/01 8:52 AM
Subject: interface flags

Hi,
i have freebsd 4.2 stable.
what is difference between interface flags IFF_UP and
IFF_RUNNING?=20

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




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