From owner-freebsd-stable Tue Jan 29 9: 3:31 2002 Delivered-To: freebsd-stable@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 6CD0A37B419 for ; Tue, 29 Jan 2002 09:03:24 -0800 (PST) Received: from bmah.dyndns.org ([12.233.149.189]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020129170324.QALE10199.rwcrmhc53.attbi.com@bmah.dyndns.org>; Tue, 29 Jan 2002 17:03:24 +0000 Received: (from bmah@localhost) by bmah.dyndns.org (8.11.6/8.11.6) id g0TH3N005433; Tue, 29 Jan 2002 09:03:23 -0800 (PST) (envelope-from bmah) Message-Id: <200201291703.g0TH3N005433@bmah.dyndns.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Andrey Lakhno Cc: stable@FreeBSD.ORG Subject: Re: NIC capabilities In-reply-to: <20020129112617.A41999@gx.dnepr.net> References: <20020129112617.A41999@gx.dnepr.net> Comments: In-reply-to Andrey Lakhno message dated "Tue, 29 Jan 2002 11:26:18 +0200." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 29 Jan 2002 09:03:23 -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG If memory serves me right, Andrey Lakhno wrote: > I'v found in relnotes for FreeBSD 4.5 the following: > ---8<--- > The per-interface ifnet structure now has the ability to indicate a set of > capabilities supported by a network interface, and which ones are enabled. > ifconfig(8) has support for querying these capabilities. > ---8<--- > > But ifconfig(8) do not have any references how to query these capabilities. Maybe I should have just written that ifconfig(8) automatically displays the set of capabilities supported by an interface. If you have any of these capabilities (such as transmit/receive hardware checksum assist), you'll get a line that begins with "options=" when you use ifconfig to check the current configuration/state of an interface. See the line right below the flags: constellation:bmah% ifconfig xl0 xl0: flags=8843 mtu 1500 options=3 inet6 fe80::200:86ff:fe4b:4bee%xl0 prefixlen 64 scopeid 0x1 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 ether 00:00:86:4b:4b:ee media: Ethernet autoselect (none) status: no carrier Bruce. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message