From owner-freebsd-hackers Fri May 28 1:19:29 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from chouette.inria.fr (chouette.inria.fr [138.96.24.103]) by hub.freebsd.org (Postfix) with ESMTP id 770EB14BEE for ; Fri, 28 May 1999 01:19:26 -0700 (PDT) (envelope-from Emmanuel.Duros@sophia.inria.fr) Received: by chouette.inria.fr (8.8.8/8.8.5) id KAA07537; Fri, 28 May 1999 10:19:24 +0200 (MET DST) Date: Fri, 28 May 1999 10:19:24 +0200 (MET DST) Message-Id: <199905280819.KAA07537@chouette.inria.fr> From: Emmanuel Duros To: freebsd-hackers@freebsd.org Subject: FreeBSD 3.2 - new ifnet structure X-URL: http://www.inria.fr/rodeo/personnel/eduros Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The last FreeBSD release provides a new ifnet structure different from the one in 2.x-R. In 2.x-R we can have this code: { struct ifnet *ifp = ifnet; /* go through the ifnet list */ for ( ifp = ifnet; ifp; ifp = ifp->if_next) ... } What is it in 3.x-R assuming that the global variable ifnet is a 'struc ifnethead' and there is not if_next member ? BTW, I have not found the definition of the ifnethead structure, in what file is it ? Thanks Emmanuel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message