Date: Wed, 3 Jul 1996 14:31:44 -0800 (PST) From: "K.V.S. Sankaram" <kasturi@teil.soft.net> To: questions@FreeBSD.org Message-ID: <Pine.SGI.3.93.960703142120.836A-100000@teil.soft.net>
next in thread | raw e-mail | index | archive | help
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 ?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.3.93.960703142120.836A-100000>