From owner-freebsd-hackers Tue May 22 6:50:16 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from list.framfab.se (list.framfab.se [195.54.96.202]) by hub.freebsd.org (Postfix) with ESMTP id 1FD7037B424 for ; Tue, 22 May 2001 06:50:10 -0700 (PDT) (envelope-from marten.wikstrom@erda.se) Received: from stoent001.framfab.se (mail.sto.framfab.se [157.125.1.71]) by list.framfab.se (8.9.3/8.9.3) with ESMTP id PAA21163; Tue, 22 May 2001 15:41:35 +0200 Received: by stoent001.framfab.se with Internet Mail Service (5.5.2653.19) id ; Tue, 22 May 2001 15:49:50 +0200 Message-ID: From: =?ISO-8859-1?Q?M=E5rten_Wikstr=F6m?= To: "'vishwanath pargaonkar '" Cc: "'freebsd-hackers@FreeBSD.ORG '" Subject: RE: interface flags Date: Tue, 22 May 2001 15:49:47 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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