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årten Wikström
-----Original Message-----
From: vishwanath pargaonkar
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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?
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message