Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!news.vbc.net!garlic.com!news.scruz.net!kithrup.com!news.Stanford.EDU!agate!theos.com!riscan.riscan.com!van.istar!ott.istar!istar.net!winternet.com!nntp.primenet.com!news.cais.net!news.mathworks.com!news2.mathworks.com!newscaster-1.mcast.net!cs.tu-berlin.de!uni-erlangen.de!news.tu-chemnitz.de!irz401!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Help on SIOCGARP Date: 4 Jun 1996 21:05:47 GMT Organization: Private BSD site, Dresden Lines: 16 Message-ID: <4p28fb$n21@uriah.heep.sax.de> References: <4oolqi$gk4@curlyjoe.spacestar.net> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.6 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E vijay@news.spacestar.com (yadlapati Vijay N.) wrote: > I was trying to port a program to FreeBSD and having problem with SIOCGARP > in ioctl. Is SIOCGARP supported in FreeBSD. If not, is there any other way > to get arp table entry?. Thanks in advance. If i read arp(4) correctly, this is done via the routing socket. It's perhaps best to look at the implementation of arp(8) in /usr/src/usr.sbin/arp/arp.c. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)