From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,dd8d86b27e9c6e76,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-01-12 06:16:49 PST Path: nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!news.mathworks.com!europa.eng.gtefsd.com!howland.reston.ans.net!cs.utexas.edu!uunet!topaz.sensor.com!topaz.sensor.com!ron From: ron@topaz.sensor.com (Ron Natalie) Newsgroups: comp.sys.dec Subject: Re: Q: How to read ethernet address on Alpha OSF1? Date: 12 Jan 1995 14:16:49 GMT Organization: Sensor Systems Distribution: na Message-ID: <3f3dkh$cf2@topaz.sensor.com> References: <3f273d$7tk@linda.teleport.com> NNTP-Posting-Host: localhost.sensor.com X-Newsreader: TIN [version 1.2 PL2] Kurt Bailey (kurtb@teleport.com) wrote: : I've been asked to port a application to a DEC Alpha system running OSF1. : The only machine dependant code I've found is that which reads the : ethernet address as a string. I would be very appreciative if someone : would mail a snippit of C source that does this on OSF1. : Or, a pointer to the appropriate system call and args. Do an SIOCRPHYSADDR ioctl. If you need examples of how to use this, take a peak at the ifconfig source from one of the public BSD sites. -Ron