Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!omni!bob From: bob@omni.com (Bob Weissman) Newsgroups: comp.unix.questions Subject: Re: How do I find out my Ethernet address? Summary: Does only SunOS have ether_hostton()? Message-ID: <2145@borabora.omni.com> Date: 4 May 90 17:51:38 GMT References: <1606@dinl.mmc.UUCP> <2561@syma.sussex.ac.uk> <5197@helios.TAMU.EDU> <7973@jpl-devvax.JPL.NASA.GOV> Organization: OMNI Solutions, Mountain View, CA Lines: 24 Hmm, SunOS 4.0.3 provides the helpful functions ether_hostton(hostname, e) char *hostname; struct ether_addr *e; ether_ntohost(hostname, e) char *hostname; struct ether_addr *e; where netinet/if_ether.h defines struct ether_addr { u_char ether_addr_octet[6]; }; This is described on the ethers(3N) man page. Is SunOS the only flavor of Unix which has this? -- Bob Weissman Internet: bob@omni.com UUCP: ...!{apple,pyramid,sgi,tekbspa,uunet}!omni!bob