From owner-freebsd-questions Wed Jul 3 15:01:15 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA29677 for questions-outgoing; Wed, 3 Jul 1996 15:01:15 -0700 (PDT) Received: from palmer.demon.co.uk (palmer.demon.co.uk [158.152.50.150]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA29661 for ; Wed, 3 Jul 1996 15:01:02 -0700 (PDT) Received: from palmer.demon.co.uk (localhost [127.0.0.1]) by palmer.demon.co.uk (sendmail/PALMER-2) with ESMTP id WAA11211; Wed, 3 Jul 1996 22:59:40 +0100 (BST) To: "K.V.S. Sankaram" cc: questions@FreeBSD.ORG From: "Gary Palmer" In-reply-to: Your message of "Wed, 03 Jul 1996 14:31:44 -0800." Date: Wed, 03 Jul 1996 22:59:39 +0100 Message-ID: <11209.836431179@palmer.demon.co.uk> Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk "K.V.S. Sankaram" wrote in message ID : > > The two ioctl() macros SIOCGARP and SIOCSARP are not defined in any of > the include files. How to get the ethernet hardware address without these > macros ? Even Richard Stevens' book avoided mentioning these macros. Is > there any other way to get the hardware address ? The ``arp table'' as such no longer exists in FreeBSD (and other 4.4 lite based systems I believe). You should perhaps look at the source to programs such as `sbin/ifconfig' for clues. Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info