From owner-cvs-all Wed Oct 17 13: 8:19 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B23B837B403; Wed, 17 Oct 2001 13:08:15 -0700 (PDT) Received: (from jlemon@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9HK8FI87597; Wed, 17 Oct 2001 13:08:15 -0700 (PDT) (envelope-from jlemon) Message-Id: <200110172008.f9HK8FI87597@freefall.freebsd.org> From: Jonathan Lemon Date: Wed, 17 Oct 2001 13:08:15 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/net ifname.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jlemon 2001/10/17 13:08:15 PDT Modified files: lib/libc/net ifname.c Log: Use the new SIOCGIFINDEX ioctl to efficiently map a name to an index. If the syscall fails, fall back on the old method as a compatability measure. Revision Changes Path 1.2 +22 -2 src/lib/libc/net/ifname.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message