From owner-freebsd-questions Wed Jul 3 02:02:48 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA19947 for questions-outgoing; Wed, 3 Jul 1996 02:02:48 -0700 (PDT) Received: from teil.soft.net (tata_elxsi.soft.net [164.164.10.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id CAA19932 for ; Wed, 3 Jul 1996 02:02:32 -0700 (PDT) Received: from localhost by teil.soft.net via SMTP (920330.SGI/920502.SGI.JF) for questions@FreeBSD.org id AA01026; Wed, 3 Jul 96 14:31:44 -0800 Date: Wed, 3 Jul 1996 14:31:44 -0800 (PST) From: "K.V.S. Sankaram" To: questions@FreeBSD.org Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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 ? In fact, the above mentioned macros(with SS_ prefix, i.e., SS_SIOCGARP, etc.) were found defined in a file: /usr/src/sys/i386/ibcs2/ibcs2_socksys.h When I included the above file and compiled my code it was pointing out error in the include file. Any takers ?