Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jul 1996 22:59:39 +0100
From:      "Gary Palmer" <gpalmer@FreeBSD.ORG>
To:        "K.V.S. Sankaram" <kasturi@teil.soft.net>
Cc:        questions@FreeBSD.ORG
Message-ID:  <11209.836431179@palmer.demon.co.uk>
In-Reply-To: Your message of "Wed, 03 Jul 1996 14:31:44 -0800." <Pine.SGI.3.93.960703142120.836A-100000@teil.soft.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
"K.V.S. Sankaram" wrote in message ID
<Pine.SGI.3.93.960703142120.836A-100000@teil.soft.net>:
> 	
> 	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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11209.836431179>